KABC::BinaryFormat Class Reference
binary file format for addressbook entries. More...
#include <binaryformat.h>
Inheritance diagram for KABC::BinaryFormat:


| Public Member Functions | |
| bool | load (Addressee &, QFile *file) | 
| bool | loadAll (AddressBook *, Resource *, QFile *file) | 
| void | save (const Addressee &, QFile *file) | 
| void | saveAll (AddressBook *, Resource *, QFile *file) | 
| bool | checkFormat (QFile *file) const | 
Detailed Description
binary file format for addressbook entries.
Definition at line 33 of file binaryformat.h.
Member Function Documentation
| 
 | ||||||||||||
| Load single addressee from file. 
 Implements KABC::FormatPlugin. Definition at line 47 of file binaryformat.cpp. | 
| 
 | ||||||||||||||||
| Load whole addressee from file. 
 Implements KABC::FormatPlugin. Definition at line 60 of file binaryformat.cpp. References endl(), kdDebug(), KABC::Addressee::setChanged(), and KABC::Addressee::setResource(). | 
| 
 | ||||||||||||
| Save single addressee to file. 
 Implements KABC::FormatPlugin. Definition at line 84 of file binaryformat.cpp. | 
| 
 | ||||||||||||||||
| Save all addressees to file. 
 Implements KABC::FormatPlugin. Definition at line 97 of file binaryformat.cpp. References QDataStream::device(), endl(), and kdDebug(). | 
| 
 | 
| Check for valid format of a file. 
 Implements KABC::FormatPlugin. Definition at line 120 of file binaryformat.cpp. | 
The documentation for this class was generated from the following files:

