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

mailcommon

  • sources
  • kde-4.12
  • kdepim
  • mailcommon
  • widgets
favoritecollectionwidget.h
Go to the documentation of this file.
1 /* -*- mode: C++; c-file-style: "gnu" -*-
2 
3  Copyright (c) 2012-2013 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 protected slots:
42  void slotGeneralFontChanged();
43  void slotGeneralPaletteChanged();
44  void slotChangeIconSize(bool);
45  void slotChangeMode(bool);
46 
47 protected:
48  void paintEvent(QPaintEvent*);
49 
50 private:
51  void createMenu(KActionCollection *ac);
52  class Private;
53  Private *const d;
54 };
55 
56 }
57 
58 #endif /* MAILCOMMON_FAVORITECOLLECTIONWIDGET_H */
59 
MailCommon::FavoriteCollectionWidget
Definition: favoritecollectionwidget.h:31
QWidget
mailcommon_export.h
MAILCOMMON_EXPORT
#define MAILCOMMON_EXPORT
Definition: mailcommon_export.h:35
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:55:14 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

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