kabc
#include <format.h>
Public Member Functions | |
| virtual bool | checkFormat (QFile *file) const =0 |
| virtual bool | load (Addressee &, QFile *file)=0 |
| virtual bool | loadAll (AddressBook *, Resource *, QFile *file)=0 |
| virtual void | save (const Addressee &, QFile *file)=0 |
| virtual void | saveAll (AddressBook *, Resource *, QFile *file)=0 |
| Public Member Functions inherited from KABC::Plugin | |
| Plugin () | |
| virtual | ~Plugin () |
| virtual QString | descriptionLabel () const |
| virtual QString | nameLabel () const |
| virtual void | setDescriptionLabel (const QString &label) |
| virtual void | setNameLabel (const QString &label) |
| virtual void | setType (const QString &type) |
| virtual QString | type () const |
Detailed Description
Base class for address book formats.
This class provides an abstract interface for ResourceFile and ResourceDir formats.
Member Function Documentation
◆ checkFormat()
|
pure virtual |
Checks if given file contains the right format.
Implemented in KABC::BinaryFormat, and KABC::VCardFormat.
◆ load()
|
pure virtual |
Load single addressee from file.
Implemented in KABC::BinaryFormat, and KABC::VCardFormat.
◆ loadAll()
|
pure virtual |
Load whole addressbook from file.
Implemented in KABC::BinaryFormat, and KABC::VCardFormat.
◆ save()
|
pure virtual |
Save a single Addressee to file.
Implemented in KABC::BinaryFormat, and KABC::VCardFormat.
◆ saveAll()
|
pure virtual |
Save whole addressbook to file.
Implemented in KABC::BinaryFormat, and KABC::VCardFormat.
The documentation for this class was generated from the following file:
Documentation copyright © 1996-2025 The KDE developers.
Generated on Thu Jul 24 2025 00:00:00 by doxygen 1.14.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.