\section{KABC::VCard21Parser Class Reference}
\label{classKABC_1_1VCard21Parser}\index{KABC::VCard21Parser@{KABC::VCard21Parser}}
{\tt \#include $<$vcard21parser.h$>$}

\subsection*{Public Member Functions}
\begin{CompactItemize}
\item 
{\bf VCard21Parser} ()
\item 
virtual {\bf $\sim$VCard21Parser} ()
\item 
void {\bf read\-From\-String} ({\bf KABC::Address\-Book} $\ast$ab, const {\bf QString} \&str)
\item 
{\bf KABC::Addressee} {\bf read\-From\-String} (const {\bf QString} \&data)
\end{CompactItemize}
\subsection*{Static Public Member Functions}
\begin{CompactItemize}
\item 
static {\bf KABC::Address} {\bf read\-Address\-From\-QString\-List} (const {\bf QString\-List} \&data, const int type)
\end{CompactItemize}


\subsection{Detailed Description}
\begin{Desc}
\item[{\bf Deprecated}]use {\bf VCard\-Converter}{\rm (p.\,\pageref{classKABC_1_1VCardConverter})} instead. \end{Desc}




Definition at line 142 of file vcard21parser.h.

\subsection{Constructor \& Destructor Documentation}
\index{KABC::VCard21Parser@{KABC::VCard21Parser}!VCard21Parser@{VCard21Parser}}
\index{VCard21Parser@{VCard21Parser}!KABC::VCard21Parser@{KABC::VCard21Parser}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}VCard21Parser::VCard21Parser ()}\label{classKABC_1_1VCard21Parser_a0}


Constructor. 



Definition at line 194 of file vcard21parser.cpp.\index{KABC::VCard21Parser@{KABC::VCard21Parser}!~VCard21Parser@{$\sim$VCard21Parser}}
\index{~VCard21Parser@{$\sim$VCard21Parser}!KABC::VCard21Parser@{KABC::VCard21Parser}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}VCard21Parser::$\sim${\bf VCard21Parser} ()\hspace{0.3cm}{\tt  [virtual]}}\label{classKABC_1_1VCard21Parser_a1}


Destructor. 



Definition at line 198 of file vcard21parser.cpp.

\subsection{Member Function Documentation}
\index{KABC::VCard21Parser@{KABC::VCard21Parser}!readFromString@{readFromString}}
\index{readFromString@{readFromString}!KABC::VCard21Parser@{KABC::VCard21Parser}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void VCard21Parser::read\-From\-String ({\bf KABC::Address\-Book} $\ast$ {\em ab}, const {\bf QString} \& {\em str})}\label{classKABC_1_1VCard21Parser_a2}


Parses a string in vcard2.1 format and saves the single addressees to the address book. 

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em ab}]The address book. \item[{\em str}]The vcard string. \end{description}
\end{Desc}


Definition at line 202 of file vcard21parser.cpp.\index{KABC::VCard21Parser@{KABC::VCard21Parser}!readFromString@{readFromString}}
\index{readFromString@{readFromString}!KABC::VCard21Parser@{KABC::VCard21Parser}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf KABC::Addressee} VCard21Parser::read\-From\-String (const {\bf QString} \& {\em data})}\label{classKABC_1_1VCard21Parser_a3}


Parses a string in vcard2.1 format and returns the inherent addressee. 



Definition at line 208 of file vcard21parser.cpp.

References VCard21Parser\-Impl::\_\-vcdata, QValue\-List::begin(), QValue\-List::end(), endl(), VCard21Parser\-Impl::get\-Value(), VCard21Parser\-Impl::get\-Values(), KABC::Addressee::insert\-Address(), KABC::Addressee::insert\-Email(), KABC::Addressee::insert\-Phone\-Number(), QString::is\-Empty(), kd\-Debug(), read\-Address\-From\-QString\-List(), QString::replace(), KABC::Address::set\-Label(), QString::to\-Float(), QString::to\-Int(), and KABC::VCard\-String\-To\-Date().\index{KABC::VCard21Parser@{KABC::VCard21Parser}!readAddressFromQStringList@{readAddressFromQStringList}}
\index{readAddressFromQStringList@{readAddressFromQStringList}!KABC::VCard21Parser@{KABC::VCard21Parser}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf KABC::Address} VCard21Parser::read\-Address\-From\-QString\-List (const {\bf QString\-List} \& {\em data}, const int {\em type})\hspace{0.3cm}{\tt  [static]}}\label{classKABC_1_1VCard21Parser_e0}


Helper method to store a address. 

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em data}]A string list, that is filled with 'street', 'house number' ... \item[{\em type}]The type of the returned address. \end{description}
\end{Desc}


Definition at line 370 of file vcard21parser.cpp.

References KABC::Address::set\-Country(), KABC::Address::set\-Extended(), KABC::Address::set\-Locality(), KABC::Address::set\-Postal\-Code(), KABC::Address::set\-Post\-Office\-Box(), KABC::Address::set\-Region(), KABC::Address::set\-Street(), and KABC::Address::set\-Type().

Referenced by read\-From\-String().

The documentation for this class was generated from the following files:\begin{CompactItemize}
\item 
vcard21parser.h\item 
vcard21parser.cpp\end{CompactItemize}
