libkdepim
ldapclient.cpp
Go to the documentation of this file.
146 // combine the filter set by the user in the config dialog (url.filter()) and the filter from this query
148 finalFilter = QLatin1String("&(") + finalFilter + QLatin1String(")(") + userFilter + QLatin1Char(')');
209 QMetaObject::invokeMethod( mJob, "deleteLater", Qt::QueuedConnection ); // it's in a different thread
250 KLDAP::LdapAttrMap::ConstIterator it = mCurrentObject.attributes().find( QLatin1String("mail") );
255 const QStringList lMail = mCurrentObject.dn().toString().split( QLatin1String(",dc="), QString::SkipEmptyParts );
QStringList attributes() const
Returns the LDAP attributes that should be returned in the query result.
Definition: ldapclient.cpp:125
const KLDAP::LdapServer server() const
Returns the ldap server information that are used by this client.
Definition: ldapclient.cpp:114
QString & append(QChar ch)
QByteArray toLower() const
int completionWeight() const
Returns the completion weight of this client.
Definition: ldapclient.cpp:312
const T & at(int i) const
Definition: ldapsession.h:37
bool isActive() const
Returns whether this client is currently running a search query.
Definition: ldapclient.cpp:99
void clear()
void startQuery(const QString &filter)
Starts the query with the given filter.
Definition: ldapclient.cpp:135
int count(const T &value) const
bool isEmpty() const
void setAttributes(const QStringList &attributes)
Sets the LDAP attributes that should be returned in the query result.
Definition: ldapclient.cpp:119
T & first()
void result(const KLDAP::LdapClient &client, const KLDAP::LdapObject &)
This signal is emitted once for each object that is returned from the query.
bool invokeMethod(QObject *obj, const char *member, Qt::ConnectionType type, QGenericReturnArgument ret, QGenericArgument val0, QGenericArgument val1, QGenericArgument val2, QGenericArgument val3, QGenericArgument val4, QGenericArgument val5, QGenericArgument val6, QGenericArgument val7, QGenericArgument val8, QGenericArgument val9)
LdapClient(int clientNumber, QObject *parent=0)
Creates a new ldap client.
Definition: ldapclient.cpp:87
void setServer(const KLDAP::LdapServer &server)
Sets the LDAP server information that shall be used by this client.
Definition: ldapclient.cpp:104
QStringList split(const QString &sep, const QString &str, bool allowEmptyEntries)
void setCompletionWeight(int weight)
Sets the completion weight of this client.
Definition: ldapclient.cpp:317
int size() const
bool connect(const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type)
int find(char c, int from) const
QByteArray toUtf8() const
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:33:50 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:33:50 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.