\section{KABC::Ldap\-Client Class Reference}
\label{classKABC_1_1LdapClient}\index{KABC::LdapClient@{KABC::LdapClient}}
This class is internal.  


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

Inheritance diagram for KABC::Ldap\-Client:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=66pt]{classKABC_1_1LdapClient__inherit__graph}
\end{center}
\end{figure}
Collaboration diagram for KABC::Ldap\-Client:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=250pt]{classKABC_1_1LdapClient__coll__graph}
\end{center}
\end{figure}
\subsection*{Public Slots}
\begin{CompactItemize}
\item 
void {\bf set\-Host} (const {\bf QString} \&host)
\item 
{\bf QString} {\bf host} () const \label{classKABC_1_1LdapClient_i1}

\item 
void {\bf set\-Port} (const {\bf QString} \&port)
\item 
{\bf QString} {\bf port} () const \label{classKABC_1_1LdapClient_i3}

\item 
void {\bf set\-Base} (const {\bf QString} \&base)
\item 
{\bf QString} {\bf base} () const \label{classKABC_1_1LdapClient_i5}

\item 
void {\bf set\-Bind\-DN} (const {\bf QString} \&bind\-DN)
\item 
{\bf QString} {\bf bind\-DN} () const \label{classKABC_1_1LdapClient_i7}

\item 
void {\bf set\-Pwd\-Bind\-DN} (const {\bf QString} \&pwd\-Bind\-DN)
\item 
{\bf QString} {\bf pwd\-Bind\-DN} () const \label{classKABC_1_1LdapClient_i9}

\item 
void {\bf set\-Attrs} (const {\bf QString\-List} \&attrs)
\item 
{\bf QString\-List} {\bf attrs} () const \label{classKABC_1_1LdapClient_i11}

\item 
void {\bf set\-Scope} (const {\bf QString} scope)\label{classKABC_1_1LdapClient_i12}

\item 
void {\bf start\-Query} (const {\bf QString} \&filter)
\item 
void {\bf cancel\-Query} ()
\end{CompactItemize}
\subsection*{Signals}
\begin{CompactItemize}
\item 
void {\bf done} ()
\item 
void {\bf error} (const {\bf QString} \&)
\item 
void {\bf result} (const {\bf KABC::Ldap\-Object} \&)
\end{CompactItemize}
\subsection*{Public Member Functions}
\begin{CompactItemize}
\item 
{\bf Ldap\-Client} ({\bf QObject} $\ast${\bf parent}=0, const char $\ast${\bf name}=0)\label{classKABC_1_1LdapClient_a0}

\item 
bool {\bf is\-Active} () const 
\end{CompactItemize}
\subsection*{Protected Slots}
\begin{CompactItemize}
\item 
void {\bf slot\-Data} (KIO::Job $\ast$, const {\bf QByte\-Array} \&data)\label{classKABC_1_1LdapClient_j0}

\item 
void {\bf slot\-Info\-Message} (KIO::Job $\ast$, const {\bf QString} \&info)\label{classKABC_1_1LdapClient_j1}

\item 
void {\bf slot\-Done} ()\label{classKABC_1_1LdapClient_j2}

\end{CompactItemize}
\subsection*{Protected Member Functions}
\begin{CompactItemize}
\item 
void {\bf start\-Parse\-LDIF} ()\label{classKABC_1_1LdapClient_b0}

\item 
void {\bf parse\-LDIF} (const {\bf QByte\-Array} \&data)\label{classKABC_1_1LdapClient_b1}

\item 
void {\bf end\-Parse\-LDIF} ()\label{classKABC_1_1LdapClient_b2}

\end{CompactItemize}
\subsection*{Protected Attributes}
\begin{CompactItemize}
\item 
{\bf QString} {\bf m\-Host}\label{classKABC_1_1LdapClient_p0}

\item 
{\bf QString} {\bf m\-Port}\label{classKABC_1_1LdapClient_p1}

\item 
{\bf QString} {\bf m\-Base}\label{classKABC_1_1LdapClient_p2}

\item 
{\bf QString} {\bf m\-Scope}\label{classKABC_1_1LdapClient_p3}

\item 
{\bf QString\-List} {\bf m\-Attrs}\label{classKABC_1_1LdapClient_p4}

\item 
{\bf QGuarded\-Ptr}$<$ KIO::Simple\-Job $>$ {\bf m\-Job}\label{classKABC_1_1LdapClient_p5}

\item 
bool {\bf m\-Active}\label{classKABC_1_1LdapClient_p6}

\item 
{\bf Ldap\-Object} {\bf m\-Current\-Object}\label{classKABC_1_1LdapClient_p7}

\item 
{\bf QCString} {\bf m\-Buf}\label{classKABC_1_1LdapClient_p8}

\item 
{\bf QCString} {\bf m\-Last\-Attr\-Name}\label{classKABC_1_1LdapClient_p9}

\item 
{\bf QCString} {\bf m\-Last\-Attr\-Value}\label{classKABC_1_1LdapClient_p10}

\item 
bool {\bf m\-Is\-Base64}\label{classKABC_1_1LdapClient_p11}

\end{CompactItemize}


\subsection{Detailed Description}
This class is internal. 

