libkdepim Library API Documentation

KPIM::LdapClient Class Reference

This class is internal. More...

#include <ldapclient.h>

Inheritance diagram for KPIM::LdapClient:

Inheritance graph
[legend]
Collaboration diagram for KPIM::LdapClient:

Collaboration graph
[legend]
List of all members.

Public Slots

void setHost (const QString &host)
void setPort (const QString &port)
void setBase (const QString &base)
void setBindDN (const QString &bindDN)
void setPwdBindDN (const QString &pwdBindDN)
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)
bool isActive () const
int clientNumber () const
int completionWeight () const
void setCompletionWeight (int)
QString host () const
QString port () const
QString base () const
QString bindDN () const
QString pwdBindDN () const
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

QString mHost
QString mPort
QString mBase
QString mScope
QStringList mAttrs
QGuardedPtr< KIO::SimpleJob > mJob
bool mActive
bool mReportObjectClass
LdapObject mCurrentObject
QCString mBuf
QCString mLastAttrName
QCString mLastAttrValue
bool mIsBase64

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 86 of file ldapclient.h.


Member Function Documentation

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

returns true if there is a query running

Definition at line 95 of file ldapclient.h.

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 110 of file ldapclient.h.

void KPIM::LdapClient::done  )  [signal]
 

Emitted when the query is done

void KPIM::LdapClient::error const QString  )  [signal]
 

Emitted in case of error

void KPIM::LdapClient::result const KPIM::LdapObject  )  [signal]
 

Emitted once for each object returned from the query

void KPIM::LdapClient::setHost const QString host  )  [slot]
 

Set the name or IP of the LDAP server

void KPIM::LdapClient::setPort const QString port  )  [slot]
 

Set the port of the LDAP server if using a nonstandard port

void KPIM::LdapClient::setBase const QString base  )  [slot]
 

Set the base DN

void KPIM::LdapClient::setBindDN const QString bindDN  )  [slot]
 

Set the bind DN

void KPIM::LdapClient::setPwdBindDN const QString pwdBindDN  )  [slot]
 

Set the bind password DN

void KPIM::LdapClient::setAttrs const QStringList attrs  )  [slot]
 

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

void KPIM::LdapClient::startQuery const QString filter  )  [slot]
 

Start the query with filter filter

void KPIM::LdapClient::cancelQuery  )  [slot]
 

Abort a running query


The documentation for this class was generated from the following file:
KDE Logo
This file is part of the documentation for libkdepim Library Version 3.3.2.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Thu Oct 4 14:40:55 2007 by doxygen 1.4.2 written by Dimitri van Heesch, © 1997-2003