summaryrefslogtreecommitdiffabout
path: root/libkdepim/ksyncprofile.h
authorzautrix <zautrix>2004-10-04 21:21:00 (UTC)
committer zautrix <zautrix>2004-10-04 21:21:00 (UTC)
commitf53ef630b9299ceae666e64da8ce022813795ed6 (patch) (side-by-side diff)
tree26dc94a83f42c2174195817c505c34941246d2e3 /libkdepim/ksyncprofile.h
parentdfc6d084410456037bf6f26f741e7b938085de88 (diff)
downloadkdepimpi-f53ef630b9299ceae666e64da8ce022813795ed6.zip
kdepimpi-f53ef630b9299ceae666e64da8ce022813795ed6.tar.gz
kdepimpi-f53ef630b9299ceae666e64da8ce022813795ed6.tar.bz2
added option to sync config dialog
Diffstat (limited to 'libkdepim/ksyncprofile.h') (more/less context) (ignore whitespace changes)
-rw-r--r--libkdepim/ksyncprofile.h37
1 files changed, 37 insertions, 0 deletions
diff --git a/libkdepim/ksyncprofile.h b/libkdepim/ksyncprofile.h
index a81a9ad..6a68bd7 100644
--- a/libkdepim/ksyncprofile.h
+++ b/libkdepim/ksyncprofile.h
@@ -42,12 +42,33 @@ class KSyncProfile : public QObject {
KSyncProfile* clone();
void setDefault();
void readConfig(KConfig *);
void writeConfig(KConfig *);
void deleteConfig(KConfig *);
+ void setRemotePw( const QString& n ) {mRemotePw = n;}
+ QString getRemotePw( ) { return mRemotePw; }
+ void setRemotePwAB( const QString& n ) {mRemotePwAB = n;}
+ QString getRemotePwAB( ) { return mRemotePwAB; }
+ void setRemotePwPWM( const QString& n ) {mRemotePwPWM = n;}
+ QString getRemotePwPWM( ) { return mRemotePwPWM; }
+
+ void setRemoteIP( const QString& n ) {mRemoteIP = n;}
+ QString getRemoteIP( ) { return mRemoteIP; }
+ void setRemoteIPAB( const QString& n ) {mRemoteIPAB = n;}
+ QString getRemoteIPAB( ) { return mRemoteIPAB; }
+ void setRemoteIPPWM( const QString& n ) {mRemoteIPPWM = n;}
+ QString getRemoteIPPWM( ) { return mRemoteIPPWM; }
+
+ void setRemotePort( const QString& n ) {mRemotePort = n;}
+ QString getRemotePort( ) { return mRemotePort; }
+ void setRemotePortAB( const QString& n ) {mRemotePortAB = n;}
+ QString getRemotePortAB( ) { return mRemotePortAB; }
+ void setRemotePortPWM( const QString& n ) {mRemotePortPWM = n;}
+ QString getRemotePortPWM( ) { return mRemotePortPWM; }
+
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;}
@@ -108,12 +129,14 @@ class KSyncProfile : public QObject {
void setWriteBackFutureWeeks( int n ) { mWriteBackFutureWeeks= n;}
int getWriteBackFutureWeeks( ) { return mWriteBackFutureWeeks;}
void setIsLocalFileSync( bool b ) { mIsLocalFileSync= b;}
bool getIsLocalFileSync( ) { return mIsLocalFileSync;}
void setIsPhoneSync( bool b ) { mIsPhoneSync= b;}
bool getIsPhoneSync( ) { return mIsPhoneSync;}
+ void setIsPiSync( bool b ) { mIsPiSync= b;}
+ bool getIsPiSync( ) { return mIsPiSync;}
private:
QString mName;
QString mPreSyncCommand;
QString mPostSyncCommand;
QString mLocalTempFile;
QString mRemoteFileName;
@@ -123,12 +146,24 @@ class KSyncProfile : public QObject {
QString mRemoteFileNameAB;
QString mPreSyncCommandPWM;
QString mPostSyncCommandPWM;
QString mLocalTempFilePWM;
QString mRemoteFileNamePWM;
+ QString mRemotePw;
+ QString mRemoteIP;
+ QString mRemotePort;
+
+ QString mRemotePwAB;
+ QString mRemoteIPAB;
+ QString mRemotePortAB;
+
+ QString mRemotePwPWM;
+ QString mRemoteIPPWM;
+ QString mRemotePortPWM;
+
QString mPhoneDevice;
QString mPhoneConnection;
QString mPhoneModel;
bool mIncludeInRingSync;
bool mIncludeInRingSyncAB;
@@ -140,9 +175,11 @@ class KSyncProfile : public QObject {
int mWriteBackFutureWeeks;
bool mAskForPreferences;
bool mShowSummaryAfterSync;
bool mIsLocalFileSync;
bool mIsPhoneSync;
bool mWriteContactToSIM;
+
+ bool mIsPiSync;
};
#endif