.TH "KABC::VCard21Parser" kde3 "11 Jun 2005" "Version Version 3.4.1" "kabc Library" \" -*- nroff -*-
.ad l
.nh
.SH NAME
KABC::VCard21Parser \- 
.SH SYNOPSIS
.br
.PP
\fC#include <vcard21parser.h>\fP
.PP
.SS "Public Member Functions"

.in +1c
.ti -1c
.RI "\fBVCard21Parser\fP ()"
.br
.ti -1c
.RI "virtual \fB~VCard21Parser\fP ()"
.br
.ti -1c
.RI "void \fBreadFromString\fP (\fBKABC::AddressBook\fP *ab, const \fBQString\fP &str)"
.br
.ti -1c
.RI "\fBKABC::Addressee\fP \fBreadFromString\fP (const \fBQString\fP &data)"
.br
.in -1c
.SS "Static Public Member Functions"

.in +1c
.ti -1c
.RI "static \fBKABC::Address\fP \fBreadAddressFromQStringList\fP (const \fBQStringList\fP &data, const int type)"
.br
.in -1c
.SH "Detailed Description"
.PP 
\fBDeprecated\fP
.RS 4
use \fBVCardConverter\fP instead. 
.RE
.PP

.PP
Definition at line 142 of file vcard21parser.h.
.SH "Constructor & Destructor Documentation"
.PP 
.SS "VCard21Parser::VCard21Parser ()"
.PP
Constructor. 
.PP
Definition at line 194 of file vcard21parser.cpp.
.SS "VCard21Parser::~\fBVCard21Parser\fP ()\fC [virtual]\fP"
.PP
Destructor. 
.PP
Definition at line 198 of file vcard21parser.cpp.
.SH "Member Function Documentation"
.PP 
.SS "void VCard21Parser::readFromString (\fBKABC::AddressBook\fP * ab, const \fBQString\fP & str)"
.PP
Parses a string in vcard2.1 format and saves the single addressees to the address book. 
.PP
\fBParameters:\fP
.RS 4
\fIab\fP The address book. 
.br
\fIstr\fP The vcard string. 
.RE
.PP

.PP
Definition at line 202 of file vcard21parser.cpp.
.SS "\fBKABC::Addressee\fP VCard21Parser::readFromString (const \fBQString\fP & data)"
.PP
Parses a string in vcard2.1 format and returns the inherent addressee. 
.PP
Definition at line 208 of file vcard21parser.cpp.
.PP
References VCard21ParserImpl::_vcdata, QValueList::begin(), QValueList::end(), endl(), VCard21ParserImpl::getValue(), VCard21ParserImpl::getValues(), KABC::Addressee::insertAddress(), KABC::Addressee::insertEmail(), KABC::Addressee::insertPhoneNumber(), QString::isEmpty(), kdDebug(), readAddressFromQStringList(), QString::replace(), KABC::Address::setLabel(), QString::toFloat(), QString::toInt(), and KABC::VCardStringToDate().
.SS "\fBKABC::Address\fP VCard21Parser::readAddressFromQStringList (const \fBQStringList\fP & data, const int type)\fC [static]\fP"
.PP
Helper method to store a address. 
.PP
\fBParameters:\fP
.RS 4
\fIdata\fP A string list, that is filled with 'street', 'house number' ... 
.br
\fItype\fP The type of the returned address. 
.RE
.PP

.PP
Definition at line 370 of file vcard21parser.cpp.
.PP
References KABC::Address::setCountry(), KABC::Address::setExtended(), KABC::Address::setLocality(), KABC::Address::setPostalCode(), KABC::Address::setPostOfficeBox(), KABC::Address::setRegion(), KABC::Address::setStreet(), and KABC::Address::setType().
.PP
Referenced by readFromString().

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