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

kmail

  • sources
  • kde-4.12
  • kdepim
  • kmail
  • collectionpage
collectionshortcutpage.h
Go to the documentation of this file.
1 /* -*- mode: C++; c-file-style: "gnu" -*-
2  This file is part of KMail, the KDE mail client.
3  Copyright (c) 2004 Till Adam <adam@kde.org>
4  Copyright (c) 2013 Jonathan Marten <jjm@keelhaul.me.uk>
5 
6  KMail is free software; you can redistribute it and/or modify it
7  under the terms of the GNU General Public License, version 2, as
8  published by the Free Software Foundation.
9 
10  KMail is distributed in the hope that it will be useful, but
11  WITHOUT ANY WARRANTY; without even the implied warranty of
12  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13  General Public License for more details.
14 
15  You should have received a copy of the GNU General Public License along
16  with this program; if not, write to the Free Software Foundation, Inc.,
17  51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
18 */
19 
20 #ifndef COLLECTIONSHORTCUTPAGE_H
21 #define COLLECTIONSHORTCUTPAGE_H
22 
23 #include "foldercollection.h"
24 
25 #include <akonadi/collectionpropertiespage.h>
26 
27 template <typename T> class QSharedPointer;
28 
29 class KKeySequenceWidget;
30 
31 class CollectionShortcutPage : public Akonadi::CollectionPropertiesPage
32 {
33  Q_OBJECT
34 public:
35  explicit CollectionShortcutPage( QWidget *parent = 0 );
36  ~CollectionShortcutPage();
37 
38  void load( const Akonadi::Collection & col );
39  void save( Akonadi::Collection & col );
40 
41 private slots:
42  void slotShortcutChanged();
43 
44 private:
45  void init(const Akonadi::Collection &);
46  QSharedPointer<MailCommon::FolderCollection> mFolder;
47  KKeySequenceWidget *mKeySeqWidget;
48  bool mShortcutChanged;
49 };
50 
51 AKONADI_COLLECTION_PROPERTIES_PAGE_FACTORY( CollectionShortcutPageFactory, CollectionShortcutPage )
52 
53 #endif /* COLLECTIONSHORTCUTPAGE_H */
CollectionShortcutPage::save
void save(Akonadi::Collection &col)
Definition: collectionshortcutpage.cpp:89
QSharedPointer
Definition: collectionmailinglistpage.h:34
QWidget
CollectionShortcutPage
Definition: collectionshortcutpage.h:31
CollectionShortcutPage::load
void load(const Akonadi::Collection &col)
Definition: collectionshortcutpage.cpp:79
CollectionShortcutPage::CollectionShortcutPage
CollectionShortcutPage(QWidget *parent=0)
Definition: collectionshortcutpage.cpp:37
CollectionShortcutPage::~CollectionShortcutPage
~CollectionShortcutPage()
Definition: collectionshortcutpage.cpp:45
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:58:51 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

kmail

Skip menu "kmail"
  • Main Page
  • Namespace List
  • Namespace Members
  • 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

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