KLDAPCore::LdapClientSearch
#include <ldapclientsearch.h>
Signals | |
void | searchData (const KLDAPCore::LdapResult::List &results) |
void | searchData (const KLDAPCore::LdapResultObject::List &results) |
void | searchData (const QStringList &results) |
void | searchDone () |
Additional Inherited Members | |
Properties inherited from QObject | |
objectName | |
Public Attributes inherited from QObject | |
typedef | QObjectList |
Protected Member Functions inherited from QObject | |
virtual void | childEvent (QChildEvent *event) |
virtual void | connectNotify (const QMetaMethod &signal) |
virtual void | customEvent (QEvent *event) |
virtual void | disconnectNotify (const QMetaMethod &signal) |
bool | isSignalConnected (const QMetaMethod &signal) const const |
int | receivers (const char *signal) const const |
QObject * | sender () const const |
int | senderSignalIndex () const const |
virtual void | timerEvent (QTimerEvent *event) |
Detailed Description
- Since
- 4.5
Definition at line 51 of file ldapclientsearch.h.
Constructor & Destructor Documentation
◆ LdapClientSearch() [1/2]
Creates a new ldap client search object.
- Parameters
-
parent The parent object.
Definition at line 70 of file ldapclientsearch.cpp.
◆ LdapClientSearch() [2/2]
|
explicit |
Creates a new ldap client search object.
- Parameters
-
attr The attributes. parent The parent object.
Definition at line 77 of file ldapclientsearch.cpp.
◆ ~LdapClientSearch()
|
overridedefault |
Destroys the ldap client search object.
Member Function Documentation
◆ attributes()
QStringList LdapClientSearch::attributes | ( | ) | const |
Returns the attributes, that are queried the LDAP Server.
- Since
- 4.14
Definition at line 137 of file ldapclientsearch.cpp.
◆ cancelSearch()
void LdapClientSearch::cancelSearch | ( | ) |
Cancels the currently running search query.
Definition at line 243 of file ldapclientsearch.cpp.
◆ clients()
QList< KLDAPCore::LdapClient * > LdapClientSearch::clients | ( | ) | const |
Returns the list of configured LDAP clients.
Definition at line 122 of file ldapclientsearch.cpp.
◆ defaultAttributes()
|
static |
Definition at line 150 of file ldapclientsearch.cpp.
◆ filter()
QString LdapClientSearch::filter | ( | ) | const |
◆ isAvailable()
bool LdapClientSearch::isAvailable | ( | ) | const |
Returns whether LDAP search is possible at all.
- Note
- This method can return
false
if either no LDAP is configured or the system does not support the KIO LDAP protocol.
Definition at line 413 of file ldapclientsearch.cpp.
◆ searchData [1/3]
|
signal |
This signal is emitted whenever new contacts have been found during the lookup.
- Parameters
-
results The list of found contacts.
◆ searchData [2/3]
|
signal |
This signal is emitted whenever new contacts have been found during the lookup.
- Parameters
-
results The list of found contacts.
◆ searchData [3/3]
|
signal |
This signal is emitted whenever new contacts have been found during the lookup.
- Parameters
-
results The contacts in the form "Full Name <email>"
◆ searchDone
|
signal |
This signal is emitted whenever the lookup is complete or the user has canceled the query.
◆ setAttributes()
void LdapClientSearch::setAttributes | ( | const QStringList & | attrs | ) |
Sets the attributes, that are queried the LDAP Server.
- Since
- 4.14
Definition at line 142 of file ldapclientsearch.cpp.
◆ setFilter()
◆ startSearch()
Starts the LDAP search on all configured LDAP clients with the given search query
.
Definition at line 210 of file ldapclientsearch.cpp.
◆ updateCompletionWeights()
void LdapClientSearch::updateCompletionWeights | ( | ) |
Updates the completion weights for the configured LDAP clients from the configuration file.
Definition at line 114 of file ldapclientsearch.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri May 17 2024 11:55:32 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.