-rw-r--r-- | kabc/addressbook.h | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/kabc/addressbook.h b/kabc/addressbook.h index 3a8e028..f89d7da 100644 --- a/kabc/addressbook.h +++ b/kabc/addressbook.h @@ -44,7 +44,7 @@ class Ticket; /** @short Address Book - + This class provides access to a collection of address book entries. */ class AddressBook : public QObject @@ -58,7 +58,7 @@ class AddressBook : public QObject public: /** @short Address Book Iterator - + This class provides an iterator for address book entries. */ class Iterator @@ -85,7 +85,7 @@ class AddressBook : public QObject /** @short Address Book Const Iterator - + This class provides a const iterator for address book entries. */ class ConstIterator @@ -94,7 +94,7 @@ class AddressBook : public QObject ConstIterator(); ConstIterator( const ConstIterator & ); ~ConstIterator(); - + ConstIterator &operator=( const ConstIterator & ); const Addressee &operator*() const; const Addressee* operator->() const; @@ -108,14 +108,15 @@ class AddressBook : public QObject struct ConstIteratorData; ConstIteratorData *d; }; - + /** Constructs a address book object. - + @param format File format class. */ AddressBook(); AddressBook( const QString &config ); + AddressBook( const QString &config, const QString &family ); virtual ~AddressBook(); /** @@ -123,11 +124,11 @@ class AddressBook : public QObject the addressbook for all other processes. If the address book is already locked the function returns 0. You need the returned @ref Ticket object for calling the @ref save() function. - + @see save() */ Ticket *requestSaveTicket( Resource *resource=0 ); - + /** Load address book from file. */ @@ -136,7 +137,7 @@ class AddressBook : public QObject /** Save address book. The address book is saved to the file, the Ticket object has been requested for by @ref requestSaveTicket(). - + @param ticket a ticket object returned by @ref requestSaveTicket() */ bool save( Ticket *ticket ); @@ -165,7 +166,7 @@ class AddressBook : public QObject Removes all entries from address book. */ void clear(); - + /** Insert an Addressee object into address book. If an object with the same unique id already exists in the address book it it replaced by the new @@ -243,7 +244,7 @@ class AddressBook : public QObject /** Add custom field to address book. - + @param label User visible label of the field. @param category Ored list of field categories. @param key Identifier used as key for reading and writing the field. @@ -254,7 +255,7 @@ class AddressBook : public QObject const QString &key = QString::null, const QString &app = QString::null ); - + /** Add address book resource. */ @@ -308,12 +309,11 @@ class AddressBook : public QObject Resource *standardResource(); KRES::Manager<Resource> *resourceManager(); + void init(const QString &config, const QString &family); + private: //US QPtrList<Resource> mDummy; // Remove in KDE 4 -//US optimization - void init(const QString &config); - struct AddressBookData; AddressBookData *d; |