\section{KABC::VCard\-Format\-Plugin Class Reference}
\label{classKABC_1_1VCardFormatPlugin}\index{KABC::VCardFormatPlugin@{KABC::VCardFormatPlugin}}
Interface of v\-Card backend for address book.  


{\tt \#include $<$vcardformatplugin.h$>$}

Inheritance diagram for KABC::VCard\-Format\-Plugin:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=86pt]{classKABC_1_1VCardFormatPlugin__inherit__graph}
\end{center}
\end{figure}
Collaboration diagram for KABC::VCard\-Format\-Plugin:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=86pt]{classKABC_1_1VCardFormatPlugin__coll__graph}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{CompactItemize}
\item 
bool {\bf load} ({\bf Addressee} \&, {\bf QFile} $\ast$file)
\item 
bool {\bf load\-All} ({\bf Address\-Book} $\ast$, Resource $\ast$, {\bf QFile} $\ast$file)
\item 
void {\bf save} (const {\bf Addressee} \&, {\bf QFile} $\ast$file)
\item 
void {\bf save\-All} ({\bf Address\-Book} $\ast$, Resource $\ast$, {\bf QFile} $\ast$file)
\item 
bool {\bf check\-Format} ({\bf QFile} $\ast$file) const 
\end{CompactItemize}


\subsection{Detailed Description}
Interface of v\-Card backend for address book. 

This class implements the file format interface of address book entries for the v\-Card format. 



Definition at line 37 of file vcardformatplugin.h.

\subsection{Member Function Documentation}
\index{KABC::VCardFormatPlugin@{KABC::VCard\-Format\-Plugin}!load@{load}}
\index{load@{load}!KABC::VCardFormatPlugin@{KABC::VCard\-Format\-Plugin}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}bool VCard\-Format\-Plugin::load ({\bf Addressee} \&, {\bf QFile} $\ast$ {\em file})\hspace{0.3cm}{\tt  [virtual]}}\label{classKABC_1_1VCardFormatPlugin_a2}


Load single addressee from file. 



Implements {\bf KABC::Format\-Plugin} {\rm (p.\,\pageref{classKABC_1_1FormatPlugin_a0})}.

Definition at line 39 of file vcardformatplugin.cpp.

References QValue\-List::first(), QValue\-List::is\-Empty(), KABC::VCard\-Converter::parse\-VCards(), QText\-Stream::read(), and QText\-Stream::set\-Encoding().\index{KABC::VCardFormatPlugin@{KABC::VCard\-Format\-Plugin}!loadAll@{loadAll}}
\index{loadAll@{loadAll}!KABC::VCardFormatPlugin@{KABC::VCard\-Format\-Plugin}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}bool VCard\-Format\-Plugin::load\-All ({\bf Address\-Book} $\ast$, Resource $\ast$, {\bf QFile} $\ast$ {\em file})\hspace{0.3cm}{\tt  [virtual]}}\label{classKABC_1_1VCardFormatPlugin_a3}


Load whole addressbook from file. 



Implements {\bf KABC::Format\-Plugin} {\rm (p.\,\pageref{classKABC_1_1FormatPlugin_a1})}.

Definition at line 58 of file vcardformatplugin.cpp.

References QValue\-List::begin(), QValue\-List::end(), KABC::VCard\-Converter::parse\-VCards(), QText\-Stream::read(), KABC::Addressee::set\-Changed(), QText\-Stream::set\-Encoding(), and KABC::Addressee::set\-Resource().\index{KABC::VCardFormatPlugin@{KABC::VCard\-Format\-Plugin}!save@{save}}
\index{save@{save}!KABC::VCardFormatPlugin@{KABC::VCard\-Format\-Plugin}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void VCard\-Format\-Plugin::save (const {\bf Addressee} \&, {\bf QFile} $\ast$ {\em file})\hspace{0.3cm}{\tt  [virtual]}}\label{classKABC_1_1VCardFormatPlugin_a4}


Save a single {\bf Addressee}{\rm (p.\,\pageref{classKABC_1_1Addressee})} to file. 



Implements {\bf KABC::Format\-Plugin} {\rm (p.\,\pageref{classKABC_1_1FormatPlugin_a2})}.

Definition at line 81 of file vcardformatplugin.cpp.

References QValue\-List::append(), KABC::VCard\-Converter::create\-VCards(), and QText\-Stream::set\-Encoding().\index{KABC::VCardFormatPlugin@{KABC::VCard\-Format\-Plugin}!saveAll@{saveAll}}
\index{saveAll@{saveAll}!KABC::VCardFormatPlugin@{KABC::VCard\-Format\-Plugin}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void VCard\-Format\-Plugin::save\-All ({\bf Address\-Book} $\ast$, Resource $\ast$, {\bf QFile} $\ast$ {\em file})\hspace{0.3cm}{\tt  [virtual]}}\label{classKABC_1_1VCardFormatPlugin_a5}


Save whole addressbook to file. 



Implements {\bf KABC::Format\-Plugin} {\rm (p.\,\pageref{classKABC_1_1FormatPlugin_a3})}.

Definition at line 94 of file vcardformatplugin.cpp.

References QValue\-List::append(), KABC::VCard\-Converter::create\-VCards(), and QText\-Stream::set\-Encoding().\index{KABC::VCardFormatPlugin@{KABC::VCard\-Format\-Plugin}!checkFormat@{checkFormat}}
\index{checkFormat@{checkFormat}!KABC::VCardFormatPlugin@{KABC::VCard\-Format\-Plugin}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}bool VCard\-Format\-Plugin::check\-Format ({\bf QFile} $\ast$ {\em file}) const\hspace{0.3cm}{\tt  [virtual]}}\label{classKABC_1_1VCardFormatPlugin_a6}


Checks if given file contains the right format. 



Implements {\bf KABC::Format\-Plugin} {\rm (p.\,\pageref{classKABC_1_1FormatPlugin_a4})}.

Definition at line 110 of file vcardformatplugin.cpp.

References QString::strip\-White\-Space().

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