KABC::FormatPlugin Class Reference
Base class for address book formats. More...
#include <formatplugin.h>
Inheritance diagram for KABC::FormatPlugin:

Public Methods | |
virtual bool | load (Addressee &, QFile *file)=0 |
Load single addressee from file. | |
virtual bool | loadAll (AddressBook *, Resource *, QFile *file)=0 |
Load whole addressbook from file. | |
virtual void | save (const Addressee &, QFile *file)=0 |
Save a single Addressee to file. | |
virtual void | saveAll (AddressBook *, Resource *, QFile *file)=0 |
Save whole addressbook to file. | |
virtual bool | checkFormat (QFile *file) const=0 |
Checks if given file contains the right format. |
Detailed Description
Base class for address book formats.This class provides an abstract interface for ResourceFile and ResourceDir formats.
Definition at line 42 of file formatplugin.h.
Member Function Documentation
|
Load single addressee from file.
Implemented in KABC::BinaryFormat, and KABC::VCardFormatPlugin. |
|
Load whole addressbook from file.
Implemented in KABC::BinaryFormat, and KABC::VCardFormatPlugin. Referenced by KABC::ResourceIMAP::load(). |
|
Save a single Addressee to file.
Implemented in KABC::BinaryFormat, and KABC::VCardFormatPlugin. |
|
Save whole addressbook to file.
Implemented in KABC::BinaryFormat, and KABC::VCardFormatPlugin. Referenced by KABC::ResourceIMAP::save(). |
|
Checks if given file contains the right format.
Implemented in KABC::BinaryFormat, and KABC::VCardFormatPlugin. |
The documentation for this class was generated from the following file: