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.

Constructor & Destructor Documentation

◆ LdapClient()

LdapClient::LdapClient ( int  clientNumber,
TQObject *  parent = 0,
const char *  name = 0 
)

Definition at line 79 of file ldapclient.cpp.

◆ ~LdapClient()

LdapClient::~LdapClient ( )
virtual

Definition at line 87 of file ldapclient.cpp.

Member Function Documentation

◆ attrs()

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.

◆ cancelQuery

void LdapClient::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

void KPIM::LdapClient::done ( )
signal

Emitted when the query is done

◆ endParseLDIF()

void LdapClient::endParseLDIF ( )
protected

Definition at line 190 of file ldapclient.cpp.

◆ error

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

Emitted in case of error

◆ finishCurrentObject()

void LdapClient::finishCurrentObject ( )
protected

Definition at line 194 of file ldapclient.cpp.

◆ isActive()

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

returns true if there is a query running

Definition at line 152 of file ldapclient.h.

◆ parseLDIF()

void LdapClient::parseLDIF ( const TQByteArray &  data)
protected

Definition at line 226 of file ldapclient.cpp.

◆ result

void KPIM::LdapClient::result ( const KPIM::LdapObject )
signal

Emitted once for each object returned from the query

◆ server()

const LdapServer & KPIM::LdapClient::server ( )
inline

Definition at line 158 of file ldapclient.h.

◆ setAttrs

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.

◆ setCompletionWeight()

void LdapClient::setCompletionWeight ( int  weight)

Definition at line 272 of file ldapclient.cpp.

◆ setScope

void KPIM::LdapClient::setScope ( const TQString  scope)
inlineslot

Definition at line 185 of file ldapclient.h.

◆ setServer()

void KPIM::LdapClient::setServer ( const LdapServer &  server)
inline

Definition at line 159 of file ldapclient.h.

◆ slotData

void LdapClient::slotData ( TDEIO::Job *  ,
const TQByteArray &  data 
)
protectedslot

Definition at line 158 of file ldapclient.cpp.

◆ slotDone

void LdapClient::slotDone ( )
protectedslot

Definition at line 168 of file ldapclient.cpp.

◆ slotInfoMessage

void LdapClient::slotInfoMessage ( TDEIO::Job *  ,
const TQString &  info 
)
protectedslot

Definition at line 163 of file ldapclient.cpp.

◆ startParseLDIF()

void LdapClient::startParseLDIF ( )
protected

Definition at line 184 of file ldapclient.cpp.

◆ startQuery

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

Start the query with filter filter

Definition at line 105 of file ldapclient.cpp.

Member Data Documentation

◆ mActive

bool KPIM::LdapClient::mActive
protected

Definition at line 213 of file ldapclient.h.

◆ mAttrs

TQStringList KPIM::LdapClient::mAttrs
protected

Definition at line 210 of file ldapclient.h.

◆ mCurrentObject

LdapObject KPIM::LdapClient::mCurrentObject
protected

Definition at line 216 of file ldapclient.h.

◆ mJob

TQGuardedPtr<TDEIO::SimpleJob> KPIM::LdapClient::mJob
protected

Definition at line 212 of file ldapclient.h.

◆ mReportObjectClass

bool KPIM::LdapClient::mReportObjectClass
protected

Definition at line 214 of file ldapclient.h.

◆ mScope

TQString KPIM::LdapClient::mScope
protected

Definition at line 209 of file ldapclient.h.

◆ mServer

LdapServer KPIM::LdapClient::mServer
protected

Definition at line 208 of file ldapclient.h.


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