-rw-r--r-- | libkdepim/ksyncmanager.cpp | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/libkdepim/ksyncmanager.cpp b/libkdepim/ksyncmanager.cpp index f488a07..3adbf61 100644 --- a/libkdepim/ksyncmanager.cpp +++ b/libkdepim/ksyncmanager.cpp @@ -184,7 +184,7 @@ void KSyncManager::slotClearMenu( int action ) } void KSyncManager::slotSyncMenu( int action ) { - qDebug("syncaction %d ", action); + qDebug("KSM::syncaction %d ", action); if ( action == 5000 ) return; mSyncWithDesktop = false; @@ -292,7 +292,7 @@ void KSyncManager::slotSyncMenu( int action ) mPrefs->mLastSyncedLocalFile = temp->getRemoteFileNamePWM(); break; default: - qDebug("KSyncManager::slotSyncMenu: invalid apptype selected"); + qDebug("KSM::slotSyncMenu: invalid apptype selected"); break; } @@ -440,7 +440,7 @@ void KSyncManager::syncLocalFile() ext = "(*.pwm)"; break; default: - qDebug("KSyncManager::syncLocalFile: invalid apptype selected"); + qDebug("KSM::syncLocalFile: invalid apptype selected"); break; } @@ -449,7 +449,7 @@ void KSyncManager::syncLocalFile() if ( fn == "" ) return; if ( syncWithFile( fn, false ) ) { - qDebug("syncLocalFile() successful "); + qDebug("KSM::syncLocalFile() successful "); } } @@ -498,7 +498,7 @@ void KSyncManager::quickSyncLocalFile() { if ( syncWithFile( mPrefs->mLastSyncedLocalFile, true ) ) { - qDebug("quick syncLocalFile() successful "); + qDebug("KSM::quick syncLocalFile() successful "); } } @@ -569,7 +569,7 @@ int KSyncManager::ringSync() includeInRingSync = temp->getIncludeInRingSyncPWM(); break; default: - qDebug("KSyncManager::ringSync: invalid apptype selected"); + qDebug("KSM::ringSync: invalid apptype selected"); break; } @@ -619,7 +619,7 @@ int KSyncManager::ringSync() mPrefs->mLastSyncedLocalFile = temp->getRemoteFileNamePWM(); break; default: - qDebug("KSyncManager::slotSyncMenu: invalid apptype selected"); + qDebug("KSM: invalid apptype selected"); break; } } else { @@ -706,7 +706,7 @@ void KSyncManager::syncRemote( KSyncProfile* prof, bool ask) localTempFile = prof->getLocalTempFilePWM(); break; default: - qDebug("KSyncManager::syncRemote: invalid apptype selected"); + qDebug("KSM::syncRemote: invalid apptype selected"); break; } @@ -726,7 +726,7 @@ void KSyncManager::syncRemote( KSyncProfile* prof, bool ask) // 0 : okay // 256: no such file or dir // - qDebug("Sync: Remote copy result(0 = okay): %d ",result ); + qDebug("KSM::Sync: Remote copy result(0 = okay): %d ",result ); if ( result != 0 ) { unsigned int len = maxlen; while ( len < preCommand.length() ) { @@ -754,7 +754,7 @@ void KSyncManager::syncRemote( KSyncProfile* prof, bool ask) } mParent->topLevelWidget()->setCaption ( i18n( "Writing back file ..." ) ); result = system ( postCommand ); - qDebug("Sync:Writing back file result: %d ", result); + qDebug("KSM::Sync:Writing back file result: %d ", result); if ( result != 0 ) { mParent->topLevelWidget()->setCaption ( i18n( "Writing back file result: " )+QString::number( result ) ); return; @@ -949,7 +949,7 @@ void KSyncManager::syncKDE() break; default: - qDebug("KSyncManager::slotSyncMenu: invalid apptype selected"); + qDebug("KSM::slotSyncMenu: invalid apptype selected"); break; } @@ -959,7 +959,7 @@ void KSyncManager::syncSharp() { if ( ! syncExternalApplication("sharp") ) - qDebug("ERROR sync sharp "); + qDebug("KSM::ERROR sync sharp "); } bool KSyncManager::syncExternalApplication(QString resource) @@ -973,7 +973,7 @@ bool KSyncManager::syncExternalApplication(QString resource) return false; } - qDebug("Sync extern %s", resource.latin1()); + qDebug("KSM::Sync extern %s", resource.latin1()); bool syncOK = mImplementation->syncExternal(this, resource); @@ -1120,7 +1120,7 @@ void KServerSocket::newConnection ( int socket ) { // qDebug("KServerSocket:New connection %d ", socket); if ( mSocket ) { - qDebug("KServerSocket::newConnection Socket deleted! "); + qDebug("KSS::newConnection Socket deleted! "); delete mSocket; mSocket = 0; } @@ -1144,7 +1144,7 @@ void KServerSocket::readClient() if ( blockRC ) return; if ( mSocket == 0 ) { - qDebug("ERROR::KServerSocket::readClient(): mSocket == 0 "); + qDebug("ERROR::KSS::readClient(): mSocket == 0 "); return; } //qDebug("KServerSocket::readClient()"); @@ -1219,7 +1219,7 @@ void KServerSocket::send_file() { if ( secs > 300 ) { if ( KMessageBox::Cancel == KMessageBox::warningContinueCancel(0, i18n("The clocks of the syncing\ndevices have a difference\n of more than 5 minutes.\nPlease adjust your clocks.\n<b>You may get wrong syncing results!<\b>\nPlease confirm synchronization!"), i18n("High clock skew!"),i18n("Synchronize!"))) { - qDebug("cancelled "); + qDebug("KSS::Sync cancelled ,cs"); return ; } } @@ -1465,7 +1465,7 @@ void KCommandSocket::deleteSocket() if ( mTimerSocket->isActive () ) { mTimerSocket->stop(); mRetVal = errorTO; - qDebug("Connection to remote host timed out"); + qDebug("KCS::Connection to remote host timed out"); if ( mSocket ) { mSocket->close(); //if ( mSocket->state() == QSocket::Idle ) |