libtdepim

#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.

Member Function Documentation

TQStringList KPIM::LdapClient::attrs ( ) const
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.

void LdapClient::cancelQuery ( )
slot

Abort a running query

Definition at line 148 of file ldapclient.cpp.

void KPIM::LdapClient::done ( )
signal

Emitted when the query is done

void KPIM::LdapClient::error ( const TQString &  )
signal

Emitted in case of error

bool KPIM::LdapClient::isActive ( ) const
inline

returns true if there is a query running

Definition at line 152 of file ldapclient.h.

void KPIM::LdapClient::result ( const KPIM::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 93 of file ldapclient.cpp.

void LdapClient::startQuery ( const TQString &  filter)
slot

Start the query with filter filter

Definition at line 105 of file ldapclient.cpp.


The documentation for this class was generated from the following files: