\section{KABC::Addressee Class Reference}
\label{classKABC_1_1Addressee}\index{KABC::Addressee@{KABC::Addressee}}
address book entry  


{\tt \#include $<$addressee.src.h$>$}

Collaboration diagram for KABC::Addressee:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=153pt]{classKABC_1_1Addressee__coll__graph}
\end{center}
\end{figure}
\subsection*{Public Types}
\begin{CompactItemize}
\item 
typedef {\bf QValue\-List}$<$ {\bf Addressee} $>$ {\bf List}\label{classKABC_1_1Addressee_w0}

\item 
typedef {\bf QMap}$<$ {\bf QString}, {\bf Addressee} $>$ {\bf Map}\label{classKABC_1_1Addressee_w1}

\end{CompactItemize}
\subsection*{Public Member Functions}
\begin{CompactItemize}
\item 
{\bf Addressee} ()
\item 
{\bf Addressee} (const {\bf Addressee} \&)\label{classKABC_1_1Addressee_a2}

\item 
{\bf Addressee} \& {\bf operator=} (const {\bf Addressee} \&)\label{classKABC_1_1Addressee_a3}

\item 
bool {\bf operator==} (const {\bf Addressee} \&) const \label{classKABC_1_1Addressee_a4}

\item 
bool {\bf operator!=} (const {\bf Addressee} \&) const \label{classKABC_1_1Addressee_a5}

\item 
bool {\bf is\-Empty} () const 
\item 
void {\bf set\-Uid} (const {\bf QString} \&uid)
\item 
{\bf QString} {\bf uid} () const 
\item 
DECLARATIONS void {\bf set\-Name\-From\-String} (const {\bf QString} \&)
\item 
{\bf QString} {\bf real\-Name} () const 
\item 
{\bf QString} {\bf assembled\-Name} () const 
\item 
{\bf QString} {\bf full\-Email} (const {\bf QString} \&email=QString::null) const 
\item 
void {\bf insert\-Email} (const {\bf QString} \&email, bool preferred=false)
\item 
void {\bf remove\-Email} (const {\bf QString} \&email)
\item 
{\bf QString} {\bf preferred\-Email} () const 
\item 
{\bf QString\-List} {\bf emails} () const 
\item 
void {\bf set\-Emails} (const {\bf QString\-List} \&list)
\item 
void {\bf insert\-Phone\-Number} (const {\bf Phone\-Number} \&phone\-Number)
\item 
void {\bf remove\-Phone\-Number} (const {\bf Phone\-Number} \&phone\-Number)
\item 
{\bf Phone\-Number} {\bf phone\-Number} (int type) const 
\item 
{\bf Phone\-Number::List} {\bf phone\-Numbers} () const 
\item 
{\bf Phone\-Number::List} {\bf phone\-Numbers} (int type) const 
\item 
{\bf Phone\-Number} {\bf find\-Phone\-Number} (const {\bf QString} \&id) const 
\item 
void {\bf insert\-Key} (const {\bf Key} \&key)
\item 
void {\bf remove\-Key} (const {\bf Key} \&key)
\item 
{\bf Key} {\bf key} (int type, {\bf QString} custom\-Type\-String=QString::null) const 
\item 
{\bf Key::List} {\bf keys} () const 
\item 
void {\bf set\-Keys} (const {\bf Key::List} \&keys)
\item 
{\bf Key::List} {\bf keys} (int type, {\bf QString} custom\-Type\-String=QString::null) const 
\item 
{\bf Key} {\bf find\-Key} (const {\bf QString} \&id) const 
\item 
void {\bf insert\-Address} (const {\bf Address} \&address)
\item 
void {\bf remove\-Address} (const {\bf Address} \&address)
\item 
{\bf Address} {\bf address} (int type) const 
\item 
{\bf Address::List} {\bf addresses} () const 
\item 
{\bf Address::List} {\bf addresses} (int type) const 
\item 
{\bf Address} {\bf find\-Address} (const {\bf QString} \&id) const 
\item 
void {\bf insert\-Category} (const {\bf QString} \&)
\item 
void {\bf remove\-Category} (const {\bf QString} \&)
\item 
bool {\bf has\-Category} (const {\bf QString} \&) const 
\item 
void {\bf set\-Categories} (const {\bf QString\-List} \&)
\item 
{\bf QString\-List} {\bf categories} () const 
\item 
void {\bf insert\-Custom} (const {\bf QString} \&app, const {\bf QString} \&name, const {\bf QString} \&value)
\item 
void {\bf remove\-Custom} (const {\bf QString} \&app, const {\bf QString} \&name)
\item 
{\bf QString} {\bf custom} (const {\bf QString} \&app, const {\bf QString} \&name) const 
\item 
void {\bf set\-Customs} (const {\bf QString\-List} \&)
\item 
{\bf QString\-List} {\bf customs} () const 
\item 
void {\bf dump} () const 
\item 
{\bf QString} {\bf as\-String} () const 
\item 
void {\bf set\-Resource} (Resource $\ast$resource)
\item 
Resource $\ast$ {\bf resource} () const 
\item 
void {\bf set\-Changed} (bool value)
\item 
bool {\bf changed} () const 
\item 
bool {\bf operator$<$} (const {\bf Addressee} \&addr)\label{classKABC_1_1Addressee_a53}

