author | zautrix <zautrix> | 2004-10-07 19:42:44 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2004-10-07 19:42:44 (UTC) |
commit | 0a661f5800b86df385cc23f4c9a8324bd0b50a5c (patch) (side-by-side diff) | |
tree | fcc17cfad0ffd022a4b92974bc53d39ba3f650de | |
parent | 1f1538e5707b59bfcff2014901f29a65589229e3 (diff) | |
download | kdepimpi-0a661f5800b86df385cc23f4c9a8324bd0b50a5c.zip kdepimpi-0a661f5800b86df385cc23f4c9a8324bd0b50a5c.tar.gz kdepimpi-0a661f5800b86df385cc23f4c9a8324bd0b50a5c.tar.bz2 |
sync fix
-rw-r--r-- | libkdepim/ksyncmanager.cpp | 2 | ||||
-rw-r--r-- | libkdepim/ksyncmanager.h | 25 |
2 files changed, 4 insertions, 23 deletions
diff --git a/libkdepim/ksyncmanager.cpp b/libkdepim/ksyncmanager.cpp index 568c2a9..01309d5 100644 --- a/libkdepim/ksyncmanager.cpp +++ b/libkdepim/ksyncmanager.cpp @@ -392,3 +392,3 @@ void KSyncManager::multiSync( bool askforPrefs ) edit_sync_options(); - mRingSyncAlgoPrefs = mSyncAlgoPrefs; + mPrefs->mRingSyncAlgoPrefs = mSyncAlgoPrefs; } diff --git a/libkdepim/ksyncmanager.h b/libkdepim/ksyncmanager.h index 7027894..1f7c7e7 100644 --- a/libkdepim/ksyncmanager.h +++ b/libkdepim/ksyncmanager.h @@ -50,3 +50,2 @@ public: void setFileName( QString fn ) {mFileName = fn;}; - signals: @@ -83,3 +82,2 @@ public: - signals: @@ -115,3 +113,2 @@ class KSyncManager : public QObject - KSyncManager(QWidget* parent, KSyncInterface* implementation, TargetApp ta, KPimPrefs* prefs, QPopupMenu* syncmenu); @@ -125,3 +122,2 @@ class KSyncManager : public QObject QString syncFileName(); - void fillSyncMenu(); @@ -140,7 +136,4 @@ class KSyncManager : public QObject bool mShowSyncSummary; - bool mShowSyncEvents; - bool mShowTodoInAgenda; bool mWriteBackExistingOnly; int mSyncAlgoPrefs; - int mRingSyncAlgoPrefs; bool mWriteBackFile; @@ -163,6 +156,5 @@ class KSyncManager : public QObject void readFileFromSocket(); + void fillSyncMenu(); private: - // LR ******************************* - // sync stuff! void syncPi(); @@ -188,8 +180,4 @@ class KSyncManager : public QObject void confSync(); - // ********************* - private: bool mBlockSaveFlag; - - QWidget* mParent; @@ -198,9 +186,4 @@ class KSyncManager : public QObject QPopupMenu* mSyncMenu; - QProgressBar* bar; - - - - }; @@ -210,10 +193,8 @@ class KSyncInterface { - - public : virtual bool sync(KSyncManager* manager, QString filename, int mode) = 0; - virtual bool syncExternal(KSyncManager* manager, QString resource) { - // empty implementation, because some syncable applications do not have an external(sharpdtm) syncmode, like pwmanager. + // empty implementation, because some syncable applications do not + // have an external(sharpdtm) syncmode, like pwmanager. return false; |