author | zautrix <zautrix> | 2004-10-04 21:21:00 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2004-10-04 21:21:00 (UTC) |
commit | f53ef630b9299ceae666e64da8ce022813795ed6 (patch) (unidiff) | |
tree | 26dc94a83f42c2174195817c505c34941246d2e3 /libkdepim/ksyncprofile.h | |
parent | dfc6d084410456037bf6f26f741e7b938085de88 (diff) | |
download | kdepimpi-f53ef630b9299ceae666e64da8ce022813795ed6.zip kdepimpi-f53ef630b9299ceae666e64da8ce022813795ed6.tar.gz kdepimpi-f53ef630b9299ceae666e64da8ce022813795ed6.tar.bz2 |
added option to sync config dialog
-rw-r--r-- | libkdepim/ksyncprofile.h | 37 |
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 | |||
@@ -45,6 +45,27 @@ class KSyncProfile : public QObject { | |||
45 | void writeConfig(KConfig *); | 45 | void writeConfig(KConfig *); |
46 | void deleteConfig(KConfig *); | 46 | void deleteConfig(KConfig *); |
47 | 47 | ||
48 | void setRemotePw( const QString& n ) {mRemotePw = n;} | ||
49 | QString getRemotePw( ) { return mRemotePw; } | ||
50 | void setRemotePwAB( const QString& n ) {mRemotePwAB = n;} | ||
51 | QString getRemotePwAB( ) { return mRemotePwAB; } | ||
52 | void setRemotePwPWM( const QString& n ) {mRemotePwPWM = n;} | ||
53 | QString getRemotePwPWM( ) { return mRemotePwPWM; } | ||
54 | |||
55 | void setRemoteIP( const QString& n ) {mRemoteIP = n;} | ||
56 | QString getRemoteIP( ) { return mRemoteIP; } | ||
57 | void setRemoteIPAB( const QString& n ) {mRemoteIPAB = n;} | ||
58 | QString getRemoteIPAB( ) { return mRemoteIPAB; } | ||
59 | void setRemoteIPPWM( const QString& n ) {mRemoteIPPWM = n;} | ||
60 | QString getRemoteIPPWM( ) { return mRemoteIPPWM; } | ||
61 | |||
62 | void setRemotePort( const QString& n ) {mRemotePort = n;} | ||
63 | QString getRemotePort( ) { return mRemotePort; } | ||
64 | void setRemotePortAB( const QString& n ) {mRemotePortAB = n;} | ||
65 | QString getRemotePortAB( ) { return mRemotePortAB; } | ||
66 | void setRemotePortPWM( const QString& n ) {mRemotePortPWM = n;} | ||
67 | QString getRemotePortPWM( ) { return mRemotePortPWM; } | ||
68 | |||
48 | void setPreSyncCommand( const QString& n ) {mPreSyncCommand = n;} | 69 | void setPreSyncCommand( const QString& n ) {mPreSyncCommand = n;} |
49 | QString getPreSyncCommand( ) { return mPreSyncCommand; } | 70 | QString getPreSyncCommand( ) { return mPreSyncCommand; } |
50 | void setPostSyncCommand( const QString& n ) {mPostSyncCommand = n;} | 71 | void setPostSyncCommand( const QString& n ) {mPostSyncCommand = n;} |
@@ -111,6 +132,8 @@ class KSyncProfile : public QObject { | |||
111 | bool getIsLocalFileSync( ) { return mIsLocalFileSync;} | 132 | bool getIsLocalFileSync( ) { return mIsLocalFileSync;} |
112 | void setIsPhoneSync( bool b ) { mIsPhoneSync= b;} | 133 | void setIsPhoneSync( bool b ) { mIsPhoneSync= b;} |
113 | bool getIsPhoneSync( ) { return mIsPhoneSync;} | 134 | bool getIsPhoneSync( ) { return mIsPhoneSync;} |
135 | void setIsPiSync( bool b ) { mIsPiSync= b;} | ||
136 | bool getIsPiSync( ) { return mIsPiSync;} | ||
114 | private: | 137 | private: |
115 | QString mName; | 138 | QString mName; |
116 | QString mPreSyncCommand; | 139 | QString mPreSyncCommand; |
@@ -126,6 +149,18 @@ class KSyncProfile : public QObject { | |||
126 | QString mLocalTempFilePWM; | 149 | QString mLocalTempFilePWM; |
127 | QString mRemoteFileNamePWM; | 150 | QString mRemoteFileNamePWM; |
128 | 151 | ||
152 | QString mRemotePw; | ||
153 | QString mRemoteIP; | ||
154 | QString mRemotePort; | ||
155 | |||
156 | QString mRemotePwAB; | ||
157 | QString mRemoteIPAB; | ||
158 | QString mRemotePortAB; | ||
159 | |||
160 | QString mRemotePwPWM; | ||
161 | QString mRemoteIPPWM; | ||
162 | QString mRemotePortPWM; | ||
163 | |||
129 | QString mPhoneDevice; | 164 | QString mPhoneDevice; |
130 | QString mPhoneConnection; | 165 | QString mPhoneConnection; |
131 | QString mPhoneModel; | 166 | QString mPhoneModel; |
@@ -143,6 +178,8 @@ class KSyncProfile : public QObject { | |||
143 | bool mIsLocalFileSync; | 178 | bool mIsLocalFileSync; |
144 | bool mIsPhoneSync; | 179 | bool mIsPhoneSync; |
145 | bool mWriteContactToSIM; | 180 | bool mWriteContactToSIM; |
181 | |||
182 | bool mIsPiSync; | ||
146 | }; | 183 | }; |
147 | 184 | ||
148 | #endif | 185 | #endif |