KLdap
ldapclientsearch.h
45 int clientNumber; ///< The client the contact comes from (used for sorting in a ldap-only lookup).
LdapClientSearch(const QStringList &attr, QObject *parent=nullptr)
Creates a new ldap client search object.
void searchData(const KLDAPWidgets::LdapResultObject::List &results)
This signal is emitted whenever new contacts have been found during the lookup.
QStringList attributes() const
Returns the attributes, that are queried the LDAP Server.
void startSearch(const QString &query)
Starts the LDAP search on all configured LDAP clients with the given search query.
void searchData(const KLDAPWidgets::LdapResult::List &results)
This signal is emitted whenever new contacts have been found during the lookup.
void updateCompletionWeights()
Updates the completion weights for the configured LDAP clients from the configuration file.
void cancelSearch()
Cancels the currently running search query.
void searchDone()
This signal is emitted whenever the lookup is complete or the user has canceled the query.
void searchData(const QStringList &results)
This signal is emitted whenever new contacts have been found during the lookup.
~LdapClientSearch() override
Destroys the ldap client search object.
void setFilter(const QString &)
Sets the filter for the Query.
QList< LdapClient * > clients() const
Returns the list of configured LDAP clients.
bool isAvailable() const
Returns whether LDAP search is possible at all.
void setAttributes(const QStringList &)
Sets the attributes, that are queried the LDAP Server.
LdapClientSearch(QObject *parent=nullptr)
Creates a new ldap client search object.
An object that represents a configured LDAP server.
Definition ldapclient.h:34
Describes the result returned by an LdapClientSearch query.
Definition ldapclientsearch.h:25
Describes the result returned by an LdapClientSearch query.
Definition ldapclientsearch.h:36
int completionWeight
The weight of the contact (used for sorting in a completion list).
Definition ldapclientsearch.h:46
int clientNumber
The client the contact comes from (used for sorting in a ldap-only lookup).
Definition ldapclientsearch.h:45
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Tue Mar 26 2024 11:18:34 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Tue Mar 26 2024 11:18:34 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.