• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdepim API Reference
  • KDE Home
  • Contact Us
 

libkdepim

  • KLDAP
  • LdapClientSearch
Signals | Public Member Functions | List of all members
KLDAP::LdapClientSearch Class Reference

#include <ldapclientsearch.h>

Inheritance diagram for KLDAP::LdapClientSearch:
Inheritance graph
[legend]

Signals

void searchData (const QStringList &results)
 
void searchData (const KLDAP::LdapResult::List &results)
 
void searchDone ()
 

Public Member Functions

 LdapClientSearch (QObject *parent=0)
 
 ~LdapClientSearch ()
 
void cancelSearch ()
 
QList< LdapClient * > clients () const
 
bool isAvailable () const
 
void startSearch (const QString &query)
 
void updateCompletionWeights ()
 

Detailed Description

Since
4.5

Definition at line 60 of file ldapclientsearch.h.

Constructor & Destructor Documentation

LdapClientSearch::LdapClientSearch ( QObject *  parent = 0)
explicit

Creates a new ldap client search object.

Parameters
parentThe parent object.

Definition at line 95 of file ldapclientsearch.cpp.

LdapClientSearch::~LdapClientSearch ( )

Destroys the ldap client search object.

Definition at line 111 of file ldapclientsearch.cpp.

Member Function Documentation

void LdapClientSearch::cancelSearch ( )

Cancels the currently running search query.

Definition at line 233 of file ldapclientsearch.cpp.

QList< LdapClient * > LdapClientSearch::clients ( ) const

Returns the list of configured LDAP clients.

Definition at line 133 of file ldapclientsearch.cpp.

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 400 of file ldapclientsearch.cpp.

void KLDAP::LdapClientSearch::searchData ( const QStringList &  results)
signal

This signal is emitted whenever new contacts have been found during the lookup.

Parameters
resultsThe contacts in the form "Full Name <email>"
void KLDAP::LdapClientSearch::searchData ( const KLDAP::LdapResult::List &  results)
signal

This signal is emitted whenever new contacts have been found during the lookup.

Parameters
resultsThe list of found contacts.
void KLDAP::LdapClientSearch::searchDone ( )
signal

This signal is emitted whenever the lookup is complete or the user has canceled the query.

void LdapClientSearch::startSearch ( const QString &  query)

Starts the LDAP search on all configured LDAP clients with the given search query.

Definition at line 188 of file ldapclientsearch.cpp.

void LdapClientSearch::updateCompletionWeights ( )

Updates the completion weights for the configured LDAP clients from the configuration file.

Definition at line 125 of file ldapclientsearch.cpp.


The documentation for this class was generated from the following files:
  • ldapclientsearch.h
  • ldapclientsearch.cpp
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:58:03 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

libkdepim

Skip menu "libkdepim"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Modules

kdepim API Reference

Skip menu "kdepim API Reference"
  • akonadi_next
  • akregator
  • blogilo
  • calendarsupport
  • console
  •   kabcclient
  •   konsolekalendar
  • kaddressbook
  • kalarm
  •   lib
  • kdgantt2
  • kjots
  • kleopatra
  • kmail
  • knode
  • knotes
  • kontact
  • korgac
  • korganizer
  • ktimetracker
  • libkdepim
  • libkleo
  • libkpgp
  • mailcommon
  • messagelist
  • messageviewer

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal