\section{KABC::Addressee\-Dialog Class Reference}
\label{classKABC_1_1AddresseeDialog}\index{KABC::AddresseeDialog@{KABC::AddresseeDialog}}
Dialog for selecting address book entries.  


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

Inheritance diagram for KABC::Addressee\-Dialog:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=80pt]{classKABC_1_1AddresseeDialog__inherit__graph}
\end{center}
\end{figure}
Collaboration diagram for KABC::Addressee\-Dialog:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=287pt]{classKABC_1_1AddresseeDialog__coll__graph}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{CompactItemize}
\item 
{\bf Addressee\-Dialog} ({\bf QWidget} $\ast$parent=0, bool multiple=false)
\item 
virtual {\bf $\sim$Addressee\-Dialog} ()
\item 
{\bf Addressee} {\bf addressee} ()
\item 
{\bf Addressee::List} {\bf addressees} ()
\end{CompactItemize}
\subsection*{Static Public Member Functions}
\begin{CompactItemize}
\item 
static {\bf Addressee} {\bf get\-Addressee} ({\bf QWidget} $\ast$parent)
\item 
static {\bf Addressee::List} {\bf get\-Addressees} ({\bf QWidget} $\ast$parent)
\end{CompactItemize}
\subsection*{Protected Slots}
\begin{CompactItemize}
\item 
void {\bf address\-Book\-Changed} ()\label{classKABC_1_1AddresseeDialog_j0}

\end{CompactItemize}


\subsection{Detailed Description}
Dialog for selecting address book entries. 

This class provides a dialog for selecting entries from the standard {\bf KDE} address book. Use the {\bf get\-Addressee()}{\rm (p.\,\pageref{classKABC_1_1AddresseeDialog_e0})} function to open a modal dialog, returning an address book entry.

In the dialog you can select an entry from the list with the mouse or type in the first letters of the name or email address you are searching for. The entry matching best is automatically selected. Use double click, pressing return or pressing the ok button to return the selected addressee to the application. 



Definition at line 83 of file addresseedialog.h.

\subsection{Constructor \& Destructor Documentation}
\index{KABC::AddresseeDialog@{KABC::Addressee\-Dialog}!AddresseeDialog@{AddresseeDialog}}
\index{AddresseeDialog@{AddresseeDialog}!KABC::AddresseeDialog@{KABC::Addressee\-Dialog}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}Addressee\-Dialog::Addressee\-Dialog ({\bf QWidget} $\ast$ {\em parent} = {\tt 0}, bool {\em multiple} = {\tt false})}\label{classKABC_1_1AddresseeDialog_a0}


Construct addressbook entry select dialog. 

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em parent}]parent widget \end{description}
\end{Desc}


Definition at line 59 of file addresseedialog.cpp.

References KList\-View::add\-Column(), QBox\-Layout::add\-Layout(), QBox\-Layout::add\-Widget(), KCompletion\-Base::completion\-Object(), KDialog\-Base::plain\-Page(), KABC::Std\-Address\-Book::self(), QList\-View::set\-All\-Columns\-Show\-Focus(), KLine\-Edit::set\-Completion\-Mode(), KList\-View::set\-Full\-Width(), KCompletion::set\-Ignore\-Case(), KDialog\-Base::set\-Initial\-Size(), QBox\-Layout::set\-Spacing(), KDialog\-Base::slot\-Ok(), and KDialog::spacing\-Hint().

Referenced by get\-Addressee(), and get\-Addressees().\index{KABC::AddresseeDialog@{KABC::Addressee\-Dialog}!~AddresseeDialog@{$\sim$AddresseeDialog}}
\index{~AddresseeDialog@{$\sim$AddresseeDialog}!KABC::AddresseeDialog@{KABC::Addressee\-Dialog}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}Addressee\-Dialog::$\sim${\bf Addressee\-Dialog} ()\hspace{0.3cm}{\tt  [virtual]}}\label{classKABC_1_1AddresseeDialog_a1}


Destructor. 



Definition at line 125 of file addresseedialog.cpp.

\subsection{Member Function Documentation}
\index{KABC::AddresseeDialog@{KABC::Addressee\-Dialog}!addressee@{addressee}}
\index{addressee@{addressee}!KABC::AddresseeDialog@{KABC::Addressee\-Dialog}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf Addressee} Addressee\-Dialog::addressee ()}\label{classKABC_1_1AddresseeDialog_a2}


Return the address chosen. 

If it is a multiple select, this will return only the first address chosen 

Definition at line 194 of file addresseedialog.cpp.

References KABC::Addressee\-Item::addressee(), QList\-View::first\-Child(), and QList\-View::selected\-Item().

Referenced by get\-Addressee().\index{KABC::AddresseeDialog@{KABC::Addressee\-Dialog}!addressees@{addressees}}
\index{addressees@{addressees}!KABC::AddresseeDialog@{KABC::Addressee\-Dialog}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf Addressee::List} Addressee\-Dialog::addressees ()}\label{classKABC_1_1AddresseeDialog_a3}


Return the list of addresses chosen. 



Definition at line 207 of file addresseedialog.cpp.

References KABC::Addressee\-Item::addressee(), QValue\-List::append(), QList\-View::first\-Child(), QList\-View\-Item::next\-Sibling(), and QList\-View::selected\-Item().

Referenced by get\-Addressees().\index{KABC::AddresseeDialog@{KABC::Addressee\-Dialog}!getAddressee@{getAddressee}}
\index{getAddressee@{getAddressee}!KABC::AddresseeDialog@{KABC::Addressee\-Dialog}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf Addressee} Addressee\-Dialog::get\-Addressee ({\bf QWidget} $\ast$ {\em parent})\hspace{0.3cm}{\tt  [static]}}\label{classKABC_1_1AddresseeDialog_e0}


Select a single address book entry. 

Open addressee select dialog and return the entry selected by the user. If the user doesn't select an entry or presses cancel, the returned addressee is empty. 

Definition at line 229 of file addresseedialog.cpp.

References addressee(), Addressee\-Dialog(), and QDialog::exec().\index{KABC::AddresseeDialog@{KABC::Addressee\-Dialog}!getAddressees@{getAddressees}}
\index{getAddressees@{getAddressees}!KABC::AddresseeDialog@{KABC::Addressee\-Dialog}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf Addressee::List} Addressee\-Dialog::get\-Addressees ({\bf QWidget} $\ast$ {\em parent})\hspace{0.3cm}{\tt  [static]}}\label{classKABC_1_1AddresseeDialog_e1}


Select multiple address book entries. 

Open addressee select dialog and return the entries selected by the user. If the user doesn't select an entry or presses cancel, the returned addressee list is empty. 

Definition at line 243 of file addresseedialog.cpp.

References Addressee\-Dialog(), addressees(), and QDialog::exec().

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