\section{KABC::Binary\-Format Class Reference}
\label{classKABC_1_1BinaryFormat}\index{KABC::BinaryFormat@{KABC::BinaryFormat}}
binary file format for addressbook entries.  


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

Inheritance diagram for KABC::Binary\-Format:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=72pt]{classKABC_1_1BinaryFormat__inherit__graph}
\end{center}
\end{figure}
Collaboration diagram for KABC::Binary\-Format:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=72pt]{classKABC_1_1BinaryFormat__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}
binary file format for addressbook entries. 



Definition at line 33 of file binaryformat.h.

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


Load single addressee from file. 



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

Definition at line 47 of file binaryformat.cpp.

References endl(), and kd\-Debug().\index{KABC::BinaryFormat@{KABC::Binary\-Format}!loadAll@{loadAll}}
\index{loadAll@{loadAll}!KABC::BinaryFormat@{KABC::Binary\-Format}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}bool Binary\-Format::load\-All ({\bf Address\-Book} $\ast$, Resource $\ast$, {\bf QFile} $\ast$ {\em file})\hspace{0.3cm}{\tt  [virtual]}}\label{classKABC_1_1BinaryFormat_a1}


Load whole addressee from file. 



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

Definition at line 60 of file binaryformat.cpp.

References endl(), kd\-Debug(), KABC::Addressee::set\-Changed(), and KABC::Addressee::set\-Resource().\index{KABC::BinaryFormat@{KABC::Binary\-Format}!save@{save}}
\index{save@{save}!KABC::BinaryFormat@{KABC::Binary\-Format}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void Binary\-Format::save (const {\bf Addressee} \&, {\bf QFile} $\ast$ {\em file})\hspace{0.3cm}{\tt  [virtual]}}\label{classKABC_1_1BinaryFormat_a2}


Save single addressee to file. 



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

Definition at line 84 of file binaryformat.cpp.

References endl(), and kd\-Debug().\index{KABC::BinaryFormat@{KABC::Binary\-Format}!saveAll@{saveAll}}
\index{saveAll@{saveAll}!KABC::BinaryFormat@{KABC::Binary\-Format}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void Binary\-Format::save\-All ({\bf Address\-Book} $\ast$, Resource $\ast$, {\bf QFile} $\ast$ {\em file})\hspace{0.3cm}{\tt  [virtual]}}\label{classKABC_1_1BinaryFormat_a3}


Save all addressees to file. 



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

Definition at line 97 of file binaryformat.cpp.

References QData\-Stream::device(), endl(), and kd\-Debug().\index{KABC::BinaryFormat@{KABC::Binary\-Format}!checkFormat@{checkFormat}}
\index{checkFormat@{checkFormat}!KABC::BinaryFormat@{KABC::Binary\-Format}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}bool Binary\-Format::check\-Format ({\bf QFile} $\ast$ {\em file}) const\hspace{0.3cm}{\tt  [virtual]}}\label{classKABC_1_1BinaryFormat_a4}


Check for valid format of a file. 



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

Definition at line 120 of file binaryformat.cpp.

References endl(), and kd\-Debug().

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