kabc
KABC::VCardFormat Class Reference
Interface of vCard backend for address book. More...
#include <vcardformat.h>
Inheritance diagram for KABC::VCardFormat:

Public Member Functions | |
bool | checkFormat (QFile *file) const |
bool | load (Addressee &, QFile *file) |
bool | loadAll (AddressBook *, Resource *, QFile *file) |
void | save (const Addressee &, QFile *file) |
void | saveAll (AddressBook *, Resource *, QFile *file) |
Detailed Description
Interface of vCard backend for address book.This class implements the file format interface of address book entries for the vCard format.
Definition at line 37 of file vcardformat.h.
Member Function Documentation
bool VCardFormat::checkFormat | ( | QFile * | file | ) | const [virtual] |
Checks if given file contains the right format.
Implements KABC::Format.
Definition at line 106 of file vcardformat.cpp.
bool VCardFormat::load | ( | Addressee & | , | |
QFile * | file | |||
) | [virtual] |
Load single addressee from file.
Implements KABC::Format.
Definition at line 40 of file vcardformat.cpp.
bool VCardFormat::loadAll | ( | AddressBook * | , | |
Resource * | , | |||
QFile * | file | |||
) | [virtual] |
Load whole addressbook from file.
Implements KABC::Format.
Definition at line 57 of file vcardformat.cpp.
void VCardFormat::save | ( | const Addressee & | , | |
QFile * | file | |||
) | [virtual] |
Save a single Addressee to file.
Implements KABC::Format.
Definition at line 78 of file vcardformat.cpp.
void VCardFormat::saveAll | ( | AddressBook * | , | |
Resource * | , | |||
QFile * | file | |||
) | [virtual] |
Save whole addressbook to file.
Implements KABC::Format.
Definition at line 90 of file vcardformat.cpp.
The documentation for this class was generated from the following files: