#include <ldapclient.h>
Inherits TQObject.
Public Slots | |
void | setHost (const TQString &host) |
TQString | host () const |
void | setPort (const TQString &port) |
TQString | port () const |
void | setBase (const TQString &base) |
TQString | base () const |
void | setBindDN (const TQString &bindDN) |
TQString | bindDN () const |
void | setPwdBindDN (const TQString &pwdBindDN) |
TQString | pwdBindDN () const |
void | setAttrs (const TQStringList &attrs) |
TQStringList | attrs () const |
void | setScope (const TQString scope) |
void | startQuery (const TQString &filter) |
void | cancelQuery () |
Signals | |
void | done () |
void | error (const TQString &) |
void | result (const KABC::LdapObject &) |
Public Member Functions | |
LdapClient (TQObject *parent=0, const char *name=0) | |
bool | isActive () const |
Protected Slots | |
void | slotData (KIO::Job *, const TQByteArray &data) |
void | slotInfoMessage (KIO::Job *, const TQString &info) |
void | slotDone () |
Protected Member Functions | |
void | startParseLDIF () |
void | parseLDIF (const TQByteArray &data) |
void | endParseLDIF () |
Protected Attributes | |
TQString | mHost |
TQString | mPort |
TQString | mBase |
TQString | mScope |
TQStringList | mAttrs |
TQGuardedPtr< KIO::SimpleJob > | mJob |
bool | mActive |
LdapObject | mCurrentObject |
TQCString | mBuf |
TQCString | mLastAttrName |
TQCString | mLastAttrValue |
bool | mIsBase64 |
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.
Member Function Documentation
void LdapClient::cancelQuery | ( | ) | [slot] |
Abort a running query
Definition at line 149 of file ldapclient.cpp.
void KABC::LdapClient::done | ( | ) | [signal] |
Emitted when the query is done
void KABC::LdapClient::error | ( | const TQString & | ) | [signal] |
Emitted in case of error
bool KABC::LdapClient::isActive | ( | ) | const [inline] |
returns true if there is a query running
Definition at line 94 of file ldapclient.h.
void KABC::LdapClient::result | ( | const KABC::LdapObject & | ) | [signal] |
Emitted once for each object returned from the query
void LdapClient::setAttrs | ( | const TQStringList & | attrs | ) | [slot] |
Set the attributes that should be returned, or an empty list if all attributes are wanted
Definition at line 116 of file ldapclient.cpp.
void LdapClient::setBase | ( | const TQString & | base | ) | [slot] |
Set the base DN
Definition at line 101 of file ldapclient.cpp.
void LdapClient::setBindDN | ( | const TQString & | bindDN | ) | [slot] |
Set the bind DN
Definition at line 106 of file ldapclient.cpp.
void LdapClient::setHost | ( | const TQString & | host | ) | [slot] |
Set the name or IP of the LDAP server
Definition at line 91 of file ldapclient.cpp.
void LdapClient::setPort | ( | const TQString & | port | ) | [slot] |
Set the port of the LDAP server if using a nonstandard port
Definition at line 96 of file ldapclient.cpp.
void LdapClient::setPwdBindDN | ( | const TQString & | pwdBindDN | ) | [slot] |
Set the bind password DN
Definition at line 111 of file ldapclient.cpp.
void LdapClient::startQuery | ( | const TQString & | filter | ) | [slot] |
Start the query with filter filter
Definition at line 121 of file ldapclient.cpp.
The documentation for this class was generated from the following files: