KABC::ResourceNet Class Reference
Inheritance diagram for KABC::ResourceNet:

Public Member Functions | |
ResourceNet (const KConfig *) | |
ResourceNet (const KURL &url, const QString &format) | |
virtual void | writeConfig (KConfig *) |
virtual bool | doOpen () |
virtual void | doClose () |
virtual Ticket * | requestSaveTicket () |
virtual void | releaseSaveTicket (Ticket *) |
virtual bool | load () |
virtual bool | asyncLoad () |
virtual bool | save (Ticket *) |
virtual bool | asyncSave (Ticket *) |
void | setUrl (const KURL &) |
KURL | url () const |
void | setFormat (const QString &name) |
QString | format () const |
Protected Member Functions | |
void | init (const KURL &url, const QString &format) |
Detailed Description
Definition at line 44 of file resourcenet.h.
Member Function Documentation
|
Writes the resource specific config to file.
Reimplemented from KABC::Resource. |
|
Request a ticket, you have to pass through save() to allow locking. The resource has to create its locks in this function. Implements KABC::Resource. |
|
Releases the ticket previousely requested with requestSaveTicket(). The resource has to remove its locks in this function. This function is also responsible for deleting the ticket. Implements KABC::Resource. |
|
Loads all addressees synchronously.
Implements KABC::Resource. |
|
Loads all addressees asyncronously. You have to make sure that either the loadingFinished() or loadingError() signal is emitted from within this function. The default implementation simply calls the synchronous load.
Reimplemented from KABC::Resource. |
|
Saves all addressees synchronously.
Implements KABC::Resource. |
|
Saves all addressees asynchronously. You have to make sure that either the savingFinished() or savingError() signal is emitted from within this function. The default implementation simply calls the synchronous save.
Reimplemented from KABC::Resource. |
|
Set url of directory to be used for saving.
Referenced by KABC::ResourceNetConfig::saveSettings(). |
|
Return url of directory used for loading and saving the address book.
Referenced by KABC::ResourceNetConfig::loadSettings(). |
|
Sets a new format by name.
Referenced by KABC::ResourceNetConfig::saveSettings(). |
|
Returns the format name.
Referenced by KABC::ResourceNetConfig::loadSettings(). |
The documentation for this class was generated from the following file: