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

kontact

  • sources
  • kde-4.14
  • kdepim
  • kontact
  • plugins
  • kmail
kcmkmailsummary.h
Go to the documentation of this file.
1 /*
2  This file is part of Kontact.
3 
4  Copyright (c) 2004 Tobias Koenig <tokoe@kde.org>
5  Copyright (C) 2013-2015 Laurent Montel <montel@kde.org>
6 
7  This program is free software; you can redistribute it and/or modify
8  it under the terms of the GNU General Public License as published by
9  the Free Software Foundation; either version 2 of the License, or
10  (at your option) any later version.
11 
12  This program 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
15  GNU General Public License for more details.
16 
17  You should have received a copy of the GNU General Public License along
18  with this program; if not, write to the Free Software Foundation, Inc.,
19  51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
20 
21  As a special exception, permission is given to link this program
22  with any edition of Qt, and distribute the resulting executable,
23  without including the source code for Qt in the source distribution.
24 */
25 
26 #ifndef KCMKMAILSUMMARY_H
27 #define KCMKMAILSUMMARY_H
28 
29 #include <KCModule>
30 #include <KViewStateMaintainer>
31 
32 namespace Akonadi {
33 class ETMViewStateSaver;
34 }
35 
36 class QCheckBox;
37 
38 namespace PimCommon {
39 class CheckedCollectionWidget;
40 }
41 
42 class KCMKMailSummary : public KCModule
43 {
44  Q_OBJECT
45 
46 public:
47  explicit KCMKMailSummary( const KComponentData &inst, QWidget *parent = 0 );
48 
49  virtual void load();
50  virtual void save();
51  virtual void defaults();
52 
53 private slots:
54  void modified();
55 
56 private:
57  void initGUI();
58  void initFolders();
59  void loadFolders();
60  void storeFolders();
61 
62  PimCommon::CheckedCollectionWidget *mCheckedCollectionWidget;
63  QCheckBox *mFullPath;
64  KViewStateMaintainer<Akonadi::ETMViewStateSaver> *mModelState;
65 };
66 
67 #endif
KCMKMailSummary
Definition: kcmkmailsummary.h:42
QWidget
KCMKMailSummary::load
virtual void load()
Definition: kcmkmailsummary.cpp:131
KCMKMailSummary::KCMKMailSummary
KCMKMailSummary(const KComponentData &inst, QWidget *parent=0)
Definition: kcmkmailsummary.cpp:55
KCMKMailSummary::save
virtual void save()
Definition: kcmkmailsummary.cpp:139
QCheckBox
KCMKMailSummary::defaults
virtual void defaults()
Definition: kcmkmailsummary.cpp:146
KCModule
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:34:11 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

kontact

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

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