mailcommon
Go to the documentation of this file.
19 #ifndef MAILCOMMON_FOLDERTREEVIEW_H
20 #define MAILCOMMON_FOLDERTREEVIEW_H
26 #include <Akonadi/EntityTreeView>
27 #include <Akonadi/Collection>
32 class CollectionStatisticsDelegate;
35 namespace MailCommon {
49 bool showUnreadCount =
true );
53 void selectNextUnreadFolder(
bool confirm =
false );
54 void selectPrevUnreadFolder(
bool confirm =
false );
56 void showStatisticAnimation(
bool anim );
58 void disableContextMenuAndExtraColumn();
62 void restoreHeaderState(
const QByteArray &data );
64 Akonadi::Collection currentFolder()
const;
66 void disableSaveConfig();
71 void keyboardSearch(
const QString & );
78 void init(
bool showUnreadCount );
79 void selectModelIndex(
const QModelIndex & );
80 void setCurrentModelIndex(
const QModelIndex & );
81 QModelIndex selectNextFolder(
const QModelIndex ¤t );
82 bool isUnreadFolder(
const QModelIndex ¤t, QModelIndex &nextIndex,
87 bool writeInConfig =
false );
89 virtual void mousePressEvent( QMouseEvent *e );
92 void slotFocusNextFolder();
93 void slotFocusPrevFolder();
94 void slotSelectFocusFolder();
95 void slotFocusFirstFolder();
96 void slotFocusLastFolder();
99 void slotHeaderContextMenuRequested(
const QPoint & );
100 void slotHeaderContextMenuChangeIconSize(
bool );
101 void slotHeaderContextMenuChangeHeader(
bool );
102 void slotHeaderContextMenuChangeToolTipDisplayPolicy(
bool );
103 void slotHeaderContextMenuChangeSortingPolicy(
bool );
107 void manualSortingChanged(
bool actif );
108 void prefereCreateNewTab(
bool );
111 bool ignoreUnreadFolder(
const Akonadi::Collection &,
bool )
const;
112 bool allowedToEnterFolder(
const Akonadi::Collection &,
bool )
const;
117 Akonadi::CollectionStatisticsDelegate *mCollectionStatisticsDelegate;
118 bool mbDisableContextMenuAndExtraColumn;
119 bool mbDisableSaveConfig;
SearchDirection
Describes the direction for searching next unread collection.
This is an enhanced EntityTreeView specially suited for the folders in KMail's main folder widget...
#define MAILCOMMON_EXPORT
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.