kabc
KABC::Format Class Reference
#include <format.h>
Inheritance diagram for KABC::Format:

Detailed Description
Base class for address book formats.This class provides an abstract interface for ResourceFile and ResourceDir formats.
For internal use only.
Definition at line 42 of file 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 |
Member Function Documentation
virtual bool KABC::Format::checkFormat | ( | QFile * | file | ) | const [pure virtual] |
Checks if given file contains the right format.
Implemented in KABC::BinaryFormat, and KABC::VCardFormat.
virtual bool KABC::Format::load | ( | Addressee & | , | |
QFile * | file | |||
) | [pure virtual] |
virtual bool KABC::Format::loadAll | ( | AddressBook * | , | |
Resource * | , | |||
QFile * | file | |||
) | [pure virtual] |
virtual void KABC::Format::save | ( | const Addressee & | , | |
QFile * | file | |||
) | [pure virtual] |
virtual void KABC::Format::saveAll | ( | AddressBook * | , | |
Resource * | , | |||
QFile * | file | |||
) | [pure virtual] |
The documentation for this class was generated from the following file: