-rw-r--r-- | kabc/addressbook.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/kabc/addressbook.h b/kabc/addressbook.h index e43de31..05225f9 100644 --- a/kabc/addressbook.h +++ b/kabc/addressbook.h | |||
@@ -267,48 +267,53 @@ class AddressBook : public QObject | |||
267 | */ | 267 | */ |
268 | bool removeResource( Resource * ); | 268 | bool removeResource( Resource * ); |
269 | 269 | ||
270 | /** | 270 | /** |
271 | Return pointer list of all resources. | 271 | Return pointer list of all resources. |
272 | */ | 272 | */ |
273 | QPtrList<Resource> resources(); | 273 | QPtrList<Resource> resources(); |
274 | 274 | ||
275 | /** | 275 | /** |
276 | Set the @p ErrorHandler, that is used by @ref error() to | 276 | Set the @p ErrorHandler, that is used by @ref error() to |
277 | provide gui-independend error messages. | 277 | provide gui-independend error messages. |
278 | */ | 278 | */ |
279 | void setErrorHandler( ErrorHandler * ); | 279 | void setErrorHandler( ErrorHandler * ); |
280 | 280 | ||
281 | /** | 281 | /** |
282 | Shows gui independend error messages. | 282 | Shows gui independend error messages. |
283 | */ | 283 | */ |
284 | void error( const QString& ); | 284 | void error( const QString& ); |
285 | 285 | ||
286 | /** | 286 | /** |
287 | Query all resources to clean up their lock files | 287 | Query all resources to clean up their lock files |
288 | */ | 288 | */ |
289 | void cleanUp(); | 289 | void cleanUp(); |
290 | 290 | ||
291 | // sync stuff | ||
292 | Addressee::List getExternLastSyncAddressees(); | ||
293 | void resetTempSyncStat(); | ||
294 | |||
295 | |||
291 | signals: | 296 | signals: |
292 | /** | 297 | /** |
293 | Emitted, when the address book has changed on disk. | 298 | Emitted, when the address book has changed on disk. |
294 | */ | 299 | */ |
295 | void addressBookChanged( AddressBook * ); | 300 | void addressBookChanged( AddressBook * ); |
296 | 301 | ||
297 | /** | 302 | /** |
298 | Emitted, when the address book has been locked for writing. | 303 | Emitted, when the address book has been locked for writing. |
299 | */ | 304 | */ |
300 | void addressBookLocked( AddressBook * ); | 305 | void addressBookLocked( AddressBook * ); |
301 | 306 | ||
302 | /** | 307 | /** |
303 | Emitted, when the address book has been unlocked. | 308 | Emitted, when the address book has been unlocked. |
304 | */ | 309 | */ |
305 | void addressBookUnlocked( AddressBook * ); | 310 | void addressBookUnlocked( AddressBook * ); |
306 | 311 | ||
307 | protected: | 312 | protected: |
308 | void deleteRemovedAddressees(); | 313 | void deleteRemovedAddressees(); |
309 | void setStandardResource( Resource * ); | 314 | void setStandardResource( Resource * ); |
310 | Resource *standardResource(); | 315 | Resource *standardResource(); |
311 | KRES::Manager<Resource> *resourceManager(); | 316 | KRES::Manager<Resource> *resourceManager(); |
312 | 317 | ||
313 | void init(const QString &config, const QString &family); | 318 | void init(const QString &config, const QString &family); |
314 | 319 | ||