TDEABC::FormatPlugin Class Referenceabstract
#include <formatplugin.h>
Inheritance diagram for TDEABC::FormatPlugin:
Public Member Functions | |
virtual bool | load (Addressee &, TQFile *file)=0 |
virtual bool | loadAll (AddressBook *, Resource *, TQFile *file)=0 |
virtual void | save (const Addressee &, TQFile *file)=0 |
virtual void | saveAll (AddressBook *, Resource *, TQFile *file)=0 |
virtual bool | checkFormat (TQFile *file) const =0 |
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
◆ checkFormat()
|
pure virtual |
Checks if given file contains the right format.
Implemented in TDEABC::VCardFormatPlugin, and TDEABC::BinaryFormat.
◆ load()
|
pure virtual |
Load single addressee from file.
Implemented in TDEABC::VCardFormatPlugin, and TDEABC::BinaryFormat.
◆ loadAll()
|
pure virtual |
Load whole addressbook from file.
Implemented in TDEABC::VCardFormatPlugin, and TDEABC::BinaryFormat.
◆ save()
|
pure virtual |
Save a single Addressee to file.
Implemented in TDEABC::VCardFormatPlugin, and TDEABC::BinaryFormat.
◆ saveAll()
|
pure virtual |
Save whole addressbook to file.
Implemented in TDEABC::VCardFormatPlugin, and TDEABC::BinaryFormat.
The documentation for this class was generated from the following file: