-rw-r--r-- | kabc/addressbook.h | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/kabc/addressbook.h b/kabc/addressbook.h index 3383fc0..3a8e028 100644 --- a/kabc/addressbook.h +++ b/kabc/addressbook.h | |||
@@ -28,22 +28,16 @@ $Id$ | |||
28 | #ifndef KABC_ADDRESSBOOK_H | 28 | #ifndef KABC_ADDRESSBOOK_H |
29 | #define KABC_ADDRESSBOOK_H | 29 | #define KABC_ADDRESSBOOK_H |
30 | 30 | ||
31 | #include <qobject.h> | 31 | #include <qobject.h> |
32 | 32 | ||
33 | #include <kresources/manager.h> | 33 | #include <kresources/manager.h> |
34 | #include <qptrlist.h> | 34 | #include <qptrlist.h> |
35 | 35 | ||
36 | #ifndef KAB_EMBEDDED | ||
37 | |||
38 | #else //KAB_EMBEDDED | ||
39 | #endif //KAB_EMBEDDED | ||
40 | |||
41 | |||
42 | #include "addressee.h" | 36 | #include "addressee.h" |
43 | #include "field.h" | 37 | #include "field.h" |
44 | 38 | ||
45 | namespace KABC { | 39 | namespace KABC { |
46 | 40 | ||
47 | class ErrorHandler; | 41 | class ErrorHandler; |
48 | class Resource; | 42 | class Resource; |
49 | class Ticket; | 43 | class Ticket; |
@@ -310,24 +304,20 @@ class AddressBook : public QObject | |||
310 | 304 | ||
311 | protected: | 305 | protected: |
312 | void deleteRemovedAddressees(); | 306 | void deleteRemovedAddressees(); |
313 | void setStandardResource( Resource * ); | 307 | void setStandardResource( Resource * ); |
314 | Resource *standardResource(); | 308 | Resource *standardResource(); |
315 | KRES::Manager<Resource> *resourceManager(); | 309 | KRES::Manager<Resource> *resourceManager(); |
316 | 310 | ||
317 | private: | 311 | private: |
318 | #ifndef KAB_EMBEDDED | 312 | //US QPtrList<Resource> mDummy; // Remove in KDE 4 |
319 | QPtrList<Resource> mDummy; // Remove in KDE 4 | ||
320 | #endif //KAB_EMBEDDED | ||
321 | 313 | ||
322 | #ifdef KAB_EMBEDDED | ||
323 | //US optimization | 314 | //US optimization |
324 | void init(const QString &config); | 315 | void init(const QString &config); |
325 | #endif //KAB_EMBEDDED | ||
326 | 316 | ||
327 | 317 | ||
328 | struct AddressBookData; | 318 | struct AddressBookData; |
329 | AddressBookData *d; | 319 | AddressBookData *d; |
330 | }; | 320 | }; |
331 | 321 | ||
332 | QDataStream &operator<<( QDataStream &, const AddressBook & ); | 322 | QDataStream &operator<<( QDataStream &, const AddressBook & ); |
333 | QDataStream &operator>>( QDataStream &, AddressBook & ); | 323 | QDataStream &operator>>( QDataStream &, AddressBook & ); |