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

kmail/src

  • kde-4.x
  • pim
  • kmail
  • src
  • kontactplugin
  • 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 <[email protected]>
5  Copyright (C) 2013-2019 Laurent Montel <[email protected]>
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 namespace Akonadi {
32 class ETMViewStateSaver;
33 }
34 
35 class QCheckBox;
36 
37 namespace PimCommon {
38 class CheckedCollectionWidget;
39 }
40 
41 class KCMKMailSummary : public KCModule
42 {
43  Q_OBJECT
44 
45 public:
46  explicit KCMKMailSummary(QWidget *parent = nullptr);
47 
48  void load() override;
49  void save() override;
50  void defaults() override;
51 
52 private:
53  void modified();
54  void initGUI();
55  void initFolders();
56  void loadFolders();
57  void storeFolders();
58 
59  PimCommon::CheckedCollectionWidget *mCheckedCollectionWidget = nullptr;
60  QCheckBox *mFullPath = nullptr;
61  KViewStateMaintainer<Akonadi::ETMViewStateSaver> *mModelState = nullptr;
62 };
63 
64 #endif
KCMKMailSummary
Definition: kcmkmailsummary.h:41
QWidget
KCMKMailSummary::save
void save() override
Definition: kcmkmailsummary.cpp:132
KCMKMailSummary::defaults
void defaults() override
Definition: kcmkmailsummary.cpp:139
KCMKMailSummary::load
void load() override
Definition: kcmkmailsummary.cpp:124
QCheckBox
KCModule
KCMKMailSummary::KCMKMailSummary
KCMKMailSummary(QWidget *parent=nullptr)
Definition: kcmkmailsummary.cpp:51
This file is part of the KDE documentation.
Documentation copyright © 1996-2019 The KDE developers.
Generated on Fri Dec 6 2019 03:47:30 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

kmail/src

Skip menu "kmail/src"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members

pim API Reference

Skip menu "pim API Reference"
  • akonadi-calendar-tools
  •   konsolekalendar
  • akregator
  •   src
  • kalarmcal
  •   src
  •     lib
  • kdepim-runtime
  •   agents
  •   src
  • kleopatra
  •   src
  • kmailtransport
  • knotes
  • kontact
  • kontactinterface
  • kpimtextedit
  • ksmtp
  • ktnef
  • libkgapi
  • libkleo
  •   src
  •     src
  •     src

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