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 | |
parent | eeb9059d1cbf2ffb13300d0491b4b61126507373 (diff) | |
download | kdepimpi-c3ec0a5a43fb328f2d190b8adee1ef662746fb41.zip kdepimpi-c3ec0a5a43fb328f2d190b8adee1ef662746fb41.tar.gz kdepimpi-c3ec0a5a43fb328f2d190b8adee1ef662746fb41.tar.bz2 |
debug fixes
-rw-r--r-- | bin/kdepim/korganizer/allday.png | bin | 0 -> 279 bytes | |||
-rw-r--r-- | bin/kdepim/korganizer/icons16/allday.png | bin | 0 -> 271 bytes | |||
-rw-r--r-- | bin/kdepim/korganizer/iconsmini/allday.png | bin | 0 -> 273 bytes | |||
-rw-r--r-- | bin/kdepim/korganizer/iconsmini/configure.png | bin | 0 -> 763 bytes | |||
-rw-r--r-- | kaddressbook/kabcore.cpp | 40 | ||||
-rw-r--r-- | korganizer/calendarview.cpp | 21 | ||||
-rw-r--r-- | korganizer/mainwindow.cpp | 3 | ||||
-rw-r--r-- | libkdepim/ksyncmanager.cpp | 34 |
8 files changed, 50 insertions, 48 deletions
diff --git a/bin/kdepim/korganizer/allday.png b/bin/kdepim/korganizer/allday.png Binary files differnew file mode 100644 index 0000000..735eae2 --- a/dev/null +++ b/bin/kdepim/korganizer/allday.png diff --git a/bin/kdepim/korganizer/icons16/allday.png b/bin/kdepim/korganizer/icons16/allday.png Binary files differnew file mode 100644 index 0000000..426d250 --- a/dev/null +++ b/bin/kdepim/korganizer/icons16/allday.png diff --git a/bin/kdepim/korganizer/iconsmini/allday.png b/bin/kdepim/korganizer/iconsmini/allday.png Binary files differnew file mode 100644 index 0000000..be9a2ba --- a/dev/null +++ b/bin/kdepim/korganizer/iconsmini/allday.png diff --git a/bin/kdepim/korganizer/iconsmini/configure.png b/bin/kdepim/korganizer/iconsmini/configure.png Binary files differnew file mode 100644 index 0000000..ad965e2 --- a/dev/null +++ b/bin/kdepim/korganizer/iconsmini/configure.png diff --git a/kaddressbook/kabcore.cpp b/kaddressbook/kabcore.cpp index 590cc82..ae0a068 100644 --- a/kaddressbook/kabcore.cpp +++ b/kaddressbook/kabcore.cpp @@ -426,9 +426,9 @@ KABCore::~KABCore() #endif } void KABCore::receive( const QCString& cmsg, const QByteArray& data ) { - qDebug("KA: QCOP message received: %s ", cmsg.data() ); + //qDebug("KA: QCOP message received: %s ", cmsg.data() ); if ( cmsg == "setDocument(QString)" ) { QDataStream stream( data, IO_ReadOnly ); QString fileName; stream >> fileName; @@ -441,15 +441,15 @@ void KABCore::toggleBeamReceive( ) if ( mBRdisabled ) return; #ifndef DESKTOP_VERSION if ( infrared ) { - qDebug("AB disable BeamReceive "); + qDebug("KA: AB disable BeamReceive "); delete infrared; infrared = 0; mActionBR->setChecked(false); return; } - qDebug("AB enable BeamReceive "); + qDebug("KA: AB enable BeamReceive "); mActionBR->setChecked(true); infrared = new QCopChannel("QPE/Application/addressbook",this, "channelAB" ) ; QObject::connect( infrared, SIGNAL (received ( const QCString &, const QByteArray & )),this, SLOT(receive( const QCString&, const QByteArray& ))); @@ -567,9 +567,9 @@ void KABCore::saveSettings() mViewManager->saveSettings(); KABPrefs::instance()->mCurrentIncSearchField = mIncSearchWidget->currentItem(); KABPrefs::instance()->writeConfig(); - qDebug("KABCore::saveSettings() "); + qDebug("KA: KABCore::saveSettings() "); } KABC::AddressBook *KABCore::addressBook() const { @@ -905,9 +905,9 @@ void KABCore::writeToPhone( ) { if ( PhoneAccess::writeToPhone( getPhoneFile() ) ) message(i18n("Export to phone finished!")); else - qDebug(i18n("Error exporting to phone")); + qDebug(i18n("KA: Error exporting to phone")); } void KABCore::beamVCard() { QStringList uids; @@ -976,9 +976,9 @@ void KABCore::beamVCard(const QStringList& uids) Ir *ir = new Ir( this ); connect( ir, SIGNAL( done(Ir*) ), this, SLOT( beamDone(Ir*) ) ); ir->send( fileName, description, "text/x-vCard" ); } else { - qDebug("Error open temp beam file "); + qDebug("KA: Error open temp beam file "); return; } #endif @@ -2683,9 +2683,9 @@ KABC::Addressee KABCore::getLastSyncAddressee() //qDebug("CurrentSyncDevice %s ",mCurrentSyncDevice .latin1() ); lse = mAddressBook->findByUid( "last-syncAddressee-"+mCurrentSyncDevice ); if (lse.isEmpty()) { - qDebug("Creating new last-syncAddressee "); + qDebug("KA: Creating new last-syncAddressee "); lse.setUid( "last-syncAddressee-"+mCurrentSyncDevice ); QString sum = ""; if ( mGlobalSyncMode == SYNC_MODE_EXTERNAL ) sum = "E: "; @@ -2717,10 +2717,10 @@ int KABCore::takeAddressee( KABC::Addressee* local, KABC::Addressee* remote, i if ( mGlobalSyncMode == SYNC_MODE_EXTERNAL ) { bool remCh, locCh; remCh = ( remote->getCsum(mCurrentSyncDevice) != local->getCsum(mCurrentSyncDevice) ); - if ( remCh ) - qDebug("loc %s rem %s", local->getCsum(mCurrentSyncDevice).latin1(), remote->getCsum(mCurrentSyncDevice).latin1() ); + //if ( remCh ) + // qDebug("loc %s rem %s", local->getCsum(mCurrentSyncDevice).latin1(), remote->getCsum(mCurrentSyncDevice).latin1() ); locCh = ( localMod > mLastAddressbookSync ); //qDebug("cahnged rem %d loc %d",remCh, locCh ); if ( !remCh && ! locCh ) { //qDebug("both not changed "); @@ -2855,16 +2855,16 @@ bool KABCore::synchronizeAddressbooks( KABC::AddressBook* local, KABC::AddressBo if ( syncManager->syncWithDesktop() ) { // remote->removeSyncInfo( QString());//remove all info if ( KSyncManager::mRequestedSyncEvent.isValid() ) { mLastAddressbookSync = KSyncManager::mRequestedSyncEvent; - qDebug("using extern time for calendar sync: %s ", mLastAddressbookSync.toString().latin1() ); + qDebug("KA: using extern time for calendar sync: %s ", mLastAddressbookSync.toString().latin1() ); } else { - qDebug("KSyncManager::mRequestedSyncEvent has invalid datatime "); + qDebug("KA: KSyncManager::mRequestedSyncEvent has invalid datatime "); } } QDateTime modifiedCalendar = mLastAddressbookSync; addresseeLSync = getLastSyncAddressee(); - qDebug("Last Sync %s ", addresseeLSync.revision().toString().latin1()); + qDebug("KA: Last Sync %s ", addresseeLSync.revision().toString().latin1()); addresseeR = remote->findByUid("last-syncAddressee-"+mCurrentSyncName ); if ( !addresseeR.isEmpty() ) { addresseeRSync = addresseeR; remote->removeAddressee(addresseeR ); @@ -3124,9 +3124,9 @@ bool KABCore::synchronizeAddressbooks( KABC::AddressBook* local, KABC::AddressBo mes = i18n("Local addressbook changed!\n") +mes; if ( syncManager->mShowSyncSummary ) { if ( KMessageBox::Cancel == KMessageBox::warningContinueCancel(this, mes, i18n("KA/Pi Synchronization"),i18n("Write back"))) { - qDebug("cancelled "); + qDebug("KA: WB cancelled "); return false; } } return syncOK; @@ -3146,9 +3146,9 @@ bool KABCore::sync(KSyncManager* manager, QString filename, int mode) AddressBook abLocal(filename,"syncContact"); bool syncOK = false; if ( abLocal.load() ) { - qDebug("Sync:AB loaded %s,sync mode %d",filename.latin1(), mode ); + qDebug("KA: Sync::AB loaded %s,sync mode %d",filename.latin1(), mode ); bool external = false; bool isXML = false; if ( filename.right(4) == ".xml") { mGlobalSyncMode = SYNC_MODE_EXTERNAL; @@ -3156,9 +3156,9 @@ bool KABCore::sync(KSyncManager* manager, QString filename, int mode) abLocal.preExternSync( mAddressBook ,mCurrentSyncDevice, true ); } else { external = !manager->mIsKapiFile; if ( external ) { - qDebug("Sync:Setting vcf mode to external "); + qDebug("KA: Sync::Setting vcf mode to external "); mGlobalSyncMode = SYNC_MODE_EXTERNAL; AddressBook::Iterator it; for ( it = abLocal.begin(); it != abLocal.end(); ++it ) { (*it).setID( mCurrentSyncDevice, (*it).uid() ); @@ -3176,11 +3176,11 @@ bool KABCore::sync(KSyncManager* manager, QString filename, int mode) if ( syncManager->mWriteBackFile ) { if ( external ) abLocal.removeSyncAddressees( !isXML); - qDebug("Sync:Saving remote AB "); + qDebug("KA: Sync::Saving remote AB "); if ( ! abLocal.saveAB()) - qDebug("Error writing back AB to file "); + qDebug("KA: sync::Error writing back AB to file "); if ( external ) { // afterwrite processing abLocal.postExternSync( mAddressBook,mCurrentSyncDevice ,isXML); } @@ -3196,9 +3196,9 @@ bool KABCore::sync(KSyncManager* manager, QString filename, int mode) } void KABCore::removeSyncInfo( QString syncProfile) { - qDebug("AB:removeSyncInfo for profile %s ", syncProfile.latin1()); + qDebug("KA: AB:removeSyncInfo for profile %s ", syncProfile.latin1()); mAddressBook->removeSyncInfo( syncProfile ); setModified(); } @@ -3216,9 +3216,9 @@ bool KABCore::syncExternal(KSyncManager* manager, QString resource) AddressBook abLocal( resource,"syncContact"); bool syncOK = false; message(i18n("Loading DTM address data..."), false); if ( abLocal.load() ) { - qDebug("AB sharp loaded ,sync device %s",mCurrentSyncDevice.latin1()); + qDebug("KA: AB sharp loaded ,sync device %s",mCurrentSyncDevice.latin1()); mGlobalSyncMode = SYNC_MODE_EXTERNAL; message(i18n("Sync preprocessing..."),false); abLocal.preExternSync( mAddressBook ,mCurrentSyncDevice, false ); message(i18n("Synchronizing..."),false); @@ -3264,9 +3264,9 @@ bool KABCore::syncPhone() AddressBook abLocal( fileName,"syncContact"); bool syncOK = false; { abLocal.importFromFile( fileName ); - qDebug("AB phone loaded ,sync device %s",mCurrentSyncDevice.latin1()); + qDebug("KA: AB phone loaded ,sync device %s",mCurrentSyncDevice.latin1()); mGlobalSyncMode = SYNC_MODE_EXTERNAL; abLocal.preparePhoneSync( mCurrentSyncDevice, true ); abLocal.preExternSync( mAddressBook ,mCurrentSyncDevice, true ); syncOK = synchronizeAddressbooks( mAddressBook, &abLocal, syncManager->mSyncAlgoPrefs ); diff --git a/korganizer/calendarview.cpp b/korganizer/calendarview.cpp index 038da54..06454c2 100644 --- a/korganizer/calendarview.cpp +++ b/korganizer/calendarview.cpp @@ -947,9 +947,9 @@ bool CalendarView::synchronizeCalendar( Calendar* local, Calendar* remote, int if ( mSyncManager->syncWithDesktop() ) { remote->resetPilotStat(1); if ( KSyncManager::mRequestedSyncEvent.isValid() ) { mLastCalendarSync = KSyncManager::mRequestedSyncEvent; - qDebug("using extern time for calendar sync: %s ", mLastCalendarSync.toString().latin1() ); + qDebug("KO: using extern time for calendar sync: %s ", mLastCalendarSync.toString().latin1() ); } else { qDebug("KSyncManager::mRequestedSyncEvent has invalid datatime "); } } @@ -996,9 +996,9 @@ bool CalendarView::synchronizeCalendar( Calendar* local, Calendar* remote, int mLastCalendarSync = loadedFileVersion; //qDebug("setting mLastCalendarSync "); } //qDebug("*************************** "); - qDebug("mLastCalendarSync %s full: %d",mLastCalendarSync.toString().latin1(), fullDateRange); + qDebug("KO: mLastCalendarSync %s .Full: %d",mLastCalendarSync.toString().latin1(), fullDateRange); QPtrList<Incidence> er = remote->rawIncidences(); Incidence* inR = er.first(); Incidence* inL; QProgressBar bar( er.count(),0 ); @@ -1223,13 +1223,14 @@ bool CalendarView::synchronizeCalendar( Calendar* local, Calendar* remote, int eventRSync->setDtEnd( mLastCalendarSync.addSecs( 3600 ) ); eventRSync->setLocation( i18n("Remote from: ")+mCurrentSyncName ) ; eventLSync->setLocation(i18n("Local from: ") + mCurrentSyncName ); eventLSync->setReadOnly( true ); - qDebug("********** %d %d ", mGlobalSyncMode == SYNC_MODE_NORMAL, mSyncManager->syncWithDesktop() ); + qDebug("KO: Normal sync: %d ",mGlobalSyncMode == SYNC_MODE_NORMAL ); if ( mGlobalSyncMode == SYNC_MODE_NORMAL && !mSyncManager->syncWithDesktop()) // kde is abnormal... remote->addEvent( eventRSync ); else delete eventRSync; + qDebug("KO: Sync with desktop %d ",mSyncManager->syncWithDesktop() ); QString mes; mes .sprintf( i18n("Synchronization summary:\n\n %d items added to local\n %d items added to remote\n %d items updated on local\n %d items updated on remote\n %d items deleted on local\n %d items deleted on remote\n %d incoming filtered out\n %d outgoing filtered out\n"),addedEvent, addedEventR, changedLocal, changedRemote, deletedEventL, deletedEventR, filteredIN, filteredOUT ); QString delmess; if ( delFut ) { @@ -1241,9 +1242,9 @@ bool CalendarView::synchronizeCalendar( Calendar* local, Calendar* remote, int qDebug( mes ); if ( mSyncManager->mShowSyncSummary ) { if ( KMessageBox::Cancel == KMessageBox::warningContinueCancel(this, mes, i18n("KO/Pi Synchronization"),i18n("Write back"))) { - qDebug("cancelled "); + qDebug("KO: WB cancelled "); return false; } } return syncOK; @@ -1439,16 +1440,16 @@ void CalendarView::insertBirthdays(const QString& uid, const QStringList& birthd const QStringList& anniversaryList, const QStringList& realNameList, const QStringList& emailList, const QStringList& assembledNameList, const QStringList& uidList) { - qDebug("CalendarView::insertBirthdays"); + //qDebug("KO::CalendarView::insertBirthdays"); if (uid == this->name()) { int count = birthdayList.count(); int addCount = 0; KCal::Attendee* a = 0; - qDebug("CalView 1 %i", count); + //qDebug("CalView 1 %i", count); QProgressBar bar(count,0 ); int w = 300; if ( QApplication::desktop()->width() < 320 ) @@ -2508,9 +2509,9 @@ void CalendarView::showEventEditor() mEventEditor->show(); #else if ( mEventEditor->width() < QApplication::desktop()->width() -60 || mEventEditor->width() > QApplication::desktop()->width() ) { topLevelWidget()->setCaption( i18n("Recreating edit dialog. Please wait...") ); - qDebug("CalendarView: recreate mEventEditor %d %d", mEventEditor->width(), QApplication::desktop()->width() ); + qDebug("KO: CalendarView: recreate mEventEditor %d %d", mEventEditor->width(), QApplication::desktop()->width() ); delete mEventEditor; mEventEditor = mDialogManager->getEventEditor(); } mEventEditor->showMaximized(); @@ -2523,9 +2524,9 @@ void CalendarView::showTodoEditor() mTodoEditor->show(); #else if ( mTodoEditor->width() < QApplication::desktop()->width() -60|| mTodoEditor->width() > QApplication::desktop()->width() ) { topLevelWidget()->setCaption( i18n("Recreating edit dialog. Please wait...") ); - qDebug("CalendarView: recreate mTodoEditor %d %d ", mTodoEditor->width() ,QApplication::desktop()->width() ); + qDebug("KO: CalendarView: recreate mTodoEditor %d %d ", mTodoEditor->width() ,QApplication::desktop()->width() ); delete mTodoEditor; mTodoEditor = mDialogManager->getTodoEditor(); } mTodoEditor->showMaximized(); @@ -3856,9 +3857,9 @@ void CalendarView::keyPressEvent ( QKeyEvent *e) bool CalendarView::sync(KSyncManager* manager, QString filename, int mode) { // mSyncManager = manager; if ( filename == QDir::homeDirPath ()+"/.kdecalendardump.ics" ) { - qDebug("SyncKDE request detected!"); + qDebug("KO: SyncKDE request detected!"); } mCurrentSyncDevice = mSyncManager->getCurrentSyncDevice(); mCurrentSyncName = mSyncManager->getCurrentSyncName(); return syncCalendar( filename, mode ); @@ -3881,9 +3882,9 @@ void CalendarView::setSyncManager(KSyncManager* manager) } void CalendarView::removeSyncInfo( QString syncProfile) { - qDebug("removeSyncInfo for profile %s ", syncProfile.latin1()); + qDebug("KO: removeSyncInfo for profile %s ", syncProfile.latin1()); mCalendar->removeSyncInfo( syncProfile ); } diff --git a/korganizer/mainwindow.cpp b/korganizer/mainwindow.cpp index 26ea1e2..877b6f2 100644 --- a/korganizer/mainwindow.cpp +++ b/korganizer/mainwindow.cpp @@ -606,9 +606,10 @@ void MainWindow::initActions() action = new QAction( i18n("Toggle FilterView"), icon, i18n("Toggle FilterView"), 0, this ); action->addTo( viewMenu ); connect( action, SIGNAL( activated() ), mView, SLOT( toggleFilter() ) ); - action = new QAction( i18n("Toggle Allday"), i18n("Toggle Allday"), 0, this ); + icon = loadPixmap( pathString + "allday" ); + action = new QAction( i18n("Toggle Allday"), icon,i18n("Toggle Allday"), 0, this ); action->addTo( viewMenu ); connect( action, SIGNAL( activated() ), mView, SLOT( toggleAllDaySize() ) ); diff --git a/libkdepim/ksyncmanager.cpp b/libkdepim/ksyncmanager.cpp index f488a07..3adbf61 100644 --- a/libkdepim/ksyncmanager.cpp +++ b/libkdepim/ksyncmanager.cpp @@ -183,9 +183,9 @@ void KSyncManager::slotClearMenu( int action ) mImplementation->removeSyncInfo( syncDevice ); } void KSyncManager::slotSyncMenu( int action ) { - qDebug("syncaction %d ", action); + qDebug("KSM::syncaction %d ", action); if ( action == 5000 ) return; mSyncWithDesktop = false; if ( action == 0 ) { @@ -291,9 +291,9 @@ void KSyncManager::slotSyncMenu( int action ) if ( syncWithFile( temp->getRemoteFileNamePWM( ), false ) ) mPrefs->mLastSyncedLocalFile = temp->getRemoteFileNamePWM(); break; default: - qDebug("KSyncManager::slotSyncMenu: invalid apptype selected"); + qDebug("KSM::slotSyncMenu: invalid apptype selected"); break; } } else { @@ -439,18 +439,18 @@ void KSyncManager::syncLocalFile() case (PWMPI): ext = "(*.pwm)"; break; default: - qDebug("KSyncManager::syncLocalFile: invalid apptype selected"); + qDebug("KSM::syncLocalFile: invalid apptype selected"); break; } fn =KFileDialog:: getOpenFileName( fn, i18n("Sync filename"+ext), mParent ); if ( fn == "" ) return; if ( syncWithFile( fn, false ) ) { - qDebug("syncLocalFile() successful "); + qDebug("KSM::syncLocalFile() successful "); } } @@ -497,9 +497,9 @@ bool KSyncManager::syncWithFile( QString fn , bool quick ) void KSyncManager::quickSyncLocalFile() { if ( syncWithFile( mPrefs->mLastSyncedLocalFile, true ) ) { - qDebug("quick syncLocalFile() successful "); + qDebug("KSM::quick syncLocalFile() successful "); } } @@ -568,9 +568,9 @@ int KSyncManager::ringSync() case (PWMPI): includeInRingSync = temp->getIncludeInRingSyncPWM(); break; default: - qDebug("KSyncManager::ringSync: invalid apptype selected"); + qDebug("KSM::ringSync: invalid apptype selected"); break; } @@ -618,9 +618,9 @@ int KSyncManager::ringSync() if ( syncWithFile( temp->getRemoteFileNamePWM( ), false ) ) mPrefs->mLastSyncedLocalFile = temp->getRemoteFileNamePWM(); break; default: - qDebug("KSyncManager::slotSyncMenu: invalid apptype selected"); + qDebug("KSM: invalid apptype selected"); break; } } else { if ( temp->getIsPhoneSync() ) { @@ -705,9 +705,9 @@ void KSyncManager::syncRemote( KSyncProfile* prof, bool ask) postCommand = prof->getPostSyncCommandPWM(); localTempFile = prof->getLocalTempFilePWM(); break; default: - qDebug("KSyncManager::syncRemote: invalid apptype selected"); + qDebug("KSM::syncRemote: invalid apptype selected"); break; } @@ -725,9 +725,9 @@ void KSyncManager::syncRemote( KSyncProfile* prof, bool ask) int result = system ( preCommand ); // 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() ) { preCommand.insert( len , "\n" ); @@ -753,9 +753,9 @@ 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; } else { @@ -948,9 +948,9 @@ void KSyncManager::syncKDE() case (PWMPI): break; default: - qDebug("KSyncManager::slotSyncMenu: invalid apptype selected"); + qDebug("KSM::slotSyncMenu: invalid apptype selected"); break; } } @@ -958,9 +958,9 @@ void KSyncManager::syncKDE() void KSyncManager::syncSharp() { if ( ! syncExternalApplication("sharp") ) - qDebug("ERROR sync sharp "); + qDebug("KSM::ERROR sync sharp "); } bool KSyncManager::syncExternalApplication(QString resource) { @@ -972,9 +972,9 @@ bool KSyncManager::syncExternalApplication(QString resource) mParent->topLevelWidget()->setCaption( i18n("Syncing aborted. Nothing synced.") ); return false; } - qDebug("Sync extern %s", resource.latin1()); + qDebug("KSM::Sync extern %s", resource.latin1()); bool syncOK = mImplementation->syncExternal(this, resource); return syncOK; @@ -1119,9 +1119,9 @@ KServerSocket:: KServerSocket ( QString pw, Q_UINT16 port, int backlog, QObject 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; } mSocket = new QSocket( this ); @@ -1143,9 +1143,9 @@ 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()"); if ( mSocket->canReadLine() ) { @@ -1218,9 +1218,9 @@ void KServerSocket::send_file() if ( secs > 180 ) { 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 ; } } QFont f = label->font(); @@ -1464,9 +1464,9 @@ void KCommandSocket::deleteSocket() //qDebug("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 ) // deleteSocket(); |