.TH "KABC::BinaryFormat" 3 "28 Jan 2004" "kabc Library" \" -*- nroff -*-
.ad l
.nh
.SH NAME
KABC::BinaryFormat \- binary file format for addressbook entries.  

.PP
.SH SYNOPSIS
.br
.PP
\fC#include <binaryformat.h>\fP
.PP
Inherits \fBKABC::FormatPlugin\fP.
.PP
.SS "Public Member Functions"

.in +1c
.ti -1c
.RI "bool \fBload\fP (\fBAddressee\fP &, \fBQFile\fP *file)"
.br
.RI "\fILoad single addressee from file. \fP"
.ti -1c
.RI "bool \fBloadAll\fP (\fBAddressBook\fP *, Resource *, \fBQFile\fP *file)"
.br
.RI "\fILoad whole addressee from file. \fP"
.ti -1c
.RI "void \fBsave\fP (const  \fBAddressee\fP &, \fBQFile\fP *file)"
.br
.RI "\fISave single addressee to file. \fP"
.ti -1c
.RI "void \fBsaveAll\fP (\fBAddressBook\fP *, Resource *, \fBQFile\fP *file)"
.br
.RI "\fISave all addressees to file. \fP"
.ti -1c
.RI "bool \fBcheckFormat\fP (\fBQFile\fP *file) const "
.br
.RI "\fICheck for valid format of a file. \fP"
.in -1c
.SH "Detailed Description"
.PP 
binary file format for addressbook entries. Definition at line 33 of file binaryformat.h.
.SH "Member Function Documentation"
.PP 
.SS "bool BinaryFormat::load (\fBAddressee\fP &, \fBQFile\fP * file)\fC [virtual]\fP"
.PP
Load single addressee from file. Implements \fBKABC::FormatPlugin\fP.
.PP
Definition at line 47 of file binaryformat.cpp.
.SS "bool BinaryFormat::loadAll (\fBAddressBook\fP *, Resource *, \fBQFile\fP * file)\fC [virtual]\fP"
.PP
Load whole addressee from file. Implements \fBKABC::FormatPlugin\fP.
.PP
Definition at line 60 of file binaryformat.cpp.
.PP
References KABC::AddressBook::insertAddressee(), and KABC::Addressee::setResource().
.SS "void BinaryFormat::save (const \fBAddressee\fP &, \fBQFile\fP * file)\fC [virtual]\fP"
.PP
Save single addressee to file. Implements \fBKABC::FormatPlugin\fP.
.PP
Definition at line 83 of file binaryformat.cpp.
.SS "void BinaryFormat::saveAll (\fBAddressBook\fP *, Resource *, \fBQFile\fP * file)\fC [virtual]\fP"
.PP
Save all addressees to file. Implements \fBKABC::FormatPlugin\fP.
.PP
Definition at line 96 of file binaryformat.cpp.
.PP
References KABC::AddressBook::begin(), QDataStream::device(), and KABC::AddressBook::end().
.SS "bool BinaryFormat::checkFormat (\fBQFile\fP * file) const\fC [virtual]\fP"
.PP
Check for valid format of a file. Implements \fBKABC::FormatPlugin\fP.
.PP
Definition at line 121 of file binaryformat.cpp.

.SH "Author"
.PP 
Generated automatically by Doxygen for kabc Library from the source code.