\end{CompactItemize}
\subsection*{Static Public Member Functions}
\begin{CompactItemize}
\item 
static {\bf QString} {\bf uid\-Label} ()
\item 
static void {\bf parse\-Email\-Address} (const {\bf QString} \&raw\-Email, {\bf QString} \&full\-Name, {\bf QString} \&email)
\item 
static void {\bf set\-Sort\-Mode} ({\bf KABC::Sort\-Mode} $\ast$mode)\label{classKABC_1_1Addressee_e2}

\end{CompactItemize}
\subsection*{Friends}
\begin{CompactItemize}
\item 
KABC\_\-EXPORT {\bf QData\-Stream} \& {\bf operator$<$$<$} ({\bf QData\-Stream} \&, const {\bf Addressee} \&)\label{classKABC_1_1Addressee_n0}

\item 
KABC\_\-EXPORT {\bf QData\-Stream} \& {\bf operator$>$$>$} ({\bf QData\-Stream} \&, {\bf Addressee} \&)\label{classKABC_1_1Addressee_n1}

\end{CompactItemize}


\subsection{Detailed Description}
address book entry 

This class represents an entry in the address book.

The data of this class is implicitly shared. You can pass this class by value.

If you need the name of a field for presenting it to the user you should use the functions ending in Label(). They return a translated string which can be used as label for the corresponding field.

About the name fields:

given\-Name() is the first name and family\-Name() the last name. In some countries the family name comes first, that's the reason for the naming. formatted\-Name() is the full name with the correct formatting. It is used as an override, when the correct formatting can't be generated from the other name fields automatically.

{\bf real\-Name()}{\rm (p.\,\pageref{classKABC_1_1Addressee_a10})} returns a fully formatted name(). It uses formatted\-Name, if set, otherwise it constucts the name from the name fields. As fallback, if nothing else is set it uses name().

name() is the NAME type of RFC2426. It can be used as internal name for the data enty, but shouldn't be used for displaying the data to the user. 



Definition at line 74 of file addressee.src.h.

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


Construct an empty address book entry. 



\subsection{Member Function Documentation}
\index{KABC::Addressee@{KABC::Addressee}!isEmpty@{isEmpty}}
\index{isEmpty@{isEmpty}!KABC::Addressee@{KABC::Addressee}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}bool KABC::Addressee::is\-Empty () const}\label{classKABC_1_1Addressee_a6}


Return, if the address book entry is empty. 

\index{KABC::Addressee@{KABC::Addressee}!setUid@{setUid}}
\index{setUid@{setUid}!KABC::Addressee@{KABC::Addressee}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KABC::Addressee::set\-Uid (const {\bf QString} \& {\em uid})}\label{classKABC_1_1Addressee_a7}


Set unique identifier. 

\index{KABC::Addressee@{KABC::Addressee}!uid@{uid}}
\index{uid@{uid}!KABC::Addressee@{KABC::Addressee}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf QString} KABC::Addressee::uid () const}\label{classKABC_1_1Addressee_a8}


Return unique identifier. 

\index{KABC::Addressee@{KABC::Addressee}!uidLabel@{uidLabel}}
\index{uidLabel@{uidLabel}!KABC::Addressee@{KABC::Addressee}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}static {\bf QString} KABC::Addressee::uid\-Label ()\hspace{0.3cm}{\tt  [static]}}\label{classKABC_1_1Addressee_e0}


Return translated label for uid field. 

\index{KABC::Addressee@{KABC::Addressee}!setNameFromString@{setNameFromString}}
\index{setNameFromString@{setNameFromString}!KABC::Addressee@{KABC::Addressee}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}DECLARATIONS void KABC::Addressee::set\-Name\-From\-String (const {\bf QString} \&)}\label{classKABC_1_1Addressee_a9}


Set name fields by parsing the given string and trying to associate the parts of the string with according fields. 

This function should probably be a bit more clever. \index{KABC::Addressee@{KABC::Addressee}!realName@{realName}}
\index{realName@{realName}!KABC::Addressee@{KABC::Addressee}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf QString} KABC::Addressee::real\-Name () const}\label{classKABC_1_1Addressee_a10}


Return the name of the addressee. 

This is calculated from all the name fields. 

Referenced by KABC::Addressee\-Item::Addressee\-Item().\index{KABC::Addressee@{KABC::Addressee}!assembledName@{assembledName}}
\index{assembledName@{assembledName}!KABC::Addressee@{KABC::Addressee}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf QString} KABC::Addressee::assembled\-Name () const}\label{classKABC_1_1Addressee_a11}


Return the name that consists of all name parts. 

\index{KABC::Addressee@{KABC::Addressee}!fullEmail@{fullEmail}}
\index{fullEmail@{fullEmail}!KABC::Addressee@{KABC::Addressee}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf QString} KABC::Addressee::full\-Email (const {\bf QString} \& {\em email} = {\tt QString::null}) const}\label{classKABC_1_1Addressee_a12}


Return email address including real name. 

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em email}]Email address to be used to construct the full email string. If this is QString::null the preferred email address is used. \end{description}
\end{Desc}


Referenced by KABC::Distribution\-List::emails().\index{KABC::Addressee@{KABC::Addressee}!insertEmail@{insertEmail}}
\index{insertEmail@{insertEmail}!KABC::Addressee@{KABC::Addressee}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KABC::Addressee::insert\-Email (const {\bf QString} \& {\em email}, bool {\em preferred} = {\tt false})}\label{classKABC_1_1Addressee_a13}


Insert an email address. 

If the email address already exists in this addressee it is not duplicated.

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em email}]Email address \item[{\em preferred}]Set to true, if this is the preferred email address of the addressee. \end{description}
\end{Desc}


Referenced by KABC::VCard21Parser::read\-From\-String().\index{KABC::Addressee@{KABC::Addressee}!removeEmail@{removeEmail}}
\index{removeEmail@{removeEmail}!KABC::Addressee@{KABC::Addressee}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KABC::Addressee::remove\-Email (const {\bf QString} \& {\em email})}\label{classKABC_1_1Addressee_a14}


Remove email address. 

If the email address doesn't exist, nothing happens. \index{KABC::Addressee@{KABC::Addressee}!preferredEmail@{preferredEmail}}
\index{preferredEmail@{preferredEmail}!KABC::Addressee@{KABC::Addressee}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf QString} KABC::Addressee::preferred\-Email () const}\label{classKABC_1_1Addressee_a15}


Return preferred email address. 

This is the first email address or the last one added with {\bf insert\-Email()}{\rm (p.\,\pageref{classKABC_1_1Addressee_a13})} with a set preferred parameter. 

Referenced by KABC::Addressee\-Item::Addressee\-Item().\index{KABC::Addressee@{KABC::Addressee}!emails@{emails}}
\index{emails@{emails}!KABC::Addressee@{KABC::Addressee}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf QString\-List} KABC::Addressee::emails () const}\label{classKABC_1_1Addressee_a16}


Return list of all email addresses. 

\index{KABC::Addressee@{KABC::Addressee}!setEmails@{setEmails}}
\index{setEmails@{setEmails}!KABC::Addressee@{KABC::Addressee}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KABC::Addressee::set\-Emails (const {\bf QString\-List} \& {\em list})}\label{classKABC_1_1Addressee_a17}


Set the emails to {\tt list}. 

The first email address gets the preferred one! \begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em list}]The list of email addresses. \end{description}
\end{Desc}
\index{KABC::Addressee@{KABC::Addressee}!insertPhoneNumber@{insertPhoneNumber}}
\index{insertPhoneNumber@{insertPhoneNumber}!KABC::Addressee@{KABC::Addressee}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KABC::Addressee::insert\-Phone\-Number (const {\bf Phone\-Number} \& {\em phone\-Number})}\label{classKABC_1_1Addressee_a18}


Insert a phone number. 

If a phone number with the same id already exists in this addressee it is not duplicated. 

