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

mailcommon

  • sources
  • kde-4.14
  • kdepim
  • mailcommon
  • widgets
favoritecollectionwidget.h
Go to the documentation of this file.
1 /* -*- mode: C++; c-file-style: "gnu" -*-
2 
3  Copyright (c) 2012-2015 Montel Laurent <montel@kde.org>
4 
5  This program is free software; you can redistribute it and/or modify it
6  under the terms of the GNU General Public License, version 2, as
7  published by the Free Software Foundation.
8 
9  This program is distributed in the hope that it will be useful, but
10  WITHOUT ANY WARRANTY; without even the implied warranty of
11  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12  General Public License for more details.
13 
14  You should have received a copy of the GNU General Public License along
15  with this program; if not, write to the Free Software Foundation, Inc.,
16  51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
17 */
18 
19 #ifndef MAILCOMMON_FAVORITECOLLECTIONWIDGET_H
20 #define MAILCOMMON_FAVORITECOLLECTIONWIDGET_H
21 
22 #include "mailcommon_export.h"
23 
24 #include <Akonadi/EntityListView>
25 
26 class KXMLGUIClient;
27 class KActionCollection;
28 
29 namespace MailCommon {
30 
31 class MAILCOMMON_EXPORT FavoriteCollectionWidget : public Akonadi::EntityListView
32 {
33  Q_OBJECT
34 public:
35  explicit FavoriteCollectionWidget( KXMLGUIClient *xmlGuiClient, QWidget *parent = 0 );
36  ~FavoriteCollectionWidget();
37 
38  void readConfig();
39  void updateMode();
40 
41  void changeViewMode(QListView::ViewMode mode);
42 
43 protected slots:
44  void slotGeneralFontChanged();
45  void slotGeneralPaletteChanged();
46  void slotChangeIconSize(bool);
47  void slotChangeMode(bool);
48 
49 protected:
50  void paintEvent(QPaintEvent*);
51 
52 private:
53  void createMenu(KActionCollection *ac);
54  class Private;
55  Private *const d;
56 };
57 
58 }
59 
60 #endif /* MAILCOMMON_FAVORITECOLLECTIONWIDGET_H */
61 
QWidget
MailCommon::FavoriteCollectionWidget
Definition: favoritecollectionwidget.h:31
mailcommon_export.h
MAILCOMMON_EXPORT
#define MAILCOMMON_EXPORT
Definition: mailcommon_export.h:35
QPaintEvent
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:31:40 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

mailcommon

Skip menu "mailcommon"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Related Pages

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