• 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
  • widgets
collectionpane.h
Go to the documentation of this file.
1 /*
2  This file is part of KMail, the KDE mail client.
3  Copyright (c) 2010 Montel Laurent <montel@kde.org>
4 
5  KMail 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  KMail 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 COLLECTIONPANE_H
20 #define COLLECTIONPANE_H
21 
22 #include <messagelist/pane.h>
23 #include <messagelist/storagemodel.h>
24 
25 class CollectionPane : public MessageList::Pane
26 {
27  Q_OBJECT
28 public:
29  explicit CollectionPane( bool restoreSession, QAbstractItemModel *model, QItemSelectionModel *selectionModel, QWidget *parent = 0 );
30  ~CollectionPane();
31 
32  MessageList::StorageModel *createStorageModel( QAbstractItemModel *model, QItemSelectionModel *selectionModel, QObject *parent );
33  void writeConfig(bool restoreSession);
34 };
35 
36 class CollectionStorageModel : public MessageList::StorageModel
37 {
38  Q_OBJECT
39 public:
43  explicit CollectionStorageModel( QAbstractItemModel *model, QItemSelectionModel *selectionModel, QObject *parent = 0 );
44  ~CollectionStorageModel();
45  bool isOutBoundFolder( const Akonadi::Collection& c ) const;
46 };
47 
48 
49 
50 #endif /* COLLECTIONPANE_H */
51 
CollectionStorageModel::CollectionStorageModel
CollectionStorageModel(QAbstractItemModel *model, QItemSelectionModel *selectionModel, QObject *parent=0)
Create a StorageModel wrapping the specified folder.
Definition: collectionpane.cpp:50
QWidget
CollectionStorageModel::~CollectionStorageModel
~CollectionStorageModel()
Definition: collectionpane.cpp:55
CollectionPane::createStorageModel
MessageList::StorageModel * createStorageModel(QAbstractItemModel *model, QItemSelectionModel *selectionModel, QObject *parent)
Definition: collectionpane.cpp:45
CollectionStorageModel
Definition: collectionpane.h:36
QObject
CollectionPane::CollectionPane
CollectionPane(bool restoreSession, QAbstractItemModel *model, QItemSelectionModel *selectionModel, QWidget *parent=0)
Definition: collectionpane.cpp:31
CollectionStorageModel::isOutBoundFolder
bool isOutBoundFolder(const Akonadi::Collection &c) const
Definition: collectionpane.cpp:59
CollectionPane::writeConfig
void writeConfig(bool restoreSession)
Definition: collectionpane.cpp:40
CollectionPane
Definition: collectionpane.h:25
CollectionPane::~CollectionPane
~CollectionPane()
Definition: collectionpane.cpp:36
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