Referenced by KABC::VCard21Parser::read\-From\-String().\index{KABC::Addressee@{KABC::Addressee}!removePhoneNumber@{removePhoneNumber}}
\index{removePhoneNumber@{removePhoneNumber}!KABC::Addressee@{KABC::Addressee}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KABC::Addressee::remove\-Phone\-Number (const {\bf Phone\-Number} \& {\em phone\-Number})}\label{classKABC_1_1Addressee_a19}


Remove phone number. 

If no phone number with the given id exists for this addresse nothing happens. \index{KABC::Addressee@{KABC::Addressee}!phoneNumber@{phoneNumber}}
\index{phoneNumber@{phoneNumber}!KABC::Addressee@{KABC::Addressee}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf Phone\-Number} KABC::Addressee::phone\-Number (int {\em type}) const}\label{classKABC_1_1Addressee_a20}


Return phone number, which matches the given type. 

\index{KABC::Addressee@{KABC::Addressee}!phoneNumbers@{phoneNumbers}}
\index{phoneNumbers@{phoneNumbers}!KABC::Addressee@{KABC::Addressee}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf Phone\-Number::List} KABC::Addressee::phone\-Numbers () const}\label{classKABC_1_1Addressee_a21}


Return list of all phone numbers. 

\index{KABC::Addressee@{KABC::Addressee}!phoneNumbers@{phoneNumbers}}
\index{phoneNumbers@{phoneNumbers}!KABC::Addressee@{KABC::Addressee}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf Phone\-Number::List} KABC::Addressee::phone\-Numbers (int {\em type}) const}\label{classKABC_1_1Addressee_a22}


Return list of phone numbers with a special type. 

\index{KABC::Addressee@{KABC::Addressee}!findPhoneNumber@{findPhoneNumber}}
\index{findPhoneNumber@{findPhoneNumber}!KABC::Addressee@{KABC::Addressee}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf Phone\-Number} KABC::Addressee::find\-Phone\-Number (const {\bf QString} \& {\em id}) const}\label{classKABC_1_1Addressee_a23}


Return phone number with the given id. 

\index{KABC::Addressee@{KABC::Addressee}!insertKey@{insertKey}}
\index{insertKey@{insertKey}!KABC::Addressee@{KABC::Addressee}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KABC::Addressee::insert\-Key (const {\bf Key} \& {\em key})}\label{classKABC_1_1Addressee_a24}


Insert a key. 

If a key with the same id already exists in this addressee it is not duplicated. \index{KABC::Addressee@{KABC::Addressee}!removeKey@{removeKey}}
\index{removeKey@{removeKey}!KABC::Addressee@{KABC::Addressee}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KABC::Addressee::remove\-Key (const {\bf Key} \& {\em key})}\label{classKABC_1_1Addressee_a25}


Remove a key. 

If no key with the given id exists for this addresse nothing happens. \index{KABC::Addressee@{KABC::Addressee}!key@{key}}
\index{key@{key}!KABC::Addressee@{KABC::Addressee}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf Key} KABC::Addressee::key (int {\em type}, {\bf QString} {\em custom\-Type\-String} = {\tt QString::null}) const}\label{classKABC_1_1Addressee_a26}


Return key, which matches the given type. 

If {\tt type} == Key::Custom you can specify a string that should match. If you leave the string empty, the first key with a custom value is returned. \index{KABC::Addressee@{KABC::Addressee}!keys@{keys}}
\index{keys@{keys}!KABC::Addressee@{KABC::Addressee}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf Key::List} KABC::Addressee::keys () const}\label{classKABC_1_1Addressee_a27}


Return list of all keys. 

\index{KABC::Addressee@{KABC::Addressee}!setKeys@{setKeys}}
\index{setKeys@{setKeys}!KABC::Addressee@{KABC::Addressee}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KABC::Addressee::set\-Keys (const {\bf Key::List} \& {\em keys})}\label{classKABC_1_1Addressee_a28}


Set the list of keys. 

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em keys}]The keys to be set. \end{description}
\end{Desc}
\index{KABC::Addressee@{KABC::Addressee}!keys@{keys}}
\index{keys@{keys}!KABC::Addressee@{KABC::Addressee}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf Key::List} KABC::Addressee::keys (int {\em type}, {\bf QString} {\em custom\-Type\-String} = {\tt QString::null}) const}\label{classKABC_1_1Addressee_a29}


Return list of keys with a special type. 

