-rw-r--r-- | libkdepim/ksyncmanager.cpp | 24 |
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) | |||
576 | // | 576 | // |
577 | qDebug("KO: Remote copy result(0 = okay): %d ",result ); | 577 | qDebug("Sync: Remote copy result(0 = okay): %d ",result ); |
578 | if ( result != 0 ) { | 578 | if ( result != 0 ) { |
@@ -604,3 +604,3 @@ void KSyncManager::syncRemote( KSyncProfile* prof, bool ask) | |||
604 | result = system ( postCommand ); | 604 | result = system ( postCommand ); |
605 | qDebug("Writing back file result: %d ", result); | 605 | qDebug("Sync:Writing back file result: %d ", result); |
606 | if ( result != 0 ) { | 606 | if ( result != 0 ) { |
@@ -747,3 +747,3 @@ void KSyncManager::syncSharp() | |||
747 | if ( ! syncExternalApplication("sharp") ) | 747 | if ( ! syncExternalApplication("sharp") ) |
748 | qDebug("ERROR sync sharp ");; | 748 | qDebug("ERROR sync sharp "); |
749 | } | 749 | } |
@@ -758,3 +758,3 @@ bool KSyncManager::syncExternalApplication(QString resource) | |||
758 | 758 | ||
759 | qDebug("sync %s", resource.latin1()); | 759 | qDebug("Sync extern %s", resource.latin1()); |
760 | 760 | ||
@@ -840,4 +840,2 @@ void KSyncManager::deleteCommandSocket(KCommandSocket*s, int state) | |||
840 | { | 840 | { |
841 | qDebug("MainWindow::deleteCommandSocket %d", state); | ||
842 | |||
843 | //enum { success, errorW, errorR, quiet }; | 841 | //enum { success, errorW, errorR, quiet }; |
@@ -872,3 +870,2 @@ void KSyncManager::readFileFromSocket() | |||
872 | mParent->topLevelWidget()->setCaption( i18n("Syncing failed.") ); | 870 | mParent->topLevelWidget()->setCaption( i18n("Syncing failed.") ); |
873 | qDebug("Syncing failed "); | ||
874 | return; | 871 | return; |
@@ -924,6 +921,6 @@ void KServerSocket::readClient() | |||
924 | } | 921 | } |
925 | qDebug("KServerSocket readClient()"); | 922 | //qDebug("KServerSocket::readClient()"); |
926 | if ( mSocket->canReadLine() ) { | 923 | if ( mSocket->canReadLine() ) { |
927 | QString line = mSocket->readLine(); | 924 | QString line = mSocket->readLine(); |
928 | qDebug("KServerSocket readline: %s ", line.latin1()); | 925 | //qDebug("KServerSocket readline: %s ", line.latin1()); |
929 | QStringList tokens = QStringList::split( QRegExp("[ \r\n][ \r\n]*"), line ); | 926 | QStringList tokens = QStringList::split( QRegExp("[ \r\n][ \r\n]*"), line ); |
@@ -935,3 +932,3 @@ void KServerSocket::readClient() | |||
935 | KMessageBox::error( 0, i18n("Got send file request\nwith invalid password")); | 932 | KMessageBox::error( 0, i18n("Got send file request\nwith invalid password")); |
936 | qDebug("password %s, invalid password %s ",mPassWord.latin1(), tokens[1].latin1() ); | 933 | //qDebug("password %s, invalid password %s ",mPassWord.latin1(), tokens[1].latin1() ); |
937 | } | 934 | } |
@@ -946,3 +943,3 @@ void KServerSocket::readClient() | |||
946 | KMessageBox::error( 0, i18n("Got receive file request\nwith invalid password")); | 943 | KMessageBox::error( 0, i18n("Got receive file request\nwith invalid password")); |
947 | qDebug("password %s, invalid password %s ",mPassWord.latin1(), tokens[1].latin1() ); | 944 | //qDebug("password %s, invalid password %s ",mPassWord.latin1(), tokens[1].latin1() ); |
948 | } | 945 | } |
@@ -975,3 +972,2 @@ void KServerSocket::send_file() | |||
975 | mSyncActionDialog->raise(); | 972 | mSyncActionDialog->raise(); |
976 | qDebug("KSS::saving ... "); | ||
977 | emit request_file(); | 973 | emit request_file(); |
@@ -1038,3 +1034,3 @@ void KServerSocket::readBackFileFromSocket() | |||
1038 | mSyncActionDialog = 0; | 1034 | mSyncActionDialog = 0; |
1039 | qDebug("error open cal file "); | 1035 | qDebug("KSS:Error open read back file "); |
1040 | piFileString = ""; | 1036 | piFileString = ""; |
@@ -1171,3 +1167,3 @@ void KCommandSocket::readFileFromSocket() | |||
1171 | mRetVal = errorR; | 1167 | mRetVal = errorR; |
1172 | qDebug("Error open temp calender file for writing: %s",fileName.latin1() ); | 1168 | qDebug("KSS:Error open temp sync file for writing: %s",fileName.latin1() ); |
1173 | deleteSocket(); | 1169 | deleteSocket(); |