author | ulf69 <ulf69> | 2004-08-02 18:33:07 (UTC) |
---|---|---|
committer | ulf69 <ulf69> | 2004-08-02 18:33:07 (UTC) |
commit | 60a6886f06be31ec690df34dc8e3b8931c2d3bd7 (patch) (side-by-side diff) | |
tree | c4c7c15cfd3753a3342806a11fb8f5c20bb4f923 /kabc/addressbook.h | |
parent | 863c4c3678e59ef125c08c00e9532ded5b540f67 (diff) | |
download | kdepimpi-60a6886f06be31ec690df34dc8e3b8931c2d3bd7.zip kdepimpi-60a6886f06be31ec690df34dc8e3b8931c2d3bd7.tar.gz kdepimpi-60a6886f06be31ec690df34dc8e3b8931c2d3bd7.tar.bz2 |
added support for syncable resources
-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 @@ -45,5 +45,5 @@ class Ticket; /** @short Address Book - + This class provides access to a collection of address book entries. */ @@ -59,5 +59,5 @@ class AddressBook : public QObject /** @short Address Book Iterator - + This class provides an iterator for address book entries. */ @@ -86,5 +86,5 @@ class AddressBook : public QObject /** @short Address Book Const Iterator - + This class provides a const iterator for address book entries. */ @@ -95,5 +95,5 @@ class AddressBook : public QObject ConstIterator( const ConstIterator & ); ~ConstIterator(); - + ConstIterator &operator=( const ConstIterator & ); const Addressee &operator*() const; @@ -109,12 +109,13 @@ class AddressBook : public QObject 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(); @@ -124,9 +125,9 @@ class AddressBook : public QObject 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. @@ -137,5 +138,5 @@ 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() */ @@ -166,5 +167,5 @@ class AddressBook : public QObject */ void clear(); - + /** Insert an Addressee object into address book. If an object with the same @@ -244,5 +245,5 @@ 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. @@ -255,5 +256,5 @@ class AddressBook : public QObject const QString &app = QString::null ); - + /** Add address book resource. @@ -309,10 +310,9 @@ class AddressBook : public QObject 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; |