\section{KABC::Address\-Line\-Edit Class Reference}
\label{classKABC_1_1AddressLineEdit}\index{KABC::AddressLineEdit@{KABC::AddressLineEdit}}
A lineedit with LDAP and kabc completion.  


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

Inheritance diagram for KABC::Address\-Line\-Edit:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=105pt]{classKABC_1_1AddressLineEdit__inherit__graph}
\end{center}
\end{figure}
Collaboration diagram for KABC::Address\-Line\-Edit:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=315pt]{classKABC_1_1AddressLineEdit__coll__graph}
\end{center}
\end{figure}
\subsection*{Public Slots}
\begin{CompactItemize}
\item 
void {\bf cursor\-At\-End} ()
\item 
void {\bf enable\-Completion} (bool enable)
\end{CompactItemize}
\subsection*{Public Member Functions}
\begin{CompactItemize}
\item 
{\bf Address\-Line\-Edit} ({\bf QWidget} $\ast$parent, bool use\-Completion=true, const char $\ast$name=0L)\label{classKABC_1_1AddressLineEdit_a0}

\item 
virtual void {\bf set\-Font} (const {\bf QFont} \&)
\end{CompactItemize}
\subsection*{Static Public Member Functions}
\begin{CompactItemize}
\item 
static {\bf KConfig} $\ast$ {\bf config} ()\label{classKABC_1_1AddressLineEdit_e0}

\end{CompactItemize}
\subsection*{Protected Member Functions}
\begin{CompactItemize}
\item 
virtual void {\bf load\-Addresses} ()
\item 
void {\bf add\-Address} (const {\bf QString} \&)\label{classKABC_1_1AddressLineEdit_b1}

\item 
virtual void {\bf key\-Press\-Event} ({\bf QKey\-Event} $\ast$)\label{classKABC_1_1AddressLineEdit_b2}

\item 
virtual void {\bf drop\-Event} ({\bf QDrop\-Event} $\ast$e)\label{classKABC_1_1AddressLineEdit_b3}

\item 
virtual void {\bf paste} ()\label{classKABC_1_1AddressLineEdit_b4}

\item 
virtual void {\bf insert} (const {\bf QString} \&t)\label{classKABC_1_1AddressLineEdit_b5}

\item 
virtual void {\bf mouse\-Release\-Event} ({\bf QMouse\-Event} $\ast$e)\label{classKABC_1_1AddressLineEdit_b6}

\item 
void {\bf do\-Completion} (bool ctrl\-T)\label{classKABC_1_1AddressLineEdit_b7}

\end{CompactItemize}


\subsection{Detailed Description}
A lineedit with LDAP and kabc completion. 

This lineedit is supposed to be used wherever the user types email addresses and might want a completion. You can simply use it as a replacement for {\bf KLine\-Edit} or {\bf QLine\-Edit}.

You can enable or disable the lineedit at any time.

\begin{Desc}
\item[See also:]{\bf Address\-Line\-Edit::enable\-Completion()}{\rm (p.\,\pageref{classKABC_1_1AddressLineEdit_i1})} \end{Desc}




Definition at line 50 of file addresslineedit.h.

\subsection{Member Function Documentation}
\index{KABC::AddressLineEdit@{KABC::Address\-Line\-Edit}!setFont@{setFont}}
\index{setFont@{setFont}!KABC::AddressLineEdit@{KABC::Address\-Line\-Edit}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void Address\-Line\-Edit::set\-Font (const {\bf QFont} \&)\hspace{0.3cm}{\tt  [virtual]}}\label{classKABC_1_1AddressLineEdit_a2}


Reimplented for internal reasons. 

@ see KLine\-Edit::set\-Font() 

Definition at line 147 of file addresslineedit.cpp.

References KLine\-Edit::completion\-Box().\index{KABC::AddressLineEdit@{KABC::Address\-Line\-Edit}!cursorAtEnd@{cursorAtEnd}}
\index{cursorAtEnd@{cursorAtEnd}!KABC::AddressLineEdit@{KABC::Address\-Line\-Edit}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void Address\-Line\-Edit::cursor\-At\-End ()\hspace{0.3cm}{\tt  [slot]}}\label{classKABC_1_1AddressLineEdit_i0}


Set cursor to end of line. 



Reimplemented from {\bf KLine\-Edit}.

Definition at line 276 of file addresslineedit.cpp.

References QLine\-Edit::set\-Cursor\-Position(), and QLine\-Edit::text().\index{KABC::AddressLineEdit@{KABC::Address\-Line\-Edit}!enableCompletion@{enableCompletion}}
\index{enableCompletion@{enableCompletion}!KABC::AddressLineEdit@{KABC::Address\-Line\-Edit}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void Address\-Line\-Edit::enable\-Completion (bool {\em enable})\hspace{0.3cm}{\tt  [slot]}}\label{classKABC_1_1AddressLineEdit_i1}


Toggle completion. 



Definition at line 282 of file addresslineedit.cpp.\index{KABC::AddressLineEdit@{KABC::Address\-Line\-Edit}!loadAddresses@{loadAddresses}}
\index{loadAddresses@{loadAddresses}!KABC::AddressLineEdit@{KABC::Address\-Line\-Edit}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void Address\-Line\-Edit::load\-Addresses ()\hspace{0.3cm}{\tt  [protected, virtual]}}\label{classKABC_1_1AddressLineEdit_b0}


Always call {\bf Address\-Line\-Edit::load\-Addresses()}{\rm (p.\,\pageref{classKABC_1_1AddressLineEdit_b0})} as the first thing. 

Use add\-Address() to add addresses. 

Definition at line 427 of file addresslineedit.cpp.

References KCompletion::clear().

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