If {\tt type} == Key::Custom you can specify a string that should match. If you leave the string empty, all custom keys will be returned. \index{KABC::Addressee@{KABC::Addressee}!findKey@{findKey}}
\index{findKey@{findKey}!KABC::Addressee@{KABC::Addressee}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf Key} KABC::Addressee::find\-Key (const {\bf QString} \& {\em id}) const}\label{classKABC_1_1Addressee_a30}


Return key with the given id. 

\index{KABC::Addressee@{KABC::Addressee}!insertAddress@{insertAddress}}
\index{insertAddress@{insertAddress}!KABC::Addressee@{KABC::Addressee}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KABC::Addressee::insert\-Address (const {\bf Address} \& {\em address})}\label{classKABC_1_1Addressee_a31}


Insert an address. 

If an address with the same id already exists in this addressee it is not duplicated. 

Referenced by KABC::VCard21Parser::read\-From\-String().\index{KABC::Addressee@{KABC::Addressee}!removeAddress@{removeAddress}}
\index{removeAddress@{removeAddress}!KABC::Addressee@{KABC::Addressee}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KABC::Addressee::remove\-Address (const {\bf Address} \& {\em address})}\label{classKABC_1_1Addressee_a32}


Remove address. 

If no address with the given id exists for this addresse nothing happens. \index{KABC::Addressee@{KABC::Addressee}!address@{address}}
\index{address@{address}!KABC::Addressee@{KABC::Addressee}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf Address} KABC::Addressee::address (int {\em type}) const}\label{classKABC_1_1Addressee_a33}


Return address, which matches the given type. 

\index{KABC::Addressee@{KABC::Addressee}!addresses@{addresses}}
\index{addresses@{addresses}!KABC::Addressee@{KABC::Addressee}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf Address::List} KABC::Addressee::addresses () const}\label{classKABC_1_1Addressee_a34}


Return list of all addresses. 

\index{KABC::Addressee@{KABC::Addressee}!addresses@{addresses}}
\index{addresses@{addresses}!KABC::Addressee@{KABC::Addressee}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf Address::List} KABC::Addressee::addresses (int {\em type}) const}\label{classKABC_1_1Addressee_a35}


Return list of addresses with a special type. 

\index{KABC::Addressee@{KABC::Addressee}!findAddress@{findAddress}}
\index{findAddress@{findAddress}!KABC::Addressee@{KABC::Addressee}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf Address} KABC::Addressee::find\-Address (const {\bf QString} \& {\em id}) const}\label{classKABC_1_1Addressee_a36}


Return address with the given id. 

\index{KABC::Addressee@{KABC::Addressee}!insertCategory@{insertCategory}}
\index{insertCategory@{insertCategory}!KABC::Addressee@{KABC::Addressee}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KABC::Addressee::insert\-Category (const {\bf QString} \&)}\label{classKABC_1_1Addressee_a37}


Insert category. 

If the category already exists it is not duplicated. \index{KABC::Addressee@{KABC::Addressee}!removeCategory@{removeCategory}}
\index{removeCategory@{removeCategory}!KABC::Addressee@{KABC::Addressee}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KABC::Addressee::remove\-Category (const {\bf QString} \&)}\label{classKABC_1_1Addressee_a38}


Remove category. 

\index{KABC::Addressee@{KABC::Addressee}!hasCategory@{hasCategory}}
\index{hasCategory@{hasCategory}!KABC::Addressee@{KABC::Addressee}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}bool KABC::Addressee::has\-Category (const {\bf QString} \&) const}\label{classKABC_1_1Addressee_a39}


Return, if addressee has the given category. 

\index{KABC::Addressee@{KABC::Addressee}!setCategories@{setCategories}}
\index{setCategories@{setCategories}!KABC::Addressee@{KABC::Addressee}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KABC::Addressee::set\-Categories (const {\bf QString\-List} \&)}\label{classKABC_1_1Addressee_a40}


Set categories to given value. 

\index{KABC::Addressee@{KABC::Addressee}!categories@{categories}}
\index{categories@{categories}!KABC::Addressee@{KABC::Addressee}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf QString\-List} KABC::Addressee::categories () const}\label{classKABC_1_1Addressee_a41}


Return list of all set categories. 

\index{KABC::Addressee@{KABC::Addressee}!insertCustom@{insertCustom}}
\index{insertCustom@{insertCustom}!KABC::Addressee@{KABC::Addressee}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KABC::Addressee::insert\-Custom (const {\bf QString} \& {\em app}, const {\bf QString} \& {\em name}, const {\bf QString} \& {\em value})}\label{classKABC_1_1Addressee_a42}


