KLDAPWidgets::LdapClientSearch
#include <ldapclientsearch.h>
Signals | |
void | searchData (const KLDAPWidgets::LdapResult::List &results) |
void | searchData (const KLDAPWidgets::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 52 of file ldapclientsearch.h.
Constructor & Destructor Documentation
◆ LdapClientSearch() [1/2]
Creates a new ldap client search object.
- Parameters
-
parent The parent object.
◆ LdapClientSearch() [2/2]
|
explicit |
Creates a new ldap client search object.
- Parameters
-
attr The attributes. parent The parent object.
◆ ~LdapClientSearch()
|
override |
Destroys the ldap client search object.
Member Function Documentation
◆ attributes()
QStringList KLDAPWidgets::LdapClientSearch::attributes | ( | ) | const |
Returns the attributes, that are queried the LDAP Server.
- Since
- 4.14
◆ cancelSearch()
void KLDAPWidgets::LdapClientSearch::cancelSearch | ( | ) |
Cancels the currently running search query.
◆ clients()
QList< LdapClient * > KLDAPWidgets::LdapClientSearch::clients | ( | ) | const |
Returns the list of configured LDAP clients.
◆ filter()
QString KLDAPWidgets::LdapClientSearch::filter | ( | ) | const |
Returns the filter for the Query.
- Since
- 4.14
◆ isAvailable()
bool KLDAPWidgets::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.
◆ 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 KLDAPWidgets::LdapClientSearch::setAttributes | ( | const QStringList & | ) |
Sets the attributes, that are queried the LDAP Server.
- Since
- 4.14
◆ setFilter()
Sets the filter for the Query.
- Since
- 4.14
◆ startSearch()
Starts the LDAP search on all configured LDAP clients with the given search query
.
◆ updateCompletionWeights()
void KLDAPWidgets::LdapClientSearch::updateCompletionWeights | ( | ) |
Updates the completion weights for the configured LDAP clients from the configuration file.
The documentation for this class was generated from the following file:
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Apr 27 2024 22:12:58 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.