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

libkdepim

  • sources
  • kde-4.12
  • kdepim
  • libkdepim
  • ldap
ldapsearchdialog.h
Go to the documentation of this file.
1 /*
2  * This file is part of libkldap.
3  *
4  * Copyright (C) 2002 Klarälvdalens Datakonsult AB
5  *
6  * Author: Steffen Hansen <hansen@kde.org>
7  *
8  * This library is free software; you can redistribute it and/or
9  * modify it under the terms of the GNU Library General Public
10  * License as published by the Free Software Foundation; either
11  * version 2 of the License, or (at your option) any later version.
12  *
13  * This library is distributed in the hope that it will be useful,
14  * but WITHOUT ANY WARRANTY; without even the implied warranty of
15  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16  * Library General Public License for more details.
17  *
18  * You should have received a copy of the GNU Library General Public License
19  * along with this library; see the file COPYING.LIB. If not, write to
20  * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
21  * Boston, MA 02110-1301, USA.
22  */
23 //AK_REVIEW: move back to libkdepim, not ready yet
24 #ifndef KLDAP_LDAPSEARCHDIALOG_H
25 #define KLDAP_LDAPSEARCHDIALOG_H
26 
27 #include "libkdepim/kdepim_export.h"
28 
29 #include <kabc/addressee.h>
30 #include <kdialog.h>
31 
32 class QCloseEvent;
33 
34 namespace KLDAP {
35 
36 class LdapClient;
37 class LdapObject;
38 
48 class KDEPIM_EXPORT LdapSearchDialog : public KDialog
49 {
50  Q_OBJECT
51 
52  public:
58  explicit LdapSearchDialog( QWidget *parent = 0 );
59 
63  ~LdapSearchDialog();
64 
68  void setSearchText( const QString &text );
69 
74  KABC::Addressee::List selectedContacts() const;
75 
76  Q_SIGNALS:
81  void contactsAdded();
82 
83  protected Q_SLOTS:
84  void slotUser1();
85  void slotUser2();
86  void slotCustomContextMenuRequested(const QPoint&);
87 
88  protected:
89  void closeEvent( QCloseEvent* );
90 
91  private:
92  //@cond PRIVATE
93  class Private;
94  Private* const d;
95 
96  Q_PRIVATE_SLOT( d, void slotAddResult( const KLDAP::LdapClient&, const KLDAP::LdapObject& ) )
97  Q_PRIVATE_SLOT( d, void slotSetScope( bool ) )
98  Q_PRIVATE_SLOT( d, void slotStartSearch() )
99  Q_PRIVATE_SLOT( d, void slotStopSearch() )
100  Q_PRIVATE_SLOT( d, void slotSearchDone() )
101  Q_PRIVATE_SLOT( d, void slotError( const QString& ) )
102  Q_PRIVATE_SLOT( d, void slotSelectAll() )
103  Q_PRIVATE_SLOT( d, void slotUnselectAll() )
104  Q_PRIVATE_SLOT( d, void slotSelectionChanged() )
105  //@endcond
106 };
107 
108 }
109 
110 #endif
kdepim_export.h
QWidget
KDialog
KLDAP::LdapSearchDialog
A dialog to search contacts in a LDAP directory.
Definition: ldapsearchdialog.h:48
KLDAP::LdapClient
An object that represents a configured LDAP server.
Definition: ldapclient.h:48
KDEPIM_EXPORT
#define KDEPIM_EXPORT
Definition: kdepim_export.h:35
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