• 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
kcmldap_p.h
Go to the documentation of this file.
1 /*
2  This file is part of libkldap.
3 
4  Copyright (c) 2003 - 2009 Tobias Koenig <tokoe@kde.org>
5  Copyright (c) 2013 Laurent Montel <montel@kde.org>
6 
7  This library is free software; you can redistribute it and/or
8  modify it under the terms of the GNU Library General Public
9  License as published by the Free Software Foundation; either
10  version 2 of the License, or (at your option) any later version.
11 
12  This library is distributed in the hope that it will be useful,
13  but WITHOUT ANY WARRANTY; without even the implied warranty of
14  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15  Library General Public License for more details.
16 
17  You should have received a copy of the GNU Library General Public License
18  along with this library; see the file COPYING.LIB. If not, write to
19  the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
20  Boston, MA 02110-1301, USA.
21 */
22 
23 #ifndef KCMLDAP_H
24 #define KCMLDAP_H
25 
26 #include <kcmodule.h>
27 
28 class QListWidget;
29 class QListWidgetItem;
30 class QPushButton;
31 class QToolButton;
32 
33 namespace KLDAP {
34 class LdapClientSearchConfig;
35 }
36 
37 class KCMLdap : public KCModule
38 {
39  Q_OBJECT
40 
41  public:
42  explicit KCMLdap( QWidget *parent, const QVariantList &args );
43  ~KCMLdap();
44 
45  void load();
46  void save();
47  void defaults();
48 
49  private Q_SLOTS:
50  void slotAddHost();
51  void slotEditHost();
52  void slotRemoveHost();
53  void slotSelectionChanged( QListWidgetItem* );
54  void slotItemClicked( QListWidgetItem* );
55  void slotMoveUp();
56  void slotMoveDown();
57 
58  private:
59  void initGUI();
60  QWidget* dialogParent();
61 
62  QListWidget* mHostListView;
63 
64  QPushButton* mAddButton;
65  QPushButton* mEditButton;
66  QPushButton* mRemoveButton;
67 
68  QToolButton* mUpButton;
69  QToolButton* mDownButton;
70  KLDAP::LdapClientSearchConfig *mClientSearchConfig;
71 };
72 
73 #endif
KCMLdap::defaults
void defaults()
KCMLdap::~KCMLdap
~KCMLdap()
QWidget
KCMLdap::save
void save()
QListWidget
KCMLdap::load
void load()
KCMLdap::KCMLdap
KCMLdap(QWidget *parent, const QVariantList &args)
KCModule
KCMLdap
Definition: kcmldap_p.h:37
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