stdaddressbook.cpp
bool save(Ticket *ticket)
Saves all addressees of one resource synchronously.
Definition: addressbook.cpp:373
static StdAddressBook * self()
Returns the standard addressbook object.
Definition: stdaddressbook.cpp:57
TQString locateLocal(const char *type, const TQString &filename, const TDEInstance *instance=TDEGlobal::instance())
Addressee findByUid(const TQString &uid)
Searches an addressee with the specified unique identifier.
Definition: addressbook.cpp:569
static TQString fileName()
Returns the default file name for vcard-based addressbook.
Definition: stdaddressbook.cpp:43
kdbgstream kdDebug(int area=0)
void savingFinished(Resource *resource)
Emitted when the asynchronous saving of one resource has finished after calling asyncSave().
virtual void destructObject()
KDE_DEPRECATED type * setObject(type *obj, bool isArray=false)
static bool automaticSave()
Returns whether the address book is saved at destruction time.
Definition: stdaddressbook.cpp:183
static TQString directoryName()
Returns the default directory name for vcard-based addressbook.
Definition: stdaddressbook.cpp:48
void loadingFinished(Resource *resource)
Emitted when the asynchronous loading of one resource has finished after calling asyncLoad().
Ticket * requestSaveTicket(Resource *resource=0)
Requests a ticket for saving the addressbook.
Definition: addressbook.cpp:488
Helper class for handling coordinated save of address books.
Definition: resource.h:37
static void setAutomaticSave(bool state)
Sets the automatic save property of the address book.
Definition: stdaddressbook.cpp:178
bool addResource(Resource *resource)
Adds a resource to the address book.
Definition: addressbook.cpp:704
Addressee whoAmI()
Returns the contact, that is associated with the owner of the address book.
Definition: stdaddressbook.cpp:189
void releaseSaveTicket(Ticket *ticket)
Releases the ticket requested previously with requestSaveTicket().
Definition: addressbook.cpp:508
static void handleCrash() KDE_DEPRECATED
Definition: stdaddressbook.cpp:53
kndbgstream & endl(kndbgstream &s)
void error(const TQString &msg)
Shows GUI independent error messages.
Definition: addressbook.cpp:772
static bool save() KDE_DEPRECATED
Saves the standard address book to disk.
Definition: stdaddressbook.cpp:163