KLdap
ldapclientsearch.h
44 int clientNumber; ///< The client the contact comes from (used for sorting in a ldap-only lookup).
void searchData(const KLDAPCore::LdapResultObject::List &results)
This signal is emitted whenever new contacts have been found during the lookup.
void searchData(const KLDAPCore::LdapResult::List &results)
This signal is emitted whenever new contacts have been found during the lookup.
void searchData(const QStringList &results)
This signal is emitted whenever new contacts have been found during the lookup.
LdapClientSearch(QObject *parent=nullptr)
Creates a new ldap client search object.
Definition ldapclientsearch.cpp:70
void updateCompletionWeights()
Updates the completion weights for the configured LDAP clients from the configuration file.
Definition ldapclientsearch.cpp:114
void setAttributes(const QStringList &)
Sets the attributes, that are queried the LDAP Server.
Definition ldapclientsearch.cpp:142
QList< KLDAPCore::LdapClient * > clients() const
Returns the list of configured LDAP clients.
Definition ldapclientsearch.cpp:122
bool isAvailable() const
Returns whether LDAP search is possible at all.
Definition ldapclientsearch.cpp:413
~LdapClientSearch() override
Destroys the ldap client search object.
void searchDone()
This signal is emitted whenever the lookup is complete or the user has canceled the query.
QStringList attributes() const
Returns the attributes, that are queried the LDAP Server.
Definition ldapclientsearch.cpp:137
void startSearch(const QString &query)
Starts the LDAP search on all configured LDAP clients with the given search query.
Definition ldapclientsearch.cpp:210
Q_SCRIPTABLE bool setFilter(const QString &filter)
QObject(QObject *parent)
Q_OBJECTQ_OBJECT
Q_SIGNALSQ_SIGNALS
QObject * parent() const const
Describes the result returned by an LdapClientSearch query.
Definition ldapclientsearch.h:24
Describes the result returned by an LdapClientSearch query.
Definition ldapclientsearch.h:35
int clientNumber
The client the contact comes from (used for sorting in a ldap-only lookup).
Definition ldapclientsearch.h:44
int completionWeight
The weight of the contact (used for sorting in a completion list).
Definition ldapclientsearch.h:45
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:52:20 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:52:20 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.