• 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
  • folder
entitycollectionorderproxymodel.h
Go to the documentation of this file.
1 /* -*- mode: C++; c-file-style: "gnu" -*-
2 
3  Copyright (c) 2009, 2010 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_ENTITYCOLLECTIONORDERPROXYMODEL_H
20 #define MAILCOMMON_ENTITYCOLLECTIONORDERPROXYMODEL_H
21 
22 #include <Akonadi/EntityOrderProxyModel>
23 
24 namespace MailCommon {
25 
26 class EntityCollectionOrderProxyModel : public Akonadi::EntityOrderProxyModel
27 {
28  Q_OBJECT
29  public:
30  explicit EntityCollectionOrderProxyModel( QObject *parent = 0 );
31 
32  virtual ~EntityCollectionOrderProxyModel();
33 
34  virtual bool lessThan( const QModelIndex &left, const QModelIndex &right ) const;
35 
36  void setManualSortingActive( bool active );
37  bool isManualSortingActive() const;
38 
39  void clearRanks();
40  void setTopLevelOrder(const QStringList& list);
41 
42  public slots:
43  void slotSpecialCollectionsChanged();
44 
45  private:
46  class EntityCollectionOrderProxyModelPrivate;
47  EntityCollectionOrderProxyModelPrivate *const d;
48 };
49 
50 }
51 
52 #endif
53 
MailCommon::EntityCollectionOrderProxyModel::isManualSortingActive
bool isManualSortingActive() const
Definition: entitycollectionorderproxymodel.cpp:159
MailCommon::EntityCollectionOrderProxyModel::EntityCollectionOrderProxyModel
EntityCollectionOrderProxyModel(QObject *parent=0)
Definition: entitycollectionorderproxymodel.cpp:85
QObject
MailCommon::EntityCollectionOrderProxyModel::slotSpecialCollectionsChanged
void slotSpecialCollectionsChanged()
Definition: entitycollectionorderproxymodel.cpp:104
MailCommon::EntityCollectionOrderProxyModel::lessThan
virtual bool lessThan(const QModelIndex &left, const QModelIndex &right) const
Definition: entitycollectionorderproxymodel.cpp:124
MailCommon::EntityCollectionOrderProxyModel::~EntityCollectionOrderProxyModel
virtual ~EntityCollectionOrderProxyModel()
Definition: entitycollectionorderproxymodel.cpp:96
MailCommon::EntityCollectionOrderProxyModel::setTopLevelOrder
void setTopLevelOrder(const QStringList &list)
Definition: entitycollectionorderproxymodel.cpp:112
MailCommon::EntityCollectionOrderProxyModel::clearRanks
void clearRanks()
Definition: entitycollectionorderproxymodel.cpp:118
MailCommon::EntityCollectionOrderProxyModel
Definition: entitycollectionorderproxymodel.h:26
MailCommon::EntityCollectionOrderProxyModel::setManualSortingActive
void setManualSortingActive(bool active)
Definition: entitycollectionorderproxymodel.cpp:148
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