-rw-r--r-- | kabc/addressbook.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kabc/addressbook.h b/kabc/addressbook.h index 2f2678b..f40e015 100644 --- a/kabc/addressbook.h +++ b/kabc/addressbook.h | |||
@@ -264,66 +264,66 @@ class AddressBook : public QObject | |||
264 | 264 | ||
265 | /** | 265 | /** |
266 | Remove address book resource. | 266 | Remove address book resource. |
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 | 291 | // sync stuff |
292 | //Addressee::List getExternLastSyncAddressees(); | 292 | //Addressee::List getExternLastSyncAddressees(); |
293 | void resetTempSyncStat(); | 293 | void resetTempSyncStat(); |
294 | QStringList uidList(); | 294 | QStringList uidList(); |
295 | void removeDeletedAddressees(); | 295 | void removeDeletedAddressees(); |
296 | 296 | void mergeAB( AddressBook *aBook, const QString& profile ); | |
297 | 297 | Addressee findByExternUid( const QString& uid , const QString& profile ); | |
298 | signals: | 298 | signals: |
299 | /** | 299 | /** |
300 | Emitted, when the address book has changed on disk. | 300 | Emitted, when the address book has changed on disk. |
301 | */ | 301 | */ |
302 | void addressBookChanged( AddressBook * ); | 302 | void addressBookChanged( AddressBook * ); |
303 | 303 | ||
304 | /** | 304 | /** |
305 | Emitted, when the address book has been locked for writing. | 305 | Emitted, when the address book has been locked for writing. |
306 | */ | 306 | */ |
307 | void addressBookLocked( AddressBook * ); | 307 | void addressBookLocked( AddressBook * ); |
308 | 308 | ||
309 | /** | 309 | /** |
310 | Emitted, when the address book has been unlocked. | 310 | Emitted, when the address book has been unlocked. |
311 | */ | 311 | */ |
312 | void addressBookUnlocked( AddressBook * ); | 312 | void addressBookUnlocked( AddressBook * ); |
313 | 313 | ||
314 | protected: | 314 | protected: |
315 | void deleteRemovedAddressees(); | 315 | void deleteRemovedAddressees(); |
316 | void setStandardResource( Resource * ); | 316 | void setStandardResource( Resource * ); |
317 | Resource *standardResource(); | 317 | Resource *standardResource(); |
318 | KRES::Manager<Resource> *resourceManager(); | 318 | KRES::Manager<Resource> *resourceManager(); |
319 | 319 | ||
320 | void init(const QString &config, const QString &family); | 320 | void init(const QString &config, const QString &family); |
321 | 321 | ||
322 | private: | 322 | private: |
323 | //US QPtrList<Resource> mDummy; // Remove in KDE 4 | 323 | //US QPtrList<Resource> mDummy; // Remove in KDE 4 |
324 | 324 | ||
325 | 325 | ||
326 | struct AddressBookData; | 326 | struct AddressBookData; |
327 | AddressBookData *d; | 327 | AddressBookData *d; |
328 | bool blockLSEchange; | 328 | bool blockLSEchange; |
329 | }; | 329 | }; |