libkdepim
ldapclientsearch.cpp
Go to the documentation of this file.
120 void LdapClientSearch::Private::readWeighForClient( LdapClient *client, const KConfigGroup &config,
123 const int completionWeight = config.readEntry( QString::fromLatin1( "SelectedCompletionWeight%1" ).arg( clientNumber ), -1 );
const_iterator constBegin() const
void clear()
int indexOf(QChar ch, int from, Qt::CaseSensitivity cs) const
bool isAvailable() const
Returns whether LDAP search is possible at all.
Definition: ldapclientsearch.cpp:418
QString & append(QChar ch)
int clientNumber
The client the contact comes from (used for sorting in a ldap-only lookup).
Definition: ldapclientsearch.h:61
Definition: ldapclientsearch.h:68
QString & prepend(QChar ch)
Describes the result returned by an LdapClientSearch query.
Definition: ldapclientsearch.h:51
QList< LdapClient * > clients() const
Returns the list of configured LDAP clients.
Definition: ldapclientsearch.cpp:137
void append(const T &value)
QString fromUtf8(const char *str, int size)
bool isEmpty() 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
LdapClientSearch(QObject *parent=0)
Creates a new ldap client search object.
Definition: ldapclientsearch.cpp:91
void startSearch(const QString &query)
Starts the LDAP search on all configured LDAP clients with the given search query.
Definition: ldapclientsearch.cpp:215
QStringList attributes() const
Returns the attributes, that are queried the LDAP Server.
Definition: ldapclientsearch.cpp:152
QString mid(int position, int n) const
Describes the result returned by an LdapClientSearch query.
Definition: ldapclientsearch.h:41
void setServer(const KLDAP::LdapServer &server)
Sets the LDAP server information that shall be used by this client.
Definition: ldapclient.cpp:104
void setCompletionWeight(int weight)
Sets the completion weight of this client.
Definition: ldapclient.cpp:317
QString fromLatin1(const char *str, int size)
const_iterator constBegin() const
int size() const
bool connect(const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type)
QString arg(qlonglong a, int fieldWidth, int base, const QChar &fillChar) const
iterator begin()
void setAttributes(const QStringList &)
Sets the attributes, that are queried the LDAP Server.
Definition: ldapclientsearch.cpp:157
void updateCompletionWeights()
Updates the completion weights for the configured LDAP clients from the configuration file...
Definition: ldapclientsearch.cpp:129
int completionWeight
The weight of the contact (used for sorting in a completion list).
Definition: ldapclientsearch.h:62
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.