kabc
resourcedir.cpp
void emitAddressBookLocked()
Emits the signal addressBookLocked() using this as the parameter.
Definition addressbook.h:589
Format * format(const QString &type)
Returns a pointer to a format object or a null pointer if format type doesn't exist.
Definition formatfactory.cpp:145
virtual void save(const Addressee &, QFile *file)=0
Save a single Addressee to file.
virtual bool loadAll(AddressBook *, Resource *, QFile *file)=0
Load whole addressbook from file.
virtual bool checkFormat(QFile *file) const =0
Checks if given file contains the right format.
This class provides locking functionality for a file, directory or an arbitrary string-represented re...
Definition lock.h:35
Definition resourcedir.h:38
virtual void writeConfig(KConfigGroup &group)
Writes the resource specific config to file.
Definition resourcedir.cpp:134
virtual bool asyncSave(Ticket *ticket)
Saves all addressees asynchronously.
Definition resourcedir.cpp:284
virtual void removeAddressee(const Addressee &addr)
Remove a addressee from its source.
Definition resourcedir.cpp:327
virtual void releaseSaveTicket(Ticket *ticket)
Releases the ticket previousely requested with requestSaveTicket().
Definition resourcedir.cpp:170
QString path() const
Return path used for loading and saving the address book.
Definition resourcedir.cpp:307
virtual Ticket * requestSaveTicket()
Request a ticket, you have to pass through save() to allow locking.
Definition resourcedir.cpp:147
Definition resource.h:65
Ticket * createTicket(Resource *)
Factory method, just creates and returns a new Ticket for the given resource.
Definition resource.cpp:279
void savingFinished(Resource *resource)
This signal is emitted when the resource has finished the saving of all addressees from the internal ...
Addressee::Map mAddrMap
A mapping from KABC UIDs to the respective addressee.
Definition resource.h:527
void savingError(Resource *resource, const QString &msg)
This signal is emitted when an error occurred during saving the addressees from the internal cache to...
virtual void writeConfig(KConfigGroup &group)
Writes the resource specific config to file.
Definition resource.cpp:264
void loadingError(Resource *resource, const QString &msg)
This signal is emitted when an error occurred during loading the addressees from the backend to the i...
void loadingFinished(Resource *resource)
This signal is emitted when the resource has finished the loading of all addressees from the backend ...
static QString directoryName()
Returns the default directory name for vcard-based addressbook.
Definition stdaddressbook.cpp:69
virtual QString resourceName() const
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Wed Jan 24 2024 00:00:00 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Wed Jan 24 2024 00:00:00 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.