libkdepim

KPIM::LdapClient Class Reference

#include <ldapclient.h>

List of all members.


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.


Public Slots

void setAttrs (const QStringList &attrs)
void setScope (const QString scope)
void startQuery (const QString &filter)
void cancelQuery ()

Signals

void done ()
void error (const QString &)
void result (const KPIM::LdapObject &)

Public Member Functions

 LdapClient (int clientNumber, QObject *parent=0, const char *name=0)
virtual ~LdapClient ()
bool isActive () const
int clientNumber () const
int completionWeight () const
void setCompletionWeight (int)
const LdapServerserver ()
void setServer (const LdapServer &server)
QStringList attrs () const

Protected Slots

void slotData (KIO::Job *, const QByteArray &data)
void slotInfoMessage (KIO::Job *, const QString &info)
void slotDone ()

Protected Member Functions

void startParseLDIF ()
void parseLDIF (const QByteArray &data)
void endParseLDIF ()
void finishCurrentObject ()

Protected Attributes

LdapServer mServer
QString mScope
QStringList mAttrs
QGuardedPtr< KIO::SimpleJob > mJob
bool mActive
bool mReportObjectClass
LdapObject mCurrentObject

Member Function Documentation

QStringList KPIM::LdapClient::attrs  )  const [inline]
 

Return the attributes that should be returned, or an empty list if all attributes are wanted

Definition at line 163 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 QString &   )  [signal]
 

Emitted in case of error

bool KPIM::LdapClient::isActive  )  const [inline]
 

returns true if there is a query running

Definition at line 151 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 QStringList &  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 QString &  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:
KDE Home | KDE Accessibility Home | Description of Access Keys