Binary compatibiliy might be broken any time without notification. Do not use it.

We mean it! 



Definition at line 85 of file ldapclient.h.

\subsection{Member Function Documentation}
\index{KABC::LdapClient@{KABC::Ldap\-Client}!isActive@{isActive}}
\index{isActive@{isActive}!KABC::LdapClient@{KABC::Ldap\-Client}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}bool KABC::Ldap\-Client::is\-Active () const\hspace{0.3cm}{\tt  [inline]}}\label{classKABC_1_1LdapClient_a2}


returns true if there is a query running 

Definition at line 94 of file ldapclient.h.\index{KABC::LdapClient@{KABC::Ldap\-Client}!done@{done}}
\index{done@{done}!KABC::LdapClient@{KABC::Ldap\-Client}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KABC::Ldap\-Client::done ()\hspace{0.3cm}{\tt  [signal]}}\label{classKABC_1_1LdapClient_l0}


Emitted when the query is done \index{KABC::LdapClient@{KABC::Ldap\-Client}!error@{error}}
\index{error@{error}!KABC::LdapClient@{KABC::Ldap\-Client}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KABC::Ldap\-Client::error (const {\bf QString} \&)\hspace{0.3cm}{\tt  [signal]}}\label{classKABC_1_1LdapClient_l1}


Emitted in case of error \index{KABC::LdapClient@{KABC::Ldap\-Client}!result@{result}}
\index{result@{result}!KABC::LdapClient@{KABC::Ldap\-Client}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KABC::Ldap\-Client::result (const {\bf KABC::Ldap\-Object} \&)\hspace{0.3cm}{\tt  [signal]}}\label{classKABC_1_1LdapClient_l2}


Emitted once for each object returned from the query \index{KABC::LdapClient@{KABC::Ldap\-Client}!setHost@{setHost}}
\index{setHost@{setHost}!KABC::LdapClient@{KABC::Ldap\-Client}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KABC::Ldap\-Client::set\-Host (const {\bf QString} \& {\em host})\hspace{0.3cm}{\tt  [slot]}}\label{classKABC_1_1LdapClient_i0}


Set the name or IP of the LDAP server \index{KABC::LdapClient@{KABC::Ldap\-Client}!setPort@{setPort}}
\index{setPort@{setPort}!KABC::LdapClient@{KABC::Ldap\-Client}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KABC::Ldap\-Client::set\-Port (const {\bf QString} \& {\em port})\hspace{0.3cm}{\tt  [slot]}}\label{classKABC_1_1LdapClient_i2}


Set the port of the LDAP server if using a nonstandard port \index{KABC::LdapClient@{KABC::Ldap\-Client}!setBase@{setBase}}
\index{setBase@{setBase}!KABC::LdapClient@{KABC::Ldap\-Client}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KABC::Ldap\-Client::set\-Base (const {\bf QString} \& {\em base})\hspace{0.3cm}{\tt  [slot]}}\label{classKABC_1_1LdapClient_i4}


Set the base DN \index{KABC::LdapClient@{KABC::Ldap\-Client}!setBindDN@{setBindDN}}
\index{setBindDN@{setBindDN}!KABC::LdapClient@{KABC::Ldap\-Client}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KABC::Ldap\-Client::set\-Bind\-DN (const {\bf QString} \& {\em bind\-DN})\hspace{0.3cm}{\tt  [slot]}}\label{classKABC_1_1LdapClient_i6}


Set the bind DN \index{KABC::LdapClient@{KABC::Ldap\-Client}!setPwdBindDN@{setPwdBindDN}}
\index{setPwdBindDN@{setPwdBindDN}!KABC::LdapClient@{KABC::Ldap\-Client}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KABC::Ldap\-Client::set\-Pwd\-Bind\-DN (const {\bf QString} \& {\em pwd\-Bind\-DN})\hspace{0.3cm}{\tt  [slot]}}\label{classKABC_1_1LdapClient_i8}


Set the bind password DN \index{KABC::LdapClient@{KABC::Ldap\-Client}!setAttrs@{setAttrs}}
\index{setAttrs@{setAttrs}!KABC::LdapClient@{KABC::Ldap\-Client}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KABC::Ldap\-Client::set\-Attrs (const {\bf QString\-List} \& {\em attrs})\hspace{0.3cm}{\tt  [slot]}}\label{classKABC_1_1LdapClient_i10}


Set the attributes that should be returned, or an empty list if all attributes are wanted \index{KABC::LdapClient@{KABC::Ldap\-Client}!startQuery@{startQuery}}
\index{startQuery@{startQuery}!KABC::LdapClient@{KABC::Ldap\-Client}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KABC::Ldap\-Client::start\-Query (const {\bf QString} \& {\em filter})\hspace{0.3cm}{\tt  [slot]}}\label{classKABC_1_1LdapClient_i13}


Start the query with filter filter \index{KABC::LdapClient@{KABC::Ldap\-Client}!cancelQuery@{cancelQuery}}
\index{cancelQuery@{cancelQuery}!KABC::LdapClient@{KABC::Ldap\-Client}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KABC::Ldap\-Client::cancel\-Query ()\hspace{0.3cm}{\tt  [slot]}}\label{classKABC_1_1LdapClient_i14}


Abort a running query 

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