Insert custom entry. 

The entry is identified by the name of the inserting application and a unique name. If an entry with the given app and name already exists its value is replaced with the new given value.

An empty value isn't allowed (nothing happens if this is called with any of the three arguments being empty) \index{KABC::Addressee@{KABC::Addressee}!removeCustom@{removeCustom}}
\index{removeCustom@{removeCustom}!KABC::Addressee@{KABC::Addressee}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KABC::Addressee::remove\-Custom (const {\bf QString} \& {\em app}, const {\bf QString} \& {\em name})}\label{classKABC_1_1Addressee_a43}


Remove custom entry. 

\index{KABC::Addressee@{KABC::Addressee}!custom@{custom}}
\index{custom@{custom}!KABC::Addressee@{KABC::Addressee}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf QString} KABC::Addressee::custom (const {\bf QString} \& {\em app}, const {\bf QString} \& {\em name}) const}\label{classKABC_1_1Addressee_a44}


Return value of custom entry, identified by app and entry name. 

\index{KABC::Addressee@{KABC::Addressee}!setCustoms@{setCustoms}}
\index{setCustoms@{setCustoms}!KABC::Addressee@{KABC::Addressee}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KABC::Addressee::set\-Customs (const {\bf QString\-List} \&)}\label{classKABC_1_1Addressee_a45}


Set all custom entries. 

\index{KABC::Addressee@{KABC::Addressee}!customs@{customs}}
\index{customs@{customs}!KABC::Addressee@{KABC::Addressee}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf QString\-List} KABC::Addressee::customs () const}\label{classKABC_1_1Addressee_a46}


Return list of all custom entries. 

\index{KABC::Addressee@{KABC::Addressee}!parseEmailAddress@{parseEmailAddress}}
\index{parseEmailAddress@{parseEmailAddress}!KABC::Addressee@{KABC::Addressee}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}static void KABC::Addressee::parse\-Email\-Address (const {\bf QString} \& {\em raw\-Email}, {\bf QString} \& {\em full\-Name}, {\bf QString} \& {\em email})\hspace{0.3cm}{\tt  [static]}}\label{classKABC_1_1Addressee_e1}


Parse full email address. 

The result is given back in full\-Name and email. \index{KABC::Addressee@{KABC::Addressee}!dump@{dump}}
\index{dump@{dump}!KABC::Addressee@{KABC::Addressee}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KABC::Addressee::dump () const}\label{classKABC_1_1Addressee_a47}


Debug output. 

\index{KABC::Addressee@{KABC::Addressee}!asString@{asString}}
\index{asString@{asString}!KABC::Addressee@{KABC::Addressee}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf QString} KABC::Addressee::as\-String () const}\label{classKABC_1_1Addressee_a48}


Returns string representation of the addressee. 

\index{KABC::Addressee@{KABC::Addressee}!setResource@{setResource}}
\index{setResource@{setResource}!KABC::Addressee@{KABC::Addressee}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KABC::Addressee::set\-Resource (Resource $\ast$ {\em resource})}\label{classKABC_1_1Addressee_a49}


Set resource where the addressee is from. 



Referenced by KABC::VCard\-Format\-Plugin::load\-All(), and KABC::Binary\-Format::load\-All().\index{KABC::Addressee@{KABC::Addressee}!resource@{resource}}
\index{resource@{resource}!KABC::Addressee@{KABC::Addressee}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}Resource$\ast$ KABC::Addressee::resource () const}\label{classKABC_1_1Addressee_a50}


Return pointer to resource. 

\index{KABC::Addressee@{KABC::Addressee}!setChanged@{setChanged}}
\index{setChanged@{setChanged}!KABC::Addressee@{KABC::Addressee}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KABC::Addressee::set\-Changed (bool {\em value})}\label{classKABC_1_1Addressee_a51}


Mark addressee as changed. 



Referenced by KABC::VCard\-Format\-Plugin::load\-All(), and KABC::Binary\-Format::load\-All().\index{KABC::Addressee@{KABC::Addressee}!changed@{changed}}
\index{changed@{changed}!KABC::Addressee@{KABC::Addressee}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}bool KABC::Addressee::changed () const}\label{classKABC_1_1Addressee_a52}


Return whether the addressee is changed. 



The documentation for this class was generated from the following file:\begin{CompactItemize}
\item 
addressee.src.h\end{CompactItemize}
