author | zautrix <zautrix> | 2004-08-01 16:27:04 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2004-08-01 16:27:04 (UTC) |
commit | f968c6f5541463caadee98e200c2ba035fa20959 (patch) (side-by-side diff) | |
tree | e71549b7ba1312a55f0311ed74754943d22af22a /libkdepim/ksyncprofile.h | |
parent | 3a4186926d078692ad3c2261b70406c391f27554 (diff) | |
download | kdepimpi-f968c6f5541463caadee98e200c2ba035fa20959.zip kdepimpi-f968c6f5541463caadee98e200c2ba035fa20959.tar.gz kdepimpi-f968c6f5541463caadee98e200c2ba035fa20959.tar.bz2 |
Extended the sync config dialog
-rw-r--r-- | libkdepim/ksyncprofile.h | 21 |
1 files changed, 20 insertions, 1 deletions
diff --git a/libkdepim/ksyncprofile.h b/libkdepim/ksyncprofile.h index df1b49e..80094b1 100644 --- a/libkdepim/ksyncprofile.h +++ b/libkdepim/ksyncprofile.h @@ -58,13 +58,22 @@ class KSyncProfile : public QObject { void setPreSyncCommand( const QString& n ) {mPreSyncCommand = n;} QString getPreSyncCommand( ) { return mPreSyncCommand; } void setPostSyncCommand( const QString& n ) {mPostSyncCommand = n;} QString getPostSyncCommand( ) { return mPostSyncCommand;} - void setLocalTempFile( const QString& n ) { mLocalTempFile= n;} QString getLocalTempFile( ) { return mLocalTempFile;} void setRemoteFileName( const QString& n ) { mRemoteFileName = n;} QString getRemoteFileName( ) { return mRemoteFileName;} + + void setPreSyncCommandAB( const QString& n ) {mPreSyncCommandAB = n;} + QString getPreSyncCommandAB( ) { return mPreSyncCommandAB; } + void setPostSyncCommandAB( const QString& n ) {mPostSyncCommandAB = n;} + QString getPostSyncCommandAB( ) { return mPostSyncCommandAB;} + void setLocalTempFileAB( const QString& n ) { mLocalTempFileAB= n;} + QString getLocalTempFileAB( ) { return mLocalTempFileAB;} + void setRemoteFileNameAB( const QString& n ) { mRemoteFileNameAB = n;} + QString getRemoteFileNameAB( ) { return mRemoteFileNameAB;} + /* void set( const QString& n ) { = n;} QString get( ) { return ;} */ @@ -74,16 +83,20 @@ class KSyncProfile : public QObject { void setAskForPreferences( bool b ) { mAskForPreferences= b;} bool getAskForPreferences( ) { return mAskForPreferences;} void setWriteBackExisting( bool b ) { mWriteBackExisting = b;} bool getWriteBackExisting( ) { return mWriteBackExisting;} + void setWriteBackFuture( bool b ) { mWriteBackFuture = b;} + bool getWriteBackFuture( ) { return mWriteBackFuture;} void setWriteBackFile( bool b ) { mWriteBackFile= b;} bool getWriteBackFile( ) { return mWriteBackFile;} void setIncludeInRingSync( bool b ) {mIncludeInRingSync = b;} bool getIncludeInRingSync( ) { return mIncludeInRingSync;} void setIncludeInRingSyncAB( bool b ) {mIncludeInRingSyncAB = b;} bool getIncludeInRingSyncAB( ) { return mIncludeInRingSyncAB;} void setSyncPrefs( int n ) { mSyncPrefs= n;} int getSyncPrefs( ) { return mSyncPrefs;} + void setWriteBackFutureWeeks( int n ) { mWriteBackFutureWeeks= n;} + int getWriteBackFutureWeeks( ) { return mWriteBackFutureWeeks;} void setIsLocalFileSync( bool b ) { mIsLocalFileSync= b;} bool getIsLocalFileSync( ) { return mIsLocalFileSync;} private: @@ -91,13 +104,19 @@ class KSyncProfile : public QObject { QString mPreSyncCommand; QString mPostSyncCommand; QString mLocalTempFile; QString mRemoteFileName; + QString mPreSyncCommandAB; + QString mPostSyncCommandAB; + QString mLocalTempFileAB; + QString mRemoteFileNameAB; bool mIncludeInRingSync; bool mIncludeInRingSyncAB; int mSyncPrefs; bool mWriteBackFile; bool mWriteBackExisting; + bool mWriteBackFuture; + int mWriteBackFutureWeeks; bool mAskForPreferences; bool mShowSummaryAfterSync; bool mIsLocalFileSync; }; |