addressbook.h
void insertAddressee(const Addressee &addr)
Insert an addressee into the address book.
Definition addressbook.cpp:518
Iterator find(const Addressee &addr)
Returns an iterator pointing to the specified addressee.
Definition addressbook.cpp:558
void addressBookUnlocked(AddressBook *addressBook)
Emitted when one of the resources has been unlocked.
Addressee::List findByEmail(const TQString &email)
Searches all addressees which match the specified email address.
Definition addressbook.cpp:603
bool asyncSave(Ticket *ticket)
Saves all addressees of one resource asynchronously.
Definition addressbook.cpp:387
void loadingFinished(Resource *resource)
Emitted when the asynchronous loading of one resource has finished after calling asyncLoad().
void removeAddressee(const Addressee &addr)
Removes an addressee from the address book.
Definition addressbook.cpp:546
bool addResource(Resource *resource)
Adds a resource to the address book.
Definition addressbook.cpp:704
void releaseSaveTicket(Ticket *ticket)
Releases the ticket requested previously with requestSaveTicket().
Definition addressbook.cpp:508
void savingFinished(Resource *resource)
Emitted when the asynchronous saving of one resource has finished after calling asyncSave().
void addressBookLocked(AddressBook *addressBook)
Emitted when one of the resources has been locked for writing.
Ticket * requestSaveTicket(Resource *resource=0)
Requests a ticket for saving the addressbook.
Definition addressbook.cpp:488
void setErrorHandler(ErrorHandler *errorHandler)
Sets the ErrorHandler, that is used by error() to provide GUI independent error messages.
Definition addressbook.cpp:766
Addressee::List allAddressees()
Returns a list of all addressees in the address book.
Definition addressbook.cpp:581
bool addCustomField(const TQString &label, int category=Field::All, const TQString &key=TQString::null, const TQString &app=TQString::null)
Add custom field to address book.
Definition addressbook.cpp:669
Field::List fields(int category=Field::All)
Returns a list of all Fields known to the address book which are associated with the given field cate...
Definition addressbook.cpp:651
ConstIterator begin() const
Returns an iterator pointing to the first addressee of address book.
Definition addressbook.cpp:428
virtual TQString identifier()
Returns a string identifying this addressbook.
Definition addressbook.cpp:637
bool removeResource(Resource *resource)
Removes a resource from the address book.
Definition addressbook.cpp:727
bool save(Ticket *ticket)
Saves all addressees of one resource synchronously.
Definition addressbook.cpp:373
void addressBookChanged(AddressBook *addressBook)
Emitted when one of the resources discovered a change in its backend or the asynchronous loading of a...
Addressee::List findByName(const TQString &name)
Searches all addressees which match the specified name.
Definition addressbook.cpp:592
Addressee::List findByCategory(const TQString &category)
Searches all addressees which belongs to the specified category.
Definition addressbook.cpp:614
Addressee findByUid(const TQString &uid)
Searches an addressee with the specified unique identifier.
Definition addressbook.cpp:569
ConstIterator end() const
Returns an iterator pointing to the last addressee of address book.
Definition addressbook.cpp:468
Abstract class that provides displaying of error messages.
Definition errorhandler.h:41
kdbgstream & operator<<(const TQValueList< T > &list)
Trinity API Reference