-rw-r--r-- | libkdepim/ksyncprofile.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/libkdepim/ksyncprofile.h b/libkdepim/ksyncprofile.h index aad63d3..91fcfc5 100644 --- a/libkdepim/ksyncprofile.h +++ b/libkdepim/ksyncprofile.h | |||
@@ -51,155 +51,166 @@ class KSyncProfile : public QObject { | |||
51 | QString getRemotePwAB( ) { return mRemotePwAB; } | 51 | QString getRemotePwAB( ) { return mRemotePwAB; } |
52 | void setRemotePwPWM( const QString& n ) {mRemotePwPWM = n;} | 52 | void setRemotePwPWM( const QString& n ) {mRemotePwPWM = n;} |
53 | QString getRemotePwPWM( ) { return mRemotePwPWM; } | 53 | QString getRemotePwPWM( ) { return mRemotePwPWM; } |
54 | 54 | ||
55 | void setRemoteIP( const QString& n ) {mRemoteIP = n;} | 55 | void setRemoteIP( const QString& n ) {mRemoteIP = n;} |
56 | QString getRemoteIP( ) { return mRemoteIP; } | 56 | QString getRemoteIP( ) { return mRemoteIP; } |
57 | void setRemoteIPAB( const QString& n ) {mRemoteIPAB = n;} | 57 | void setRemoteIPAB( const QString& n ) {mRemoteIPAB = n;} |
58 | QString getRemoteIPAB( ) { return mRemoteIPAB; } | 58 | QString getRemoteIPAB( ) { return mRemoteIPAB; } |
59 | void setRemoteIPPWM( const QString& n ) {mRemoteIPPWM = n;} | 59 | void setRemoteIPPWM( const QString& n ) {mRemoteIPPWM = n;} |
60 | QString getRemoteIPPWM( ) { return mRemoteIPPWM; } | 60 | QString getRemoteIPPWM( ) { return mRemoteIPPWM; } |
61 | 61 | ||
62 | void setRemotePort( const QString& n ) {mRemotePort = n;} | 62 | void setRemotePort( const QString& n ) {mRemotePort = n;} |
63 | QString getRemotePort( ) { return mRemotePort; } | 63 | QString getRemotePort( ) { return mRemotePort; } |
64 | void setRemotePortAB( const QString& n ) {mRemotePortAB = n;} | 64 | void setRemotePortAB( const QString& n ) {mRemotePortAB = n;} |
65 | QString getRemotePortAB( ) { return mRemotePortAB; } | 65 | QString getRemotePortAB( ) { return mRemotePortAB; } |
66 | void setRemotePortPWM( const QString& n ) {mRemotePortPWM = n;} | 66 | void setRemotePortPWM( const QString& n ) {mRemotePortPWM = n;} |
67 | QString getRemotePortPWM( ) { return mRemotePortPWM; } | 67 | QString getRemotePortPWM( ) { return mRemotePortPWM; } |
68 | 68 | ||
69 | void setPreSyncCommand( const QString& n ) {mPreSyncCommand = n;} | 69 | void setPreSyncCommand( const QString& n ) {mPreSyncCommand = n;} |
70 | QString getPreSyncCommand( ) { return mPreSyncCommand; } | 70 | QString getPreSyncCommand( ) { return mPreSyncCommand; } |
71 | void setPostSyncCommand( const QString& n ) {mPostSyncCommand = n;} | 71 | void setPostSyncCommand( const QString& n ) {mPostSyncCommand = n;} |
72 | QString getPostSyncCommand( ) { return mPostSyncCommand;} | 72 | QString getPostSyncCommand( ) { return mPostSyncCommand;} |
73 | void setLocalTempFile( const QString& n ) { mLocalTempFile= n;} | 73 | void setLocalTempFile( const QString& n ) { mLocalTempFile= n;} |
74 | QString getLocalTempFile( ) { return mLocalTempFile;} | 74 | QString getLocalTempFile( ) { return mLocalTempFile;} |
75 | void setRemoteFileName( const QString& n ) { mRemoteFileName = n;} | 75 | void setRemoteFileName( const QString& n ) { mRemoteFileName = n;} |
76 | QString getRemoteFileName( ) { return mRemoteFileName;} | 76 | QString getRemoteFileName( ) { return mRemoteFileName;} |
77 | 77 | ||
78 | void setPreSyncCommandAB( const QString& n ) {mPreSyncCommandAB = n;} | 78 | void setPreSyncCommandAB( const QString& n ) {mPreSyncCommandAB = n;} |
79 | QString getPreSyncCommandAB( ) { return mPreSyncCommandAB; } | 79 | QString getPreSyncCommandAB( ) { return mPreSyncCommandAB; } |
80 | void setPostSyncCommandAB( const QString& n ) {mPostSyncCommandAB = n;} | 80 | void setPostSyncCommandAB( const QString& n ) {mPostSyncCommandAB = n;} |
81 | QString getPostSyncCommandAB( ) { return mPostSyncCommandAB;} | 81 | QString getPostSyncCommandAB( ) { return mPostSyncCommandAB;} |
82 | void setLocalTempFileAB( const QString& n ) { mLocalTempFileAB= n;} | 82 | void setLocalTempFileAB( const QString& n ) { mLocalTempFileAB= n;} |
83 | QString getLocalTempFileAB( ) { return mLocalTempFileAB;} | 83 | QString getLocalTempFileAB( ) { return mLocalTempFileAB;} |
84 | void setRemoteFileNameAB( const QString& n ) { mRemoteFileNameAB = n;} | 84 | void setRemoteFileNameAB( const QString& n ) { mRemoteFileNameAB = n;} |
85 | QString getRemoteFileNameAB( ) { return mRemoteFileNameAB;} | 85 | QString getRemoteFileNameAB( ) { return mRemoteFileNameAB;} |
86 | 86 | ||
87 | void setPreSyncCommandPWM( const QString& n ) {mPreSyncCommandPWM = n;} | 87 | void setPreSyncCommandPWM( const QString& n ) {mPreSyncCommandPWM = n;} |
88 | QString getPreSyncCommandPWM( ) { return mPreSyncCommandPWM; } | 88 | QString getPreSyncCommandPWM( ) { return mPreSyncCommandPWM; } |
89 | void setPostSyncCommandPWM( const QString& n ) {mPostSyncCommandPWM = n;} | 89 | void setPostSyncCommandPWM( const QString& n ) {mPostSyncCommandPWM = n;} |
90 | QString getPostSyncCommandPWM( ) { return mPostSyncCommandPWM;} | 90 | QString getPostSyncCommandPWM( ) { return mPostSyncCommandPWM;} |
91 | void setLocalTempFilePWM( const QString& n ) { mLocalTempFilePWM= n;} | 91 | void setLocalTempFilePWM( const QString& n ) { mLocalTempFilePWM= n;} |
92 | QString getLocalTempFilePWM( ) { return mLocalTempFilePWM;} | 92 | QString getLocalTempFilePWM( ) { return mLocalTempFilePWM;} |
93 | void setRemoteFileNamePWM( const QString& n ) { mRemoteFileNamePWM = n;} | 93 | void setRemoteFileNamePWM( const QString& n ) { mRemoteFileNamePWM = n;} |
94 | QString getRemoteFileNamePWM( ) { return mRemoteFileNamePWM;} | 94 | QString getRemoteFileNamePWM( ) { return mRemoteFileNamePWM;} |
95 | 95 | ||
96 | void setPhoneDevice( const QString& n ) { mPhoneDevice = n;} | 96 | void setPhoneDevice( const QString& n ) { mPhoneDevice = n;} |
97 | QString getPhoneDevice( ) { return mPhoneDevice;} | 97 | QString getPhoneDevice( ) { return mPhoneDevice;} |
98 | void setPhoneConnection( const QString& n ) { mPhoneConnection = n;} | 98 | void setPhoneConnection( const QString& n ) { mPhoneConnection = n;} |
99 | QString getPhoneConnection( ) { return mPhoneConnection;} | 99 | QString getPhoneConnection( ) { return mPhoneConnection;} |
100 | void setPhoneModel( const QString& n ) { mPhoneModel = n;} | 100 | void setPhoneModel( const QString& n ) { mPhoneModel = n;} |
101 | QString getPhoneModel( ) { return mPhoneModel;} | 101 | QString getPhoneModel( ) { return mPhoneModel;} |
102 | /* | 102 | /* |
103 | void set( const QString& n ) { = n;} | 103 | void set( const QString& n ) { = n;} |
104 | QString get( ) { return ;} | 104 | QString get( ) { return ;} |
105 | */ | 105 | */ |
106 | 106 | ||
107 | void setFilterInCal (const QString& n ){ mFilterInCal = n;} | 107 | void setFilterInCal (const QString& n ){ mFilterInCal = n;} |
108 | void setFilterOutCal (const QString& n ){ mFilterOutCal = n;} | 108 | void setFilterOutCal (const QString& n ){ mFilterOutCal = n;} |
109 | void setFilterInAB (const QString& n ){ mFilterInAB = n;} | 109 | void setFilterInAB (const QString& n ){ mFilterInAB = n;} |
110 | void setFilterOutAB (const QString& n ){ mFilterOutAB = n;} | 110 | void setFilterOutAB (const QString& n ){ mFilterOutAB = n;} |
111 | QString getFilterInCal () { return mFilterInCal ;} | 111 | QString getFilterInCal () { return mFilterInCal ;} |
112 | QString getFilterOutCal () { return mFilterOutCal ;} | 112 | QString getFilterOutCal () { return mFilterOutCal ;} |
113 | QString getFilterInAB () { return mFilterInAB ;} | 113 | QString getFilterInAB () { return mFilterInAB ;} |
114 | QString getFilterOutAB () { return mFilterOutAB ;} | 114 | QString getFilterOutAB () { return mFilterOutAB ;} |
115 | 115 | ||
116 | void setName( const QString& n ) {mName = n;} | 116 | void setName( const QString& n ) {mName = n;} |
117 | QString getName( ) { return mName;} | 117 | QString getName( ) { return mName;} |
118 | void setShowSummaryAfterSync( bool b ) { mShowSummaryAfterSync = b;} | 118 | void setShowSummaryAfterSync( bool b ) { mShowSummaryAfterSync = b;} |
119 | bool getShowSummaryAfterSync( ) { return mShowSummaryAfterSync ;} | 119 | bool getShowSummaryAfterSync( ) { return mShowSummaryAfterSync ;} |
120 | void setAskForPreferences( bool b ) { mAskForPreferences= b;} | 120 | void setAskForPreferences( bool b ) { mAskForPreferences= b;} |
121 | bool getAskForPreferences( ) { return mAskForPreferences;} | 121 | bool getAskForPreferences( ) { return mAskForPreferences;} |
122 | void setWriteBackExisting( bool b ) { mWriteBackExisting = b;} | 122 | void setWriteBackExisting( bool b ) { mWriteBackExisting = b;} |
123 | bool getWriteBackExisting( ) { return mWriteBackExisting;} | 123 | bool getWriteBackExisting( ) { return mWriteBackExisting;} |
124 | void setWriteBackFuture( bool b ) { mWriteBackFuture = b;} | 124 | void setWriteBackFuture( bool b ) { mWriteBackFuture = b;} |
125 | bool getWriteBackFuture( ) { return mWriteBackFuture;} | 125 | bool getWriteBackFuture( ) { return mWriteBackFuture;} |
126 | void setWriteBackFile( bool b ) { mWriteBackFile= b;} | 126 | void setWriteBackFile( bool b ) { mWriteBackFile= b;} |
127 | bool getWriteBackFile( ) { return mWriteBackFile;} | 127 | bool getWriteBackFile( ) { return mWriteBackFile;} |
128 | void setWriteContactToSIM( bool b ) { mWriteContactToSIM= b;} | 128 | void setWriteContactToSIM( bool b ) { mWriteContactToSIM= b;} |
129 | bool getWriteContactToSIM( ) { return mWriteContactToSIM;} | 129 | bool getWriteContactToSIM( ) { return mWriteContactToSIM;} |
130 | void setIncludeInRingSync( bool b ) {mIncludeInRingSync = b;} | 130 | void setIncludeInRingSync( bool b ) {mIncludeInRingSync = b;} |
131 | bool getIncludeInRingSync( ) { return mIncludeInRingSync;} | 131 | bool getIncludeInRingSync( ) { return mIncludeInRingSync;} |
132 | void setIncludeInRingSyncAB( bool b ) {mIncludeInRingSyncAB = b;} | 132 | void setIncludeInRingSyncAB( bool b ) {mIncludeInRingSyncAB = b;} |
133 | bool getIncludeInRingSyncAB( ) { return mIncludeInRingSyncAB;} | 133 | bool getIncludeInRingSyncAB( ) { return mIncludeInRingSyncAB;} |
134 | void setIncludeInRingSyncPWM( bool b ) {mIncludeInRingSyncPWM = b;} | 134 | void setIncludeInRingSyncPWM( bool b ) {mIncludeInRingSyncPWM = b;} |
135 | bool getIncludeInRingSyncPWM( ) { return mIncludeInRingSyncPWM;} | 135 | bool getIncludeInRingSyncPWM( ) { return mIncludeInRingSyncPWM;} |
136 | void setSyncPrefs( int n ) { mSyncPrefs= n;} | 136 | void setSyncPrefs( int n ) { mSyncPrefs= n;} |
137 | int getSyncPrefs( ) { return mSyncPrefs;} | 137 | int getSyncPrefs( ) { return mSyncPrefs;} |
138 | void setWriteBackFutureWeeks( int n ) { mWriteBackFutureWeeks= n;} | 138 | void setWriteBackFutureWeeks( int n ) { mWriteBackFutureWeeks= n;} |
139 | int getWriteBackFutureWeeks( ) { return mWriteBackFutureWeeks;} | 139 | int getWriteBackFutureWeeks( ) { return mWriteBackFutureWeeks;} |
140 | void setWriteBackPastWeeks( int n ) { mWriteBackPastWeeks= n;} | 140 | void setWriteBackPastWeeks( int n ) { mWriteBackPastWeeks= n;} |
141 | int getWriteBackPastWeeks( ) { return mWriteBackPastWeeks;} | 141 | int getWriteBackPastWeeks( ) { return mWriteBackPastWeeks;} |
142 | void setIsLocalFileSync( bool b ) { mIsLocalFileSync= b;} | 142 | void setIsLocalFileSync( bool b ) { mIsLocalFileSync= b;} |
143 | bool getIsLocalFileSync( ) { return mIsLocalFileSync;} | 143 | bool getIsLocalFileSync( ) { return mIsLocalFileSync;} |
144 | void setIsPhoneSync( bool b ) { mIsPhoneSync= b;} | 144 | void setIsPhoneSync( bool b ) { mIsPhoneSync= b;} |
145 | bool getIsPhoneSync( ) { return mIsPhoneSync;} | 145 | bool getIsPhoneSync( ) { return mIsPhoneSync;} |
146 | void setIsPiSync( bool b ) { mIsPiSync= b;} | 146 | void setIsPiSync( bool b ) { mIsPiSync= b;} |
147 | void setIsPiSyncSpec( bool b ) { mIsPiSyncSpec= b;} | ||
147 | bool getIsPiSync( ) { return mIsPiSync;} | 148 | bool getIsPiSync( ) { return mIsPiSync;} |
149 | bool getIsPiSyncSpec( ) { return mIsPiSyncSpec;} | ||
148 | void setIsKapiFile( bool b ) { mIsKapiFile= b;} | 150 | void setIsKapiFile( bool b ) { mIsKapiFile= b;} |
149 | bool getIsKapiFile( ) { return mIsKapiFile;} | 151 | bool getIsKapiFile( ) { return mIsKapiFile;} |
152 | |||
153 | |||
154 | QString getResSpecKopi() { return mResSpecKopi;} | ||
155 | QString getResSpecKapi() { return mResSpecKapi;} | ||
156 | void setResSpecKopi( const QString& n ) {mResSpecKopi = n;} | ||
157 | void setResSpecKapi( const QString& n ) {mResSpecKapi = n;} | ||
150 | private: | 158 | private: |
151 | QString mName; | 159 | QString mName; |
152 | QString mPreSyncCommand; | 160 | QString mPreSyncCommand; |
153 | QString mPostSyncCommand; | 161 | QString mPostSyncCommand; |
154 | QString mLocalTempFile; | 162 | QString mLocalTempFile; |
155 | QString mRemoteFileName; | 163 | QString mRemoteFileName; |
156 | QString mPreSyncCommandAB; | 164 | QString mPreSyncCommandAB; |
157 | QString mPostSyncCommandAB; | 165 | QString mPostSyncCommandAB; |
158 | QString mLocalTempFileAB; | 166 | QString mLocalTempFileAB; |
159 | QString mRemoteFileNameAB; | 167 | QString mRemoteFileNameAB; |
160 | QString mPreSyncCommandPWM; | 168 | QString mPreSyncCommandPWM; |
161 | QString mPostSyncCommandPWM; | 169 | QString mPostSyncCommandPWM; |
162 | QString mLocalTempFilePWM; | 170 | QString mLocalTempFilePWM; |
163 | QString mRemoteFileNamePWM; | 171 | QString mRemoteFileNamePWM; |
164 | 172 | ||
165 | QString mRemotePw; | 173 | QString mRemotePw; |
166 | QString mRemoteIP; | 174 | QString mRemoteIP; |
167 | QString mRemotePort; | 175 | QString mRemotePort; |
168 | 176 | ||
169 | QString mRemotePwAB; | 177 | QString mRemotePwAB; |
170 | QString mRemoteIPAB; | 178 | QString mRemoteIPAB; |
171 | QString mRemotePortAB; | 179 | QString mRemotePortAB; |
172 | 180 | ||
173 | QString mRemotePwPWM; | 181 | QString mRemotePwPWM; |
174 | QString mRemoteIPPWM; | 182 | QString mRemoteIPPWM; |
175 | QString mRemotePortPWM; | 183 | QString mRemotePortPWM; |
176 | 184 | ||
177 | QString mPhoneDevice; | 185 | QString mPhoneDevice; |
178 | QString mPhoneConnection; | 186 | QString mPhoneConnection; |
179 | QString mPhoneModel; | 187 | QString mPhoneModel; |
180 | 188 | ||
181 | QString mFilterInCal; | 189 | QString mFilterInCal; |
182 | QString mFilterOutCal; | 190 | QString mFilterOutCal; |
183 | QString mFilterInAB; | 191 | QString mFilterInAB; |
184 | QString mFilterOutAB; | 192 | QString mFilterOutAB; |
185 | 193 | ||
186 | bool mIncludeInRingSync; | 194 | bool mIncludeInRingSync; |
187 | bool mIncludeInRingSyncAB; | 195 | bool mIncludeInRingSyncAB; |
188 | bool mIncludeInRingSyncPWM; | 196 | bool mIncludeInRingSyncPWM; |
189 | int mSyncPrefs; | 197 | int mSyncPrefs; |
190 | bool mWriteBackFile; | 198 | bool mWriteBackFile; |
191 | bool mWriteBackExisting; | 199 | bool mWriteBackExisting; |
192 | bool mWriteBackFuture; | 200 | bool mWriteBackFuture; |
193 | int mWriteBackFutureWeeks; | 201 | int mWriteBackFutureWeeks; |
194 | int mWriteBackPastWeeks; | 202 | int mWriteBackPastWeeks; |
195 | bool mAskForPreferences; | 203 | bool mAskForPreferences; |
196 | bool mShowSummaryAfterSync; | 204 | bool mShowSummaryAfterSync; |
197 | bool mIsLocalFileSync; | 205 | bool mIsLocalFileSync; |
198 | bool mIsPhoneSync; | 206 | bool mIsPhoneSync; |
199 | bool mWriteContactToSIM; | 207 | bool mWriteContactToSIM; |
200 | 208 | ||
201 | bool mIsPiSync; | 209 | bool mIsPiSync; |
210 | bool mIsPiSyncSpec; | ||
202 | bool mIsKapiFile; | 211 | bool mIsKapiFile; |
212 | QString mResSpecKopi; | ||
213 | QString mResSpecKapi; | ||
203 | }; | 214 | }; |
204 | 215 | ||
205 | #endif | 216 | #endif |