author | zautrix <zautrix> | 2005-01-26 00:32:18 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2005-01-26 00:32:18 (UTC) |
commit | c3ec0a5a43fb328f2d190b8adee1ef662746fb41 (patch) (side-by-side diff) | |
tree | dd34f587205f8567a59bf7abb6161e1ba6667444 /libkdepim | |
parent | eeb9059d1cbf2ffb13300d0491b4b61126507373 (diff) | |
download | kdepimpi-c3ec0a5a43fb328f2d190b8adee1ef662746fb41.zip kdepimpi-c3ec0a5a43fb328f2d190b8adee1ef662746fb41.tar.gz kdepimpi-c3ec0a5a43fb328f2d190b8adee1ef662746fb41.tar.bz2 |
debug fixes
-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 @@ -185,5 +185,5 @@ void KSyncManager::slotClearMenu( int action ) void KSyncManager::slotSyncMenu( int action ) { - qDebug("syncaction %d ", action); + qDebug("KSM::syncaction %d ", action); if ( action == 5000 ) return; @@ -293,5 +293,5 @@ void KSyncManager::slotSyncMenu( int action ) break; default: - qDebug("KSyncManager::slotSyncMenu: invalid apptype selected"); + qDebug("KSM::slotSyncMenu: invalid apptype selected"); break; @@ -441,5 +441,5 @@ void KSyncManager::syncLocalFile() break; default: - qDebug("KSyncManager::syncLocalFile: invalid apptype selected"); + qDebug("KSM::syncLocalFile: invalid apptype selected"); break; @@ -450,5 +450,5 @@ void KSyncManager::syncLocalFile() return; if ( syncWithFile( fn, false ) ) { - qDebug("syncLocalFile() successful "); + qDebug("KSM::syncLocalFile() successful "); } @@ -499,5 +499,5 @@ void KSyncManager::quickSyncLocalFile() if ( syncWithFile( mPrefs->mLastSyncedLocalFile, true ) ) { - qDebug("quick syncLocalFile() successful "); + qDebug("KSM::quick syncLocalFile() successful "); } @@ -570,5 +570,5 @@ int KSyncManager::ringSync() break; default: - qDebug("KSyncManager::ringSync: invalid apptype selected"); + qDebug("KSM::ringSync: invalid apptype selected"); break; @@ -620,5 +620,5 @@ int KSyncManager::ringSync() break; default: - qDebug("KSyncManager::slotSyncMenu: invalid apptype selected"); + qDebug("KSM: invalid apptype selected"); break; } @@ -707,5 +707,5 @@ void KSyncManager::syncRemote( KSyncProfile* prof, bool ask) break; default: - qDebug("KSyncManager::syncRemote: invalid apptype selected"); + qDebug("KSM::syncRemote: invalid apptype selected"); break; } @@ -727,5 +727,5 @@ void KSyncManager::syncRemote( KSyncProfile* prof, bool ask) // 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; @@ -755,5 +755,5 @@ 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 ) ); @@ -950,5 +950,5 @@ void KSyncManager::syncKDE() break; default: - qDebug("KSyncManager::slotSyncMenu: invalid apptype selected"); + qDebug("KSM::slotSyncMenu: invalid apptype selected"); break; @@ -960,5 +960,5 @@ void KSyncManager::syncSharp() if ( ! syncExternalApplication("sharp") ) - qDebug("ERROR sync sharp "); + qDebug("KSM::ERROR sync sharp "); } @@ -974,5 +974,5 @@ bool KSyncManager::syncExternalApplication(QString resource) } - qDebug("Sync extern %s", resource.latin1()); + qDebug("KSM::Sync extern %s", resource.latin1()); bool syncOK = mImplementation->syncExternal(this, resource); @@ -1121,5 +1121,5 @@ 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; @@ -1145,5 +1145,5 @@ void KServerSocket::readClient() return; if ( mSocket == 0 ) { - qDebug("ERROR::KServerSocket::readClient(): mSocket == 0 "); + qDebug("ERROR::KSS::readClient(): mSocket == 0 "); return; } @@ -1220,5 +1220,5 @@ 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 ; } @@ -1466,5 +1466,5 @@ void KCommandSocket::deleteSocket() mTimerSocket->stop(); mRetVal = errorTO; - qDebug("Connection to remote host timed out"); + qDebug("KCS::Connection to remote host timed out"); if ( mSocket ) { mSocket->close(); |