.TH "KABC::VCardFormatPlugin" kde3 "11 Jun 2005" "Version Version 3.4.1" "kabc Library" \" -*- nroff -*-
.ad l
.nh
.SH NAME
KABC::VCardFormatPlugin \- Interface of vCard backend for address book.  

.PP
.SH SYNOPSIS
.br
.PP
\fC#include <vcardformatplugin.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
.ti -1c
.RI "bool \fBloadAll\fP (\fBAddressBook\fP *, Resource *, \fBQFile\fP *file)"
.br
.ti -1c
.RI "void \fBsave\fP (const \fBAddressee\fP &, \fBQFile\fP *file)"
.br
.ti -1c
.RI "void \fBsaveAll\fP (\fBAddressBook\fP *, Resource *, \fBQFile\fP *file)"
.br
.ti -1c
.RI "bool \fBcheckFormat\fP (\fBQFile\fP *file) const "
.br
.in -1c
.SH "Detailed Description"
.PP 
Interface of vCard backend for address book. 

This class implements the file format interface of address book entries for the vCard format. 
.PP
Definition at line 37 of file vcardformatplugin.h.
.SH "Member Function Documentation"
.PP 
.SS "bool VCardFormatPlugin::load (\fBAddressee\fP &, \fBQFile\fP * file)\fC [virtual]\fP"
.PP
Load single addressee from file. 
.PP
Implements \fBKABC::FormatPlugin\fP.
.PP
Definition at line 39 of file vcardformatplugin.cpp.
.PP
References QValueList::first(), QValueList::isEmpty(), KABC::VCardConverter::parseVCards(), QTextStream::read(), and QTextStream::setEncoding().
.SS "bool VCardFormatPlugin::loadAll (\fBAddressBook\fP *, Resource *, \fBQFile\fP * file)\fC [virtual]\fP"
.PP
Load whole addressbook from file. 
.PP
Implements \fBKABC::FormatPlugin\fP.
.PP
Definition at line 58 of file vcardformatplugin.cpp.
.PP
References QValueList::begin(), QValueList::end(), KABC::VCardConverter::parseVCards(), QTextStream::read(), KABC::Addressee::setChanged(), QTextStream::setEncoding(), and KABC::Addressee::setResource().
.SS "void VCardFormatPlugin::save (const \fBAddressee\fP &, \fBQFile\fP * file)\fC [virtual]\fP"
.PP
Save a single \fBAddressee\fP to file. 
.PP
Implements \fBKABC::FormatPlugin\fP.
.PP
Definition at line 81 of file vcardformatplugin.cpp.
.PP
References QValueList::append(), KABC::VCardConverter::createVCards(), and QTextStream::setEncoding().
.SS "void VCardFormatPlugin::saveAll (\fBAddressBook\fP *, Resource *, \fBQFile\fP * file)\fC [virtual]\fP"
.PP
Save whole addressbook to file. 
.PP
Implements \fBKABC::FormatPlugin\fP.
.PP
Definition at line 94 of file vcardformatplugin.cpp.
.PP
References QValueList::append(), KABC::VCardConverter::createVCards(), and QTextStream::setEncoding().
.SS "bool VCardFormatPlugin::checkFormat (\fBQFile\fP * file) const\fC [virtual]\fP"
.PP
Checks if given file contains the right format. 
.PP
Implements \fBKABC::FormatPlugin\fP.
.PP
Definition at line 110 of file vcardformatplugin.cpp.
.PP
References QString::stripWhiteSpace().

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