summaryrefslogtreecommitdiffabout
path: root/libkdepim/ksyncmanager.cpp
authorzautrix <zautrix>2004-10-09 15:58:52 (UTC)
committer zautrix <zautrix>2004-10-09 15:58:52 (UTC)
commitb80a099d9432bdc3d4eea778b1813b82b2680ecf (patch) (side-by-side diff)
tree6327321f86070a13969b07e25b9cf84d4ad10d13 /libkdepim/ksyncmanager.cpp
parented1eac5e36e675b030cb5a5aa90fb2d44eb40c73 (diff)
downloadkdepimpi-b80a099d9432bdc3d4eea778b1813b82b2680ecf.zip
kdepimpi-b80a099d9432bdc3d4eea778b1813b82b2680ecf.tar.gz
kdepimpi-b80a099d9432bdc3d4eea778b1813b82b2680ecf.tar.bz2
removed some debug output
Diffstat (limited to 'libkdepim/ksyncmanager.cpp') (more/less context) (show whitespace changes)
-rw-r--r--libkdepim/ksyncmanager.cpp24
1 files changed, 10 insertions, 14 deletions
diff --git a/libkdepim/ksyncmanager.cpp b/libkdepim/ksyncmanager.cpp
index 80fb147..df53235 100644
--- a/libkdepim/ksyncmanager.cpp
+++ b/libkdepim/ksyncmanager.cpp
@@ -576,3 +576,3 @@ void KSyncManager::syncRemote( KSyncProfile* prof, bool ask)
//
- qDebug("KO: Remote copy result(0 = okay): %d ",result );
+ qDebug("Sync: Remote copy result(0 = okay): %d ",result );
if ( result != 0 ) {
@@ -604,3 +604,3 @@ void KSyncManager::syncRemote( KSyncProfile* prof, bool ask)
result = system ( postCommand );
- qDebug("Writing back file result: %d ", result);
+ qDebug("Sync:Writing back file result: %d ", result);
if ( result != 0 ) {
@@ -747,3 +747,3 @@ void KSyncManager::syncSharp()
if ( ! syncExternalApplication("sharp") )
- qDebug("ERROR sync sharp ");;
+ qDebug("ERROR sync sharp ");
}
@@ -758,3 +758,3 @@ bool KSyncManager::syncExternalApplication(QString resource)
- qDebug("sync %s", resource.latin1());
+ qDebug("Sync extern %s", resource.latin1());
@@ -840,4 +840,2 @@ void KSyncManager::deleteCommandSocket(KCommandSocket*s, int state)
{
- qDebug("MainWindow::deleteCommandSocket %d", state);
-
//enum { success, errorW, errorR, quiet };
@@ -872,3 +870,2 @@ void KSyncManager::readFileFromSocket()
mParent->topLevelWidget()->setCaption( i18n("Syncing failed.") );
- qDebug("Syncing failed ");
return;
@@ -924,6 +921,6 @@ void KServerSocket::readClient()
}
- qDebug("KServerSocket readClient()");
+ //qDebug("KServerSocket::readClient()");
if ( mSocket->canReadLine() ) {
QString line = mSocket->readLine();
- qDebug("KServerSocket readline: %s ", line.latin1());
+ //qDebug("KServerSocket readline: %s ", line.latin1());
QStringList tokens = QStringList::split( QRegExp("[ \r\n][ \r\n]*"), line );
@@ -935,3 +932,3 @@ void KServerSocket::readClient()
KMessageBox::error( 0, i18n("Got send file request\nwith invalid password"));
- qDebug("password %s, invalid password %s ",mPassWord.latin1(), tokens[1].latin1() );
+ //qDebug("password %s, invalid password %s ",mPassWord.latin1(), tokens[1].latin1() );
}
@@ -946,3 +943,3 @@ void KServerSocket::readClient()
KMessageBox::error( 0, i18n("Got receive file request\nwith invalid password"));
- qDebug("password %s, invalid password %s ",mPassWord.latin1(), tokens[1].latin1() );
+ //qDebug("password %s, invalid password %s ",mPassWord.latin1(), tokens[1].latin1() );
}
@@ -975,3 +972,2 @@ void KServerSocket::send_file()
mSyncActionDialog->raise();
- qDebug("KSS::saving ... ");
emit request_file();
@@ -1038,3 +1034,3 @@ void KServerSocket::readBackFileFromSocket()
mSyncActionDialog = 0;
- qDebug("error open cal file ");
+ qDebug("KSS:Error open read back file ");
piFileString = "";
@@ -1171,3 +1167,3 @@ void KCommandSocket::readFileFromSocket()
mRetVal = errorR;
- qDebug("Error open temp calender file for writing: %s",fileName.latin1() );
+ qDebug("KSS:Error open temp sync file for writing: %s",fileName.latin1() );
deleteSocket();