#include <ldapclient.h>
Inherits TQObject.
Public Slots | |
void | setAttrs (const TQStringList &attrs) |
void | setScope (const TQString scope) |
void | startQuery (const TQString &filter) |
void | cancelQuery () |
Signals | |
void | done () |
void | error (const TQString &) |
void | result (const KPIM::LdapObject &) |
Public Member Functions | |
LdapClient (int clientNumber, TQObject *parent=0, const char *name=0) | |
bool | isActive () const |
int | clientNumber () const |
int | completionWeight () const |
void | setCompletionWeight (int) |
const LdapServer & | server () |
void | setServer (const LdapServer &server) |
TQStringList | attrs () const |
Protected Slots | |
void | slotData (TDEIO::Job *, const TQByteArray &data) |
void | slotInfoMessage (TDEIO::Job *, const TQString &info) |
void | slotDone () |
Protected Member Functions | |
void | startParseLDIF () |
void | parseLDIF (const TQByteArray &data) |
void | endParseLDIF () |
void | finishCurrentObject () |
Protected Attributes | |
LdapServer | mServer |
TQString | mScope |
TQStringList | mAttrs |
TQGuardedPtr< TDEIO::SimpleJob > | mJob |
bool | mActive |
bool | mReportObjectClass |
LdapObject | mCurrentObject |
Detailed Description
This class is internal.
Binary compatibility might be broken any time without notification. Do not use it.
We mean it!
Definition at line 142 of file ldapclient.h.
Constructor & Destructor Documentation
◆ LdapClient()
LdapClient::LdapClient | ( | int | clientNumber, |
TQObject * | parent = 0 , |
||
const char * | name = 0 |
||
) |
Definition at line 79 of file ldapclient.cpp.
◆ ~LdapClient()
|
virtual |
Definition at line 87 of file ldapclient.cpp.
Member Function Documentation
◆ attrs()
|
inline |
Return the attributes that should be returned, or an empty list if all attributes are wanted
Definition at line 164 of file ldapclient.h.
◆ cancelQuery
|
slot |
Abort a running query
Definition at line 148 of file ldapclient.cpp.
◆ clientNumber()
int LdapClient::clientNumber | ( | ) | const |
Definition at line 262 of file ldapclient.cpp.
◆ completionWeight()
int LdapClient::completionWeight | ( | ) | const |
Definition at line 267 of file ldapclient.cpp.
◆ done
|
signal |
Emitted when the query is done
◆ endParseLDIF()
|
protected |
Definition at line 190 of file ldapclient.cpp.
◆ error
|
signal |
Emitted in case of error
◆ finishCurrentObject()
|
protected |
Definition at line 194 of file ldapclient.cpp.
◆ isActive()
|
inline |
returns true if there is a query running
Definition at line 152 of file ldapclient.h.
◆ parseLDIF()
|
protected |
Definition at line 226 of file ldapclient.cpp.
◆ result
|
signal |
Emitted once for each object returned from the query
◆ server()
|
inline |
Definition at line 158 of file ldapclient.h.
◆ setAttrs
|
slot |
Set the attributes that should be returned, or an empty list if all attributes are wanted
Definition at line 93 of file ldapclient.cpp.
◆ setCompletionWeight()
void LdapClient::setCompletionWeight | ( | int | weight | ) |
Definition at line 272 of file ldapclient.cpp.
◆ setScope
|
inlineslot |
Definition at line 185 of file ldapclient.h.
◆ setServer()
|
inline |
Definition at line 159 of file ldapclient.h.
◆ slotData
|
protectedslot |
Definition at line 158 of file ldapclient.cpp.
◆ slotDone
|
protectedslot |
Definition at line 168 of file ldapclient.cpp.
◆ slotInfoMessage
|
protectedslot |
Definition at line 163 of file ldapclient.cpp.
◆ startParseLDIF()
|
protected |
Definition at line 184 of file ldapclient.cpp.
◆ startQuery
|
slot |
Start the query with filter filter
Definition at line 105 of file ldapclient.cpp.
Member Data Documentation
◆ mActive
|
protected |
Definition at line 213 of file ldapclient.h.
◆ mAttrs
|
protected |
Definition at line 210 of file ldapclient.h.
◆ mCurrentObject
|
protected |
Definition at line 216 of file ldapclient.h.
◆ mJob
|
protected |
Definition at line 212 of file ldapclient.h.
◆ mReportObjectClass
|
protected |
Definition at line 214 of file ldapclient.h.
◆ mScope
|
protected |
Definition at line 209 of file ldapclient.h.
◆ mServer
|
protected |
Definition at line 208 of file ldapclient.h.
The documentation for this class was generated from the following files: