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

libkdepim

  • sources
  • kde-4.14
  • kdepim
  • libkdepim
  • addressline
  • completionconfiguredialog
completionconfiguredialog.h
Go to the documentation of this file.
1 /*
2  Copyright (c) 2015 Montel Laurent <montel@kde.org>
3 
4  This library is free software; you can redistribute it and/or modify it
5  under the terms of the GNU Library General Public License as published by
6  the Free Software Foundation; either version 2 of the License, or (at your
7  option) any later version.
8 
9  This library is distributed in the hope that it will be useful, but WITHOUT
10  ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11  FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public
12  License for more details.
13 
14  You should have received a copy of the GNU Library General Public License
15  along with this library; see the file COPYING.LIB. If not, write to the
16  Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
17  02110-1301, USA.
18 
19 */
20 
21 #ifndef COMPLETIONCONFIGUREDIALOG_H
22 #define COMPLETIONCONFIGUREDIALOG_H
23 
24 #include "kdepim_export.h"
25 
26 #include <QDialog>
27 class QTabWidget;
28 class KConfig;
29 namespace KLDAP {
30 class LdapClientSearch;
31 }
32 namespace KPIM {
33 class CompletionOrderWidget;
34 class BlackListBalooEmailCompletionWidget;
35 class RecentAddressWidget;
36 class KDEPIM_EXPORT CompletionConfigureDialog : public QDialog
37 {
38  Q_OBJECT
39 public:
40  explicit CompletionConfigureDialog(QWidget *parent=0);
41  ~CompletionConfigureDialog();
42 
43  void load();
44  void setEmailBlackList(const QStringList &lst);
45  void setLdapClientSearch(KLDAP::LdapClientSearch *ldapSearch);
46  void setRecentAddresses(const QStringList &lst);
47  bool recentAddressWasChanged() const;
48  void storeAddresses(KConfig *config);
49 private slots:
50  void slotSave();
51 
52 private:
53  void readConfig();
54  void writeConfig();
55  QTabWidget *mTabWidget;
56  KPIM::CompletionOrderWidget *mCompletionOrderWidget;
57  KPIM::BlackListBalooEmailCompletionWidget *mBlackListBalooWidget;
58  KPIM::RecentAddressWidget *mRecentaddressWidget;
59 };
60 }
61 
62 #endif // COMPLETIONCONFIGUREDIALOG_H
kdepim_export.h
QWidget
KPIM::RecentAddressWidget
Definition: recentaddresswidget.h:33
KLDAP::LdapClientSearch
Definition: ldapclientsearch.h:68
QTabWidget
KPIM::CompletionOrderWidget
Definition: completionorderwidget.h:66
QStringList
KPIM::BlackListBalooEmailCompletionWidget
Definition: blacklistbalooemailcompletionwidget.h:30
QDialog
KDEPIM_EXPORT
#define KDEPIM_EXPORT
Definition: kdepim_export.h:35
KPIM::CompletionConfigureDialog
Definition: completionconfiguredialog.h:36
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:33:50 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
  • pimprint

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