-rw-r--r-- | libkdepim/ksyncmanager.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libkdepim/ksyncmanager.h b/libkdepim/ksyncmanager.h index 9094aac..7d5b05e 100644 --- a/libkdepim/ksyncmanager.h +++ b/libkdepim/ksyncmanager.h | |||
@@ -141,64 +141,65 @@ class KSyncManager : public QObject | |||
141 | int mWriteBackInFuture; | 141 | int mWriteBackInFuture; |
142 | QString mPhoneDevice; | 142 | QString mPhoneDevice; |
143 | QString mPhoneConnection; | 143 | QString mPhoneConnection; |
144 | QString mPhoneModel; | 144 | QString mPhoneModel; |
145 | QString mPassWordPiSync; | 145 | QString mPassWordPiSync; |
146 | QString mActiveSyncPort; | 146 | QString mActiveSyncPort; |
147 | QString mActiveSyncIP ; | 147 | QString mActiveSyncIP ; |
148 | 148 | ||
149 | signals: | 149 | signals: |
150 | void save(); | 150 | void save(); |
151 | void request_file(); | 151 | void request_file(); |
152 | void getFile( bool ); | 152 | void getFile( bool ); |
153 | 153 | ||
154 | public slots: | 154 | public slots: |
155 | void slotSyncMenu( int ); | 155 | void slotSyncMenu( int ); |
156 | void deleteCommandSocket(KCommandSocket*s, int state); | 156 | void deleteCommandSocket(KCommandSocket*s, int state); |
157 | void readFileFromSocket(); | 157 | void readFileFromSocket(); |
158 | void fillSyncMenu(); | 158 | void fillSyncMenu(); |
159 | 159 | ||
160 | private: | 160 | private: |
161 | void syncPi(); | 161 | void syncPi(); |
162 | KServerSocket * mServerSocket; | 162 | KServerSocket * mServerSocket; |
163 | void enableQuick(); | 163 | void enableQuick(); |
164 | KPimPrefs* mPrefs; | 164 | KPimPrefs* mPrefs; |
165 | QString mDefFileName; | 165 | QString mDefFileName; |
166 | QString mCurrentSyncDevice; | 166 | QString mCurrentSyncDevice; |
167 | QString mCurrentSyncName; | 167 | QString mCurrentSyncName; |
168 | void quickSyncLocalFile(); | 168 | void quickSyncLocalFile(); |
169 | bool syncWithFile( QString fn , bool quick ); | 169 | bool syncWithFile( QString fn , bool quick ); |
170 | void syncLocalFile(); | 170 | void syncLocalFile(); |
171 | void syncPhone(); | 171 | void syncPhone(); |
172 | void syncSharp(); | 172 | void syncSharp(); |
173 | void syncKDE(); | ||
173 | bool syncExternalApplication(QString); | 174 | bool syncExternalApplication(QString); |
174 | int mCurrentSyncProfile ; | 175 | int mCurrentSyncProfile ; |
175 | void syncRemote( KSyncProfile* prof, bool ask = true); | 176 | void syncRemote( KSyncProfile* prof, bool ask = true); |
176 | void edit_sync_options(); | 177 | void edit_sync_options(); |
177 | void edit_pisync_options(); | 178 | void edit_pisync_options(); |
178 | int ringSync(); | 179 | int ringSync(); |
179 | QString getPassword( ); | 180 | QString getPassword( ); |
180 | 181 | ||
181 | private slots: | 182 | private slots: |
182 | void confSync(); | 183 | void confSync(); |
183 | private: | 184 | private: |
184 | bool mBlockSaveFlag; | 185 | bool mBlockSaveFlag; |
185 | QWidget* mParent; | 186 | QWidget* mParent; |
186 | KSyncInterface* mImplementation; | 187 | KSyncInterface* mImplementation; |
187 | TargetApp mTargetApp; | 188 | TargetApp mTargetApp; |
188 | QPopupMenu* mSyncMenu; | 189 | QPopupMenu* mSyncMenu; |
189 | QProgressBar* bar; | 190 | QProgressBar* bar; |
190 | 191 | ||
191 | }; | 192 | }; |
192 | 193 | ||
193 | 194 | ||
194 | class KSyncInterface | 195 | class KSyncInterface |
195 | { | 196 | { |
196 | public : | 197 | public : |
197 | virtual bool sync(KSyncManager* manager, QString filename, int mode) = 0; | 198 | virtual bool sync(KSyncManager* manager, QString filename, int mode) = 0; |
198 | virtual bool syncExternal(KSyncManager* manager, QString resource) | 199 | virtual bool syncExternal(KSyncManager* manager, QString resource) |
199 | { | 200 | { |
200 | // empty implementation, because some syncable applications do not | 201 | // empty implementation, because some syncable applications do not |
201 | // have an external(sharpdtm) syncmode, like pwmanager. | 202 | // have an external(sharpdtm) syncmode, like pwmanager. |
202 | return false; | 203 | return false; |
203 | } | 204 | } |
204 | 205 | ||