-rw-r--r-- | microkde/kidmanager.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/microkde/kidmanager.cpp b/microkde/kidmanager.cpp index d24a41f..8cf486a 100644 --- a/microkde/kidmanager.cpp +++ b/microkde/kidmanager.cpp @@ -24,3 +24,3 @@ QString KIdManager::setId (const QString& idString,const QString& prof,const QSt } - qDebug("setID:profile:%s*retval:%s*idvalue:%s* ", prof.latin1(), newIDString.latin1() ,idvalue.latin1() ); + //qDebug("setID:profile:%s*retval:%s*idvalue:%s* ", prof.latin1(), newIDString.latin1() ,idvalue.latin1() ); return newIDString; @@ -41,3 +41,3 @@ QString KIdManager::getId (const QString& idString,const QString& prof ) - qDebug("getID:profile:%s*retval:%s*idstring:%s* ", prof.latin1(), idval.latin1() ,idString.latin1() ); + //qDebug("getID:profile:%s*retval:%s*idstring:%s* ", prof.latin1(), idval.latin1() ,idString.latin1() ); return idval; @@ -58,3 +58,3 @@ QString KIdManager::removeId (const QString& idString,const QString& prof ) if ( KIdManager::getNumbers (idString, prof, startProf, startIDnum, startIDnumlen,startID, lenID, startCsum, lenCsum, endall) ) { - newIDString = idString.left(startProf) + idString.mid( endall ); + newIDString = idString.left(startProf) + idString.mid( endall+1 ); } else { @@ -62,3 +62,3 @@ QString KIdManager::removeId (const QString& idString,const QString& prof ) } - qDebug("removeID:profile:%s*retval:%s*oldidstring:%s* ", prof.latin1(), newIDString.latin1() ,idString.latin1() ); + //qDebug("removeID:profile:%s*retval:%s*oldidstring:%s* ", prof.latin1(), newIDString.latin1() ,idString.latin1() ); return newIDString; @@ -82,3 +82,3 @@ QString KIdManager::setCsum (const QString& idString,const QString& prof,const Q } - qDebug("setCsum:profile:%s*retval:%s*idCsum:%s* ", prof.latin1(), newIDString.latin1() ,idCsum.latin1() ); + //qDebug("setCsum:profile:%s*retval:%s*idCsum:%s* ", prof.latin1(), newIDString.latin1() ,idCsum.latin1() ); return newIDString; @@ -99,3 +99,3 @@ QString KIdManager::getCsum (const QString& idString,const QString& prof ) - qDebug("getCsum:profile:%s*retval:%s*idstring:%s* ", prof.latin1(), idval.latin1() ,idString.latin1() ); + //qDebug("getCsum:profile:%s*retval:%s*idstring:%s* ", prof.latin1(), idval.latin1() ,idString.latin1() ); return idval; @@ -131,3 +131,3 @@ bool KIdManager::getNumbers (const QString& idString,const QString& prof, int &s } else { - qDebug("getnumbers: profile not found *%s* ",prof.latin1() ); + //qDebug("getnumbers: profile not found *%s* ",prof.latin1() ); return false; |