mailcommon
#include <foldertreewidgetproxymodel.h>
Inherits EntityRightsFilterModel.
Public Types | |
enum | FolderTreeWidgetProxyModelOption { None = 0, HideVirtualFolder = 1, HideSpecificFolder = 2, HideOutboxFolder = 4 } |
Public Member Functions | |
FolderTreeWidgetProxyModel (QObject *parent=0, FolderTreeWidgetProxyModelOptions=FolderTreeWidgetProxyModel::None) | |
virtual | ~FolderTreeWidgetProxyModel () |
void | addContentMimeTypeInclusionFilter (const QString &mimeTypes) |
virtual QVariant | data (const QModelIndex &index, int role=Qt::DisplayRole) const |
bool | enabledCheck () const |
virtual Qt::ItemFlags | flags (const QModelIndex &index) const |
bool | hideOutboxFolder () const |
bool | hideSpecificFolder () const |
bool | hideVirtualFolder () const |
void | readConfig () |
void | setEnabledCheck (bool enable) |
void | setFilterFolder (const QString &filter) |
void | setHideOutboxFolder (bool hide) |
void | setHideSpecificFolder (bool hide) |
void | setHideVirtualFolder (bool exclude) |
void | updatePalette () |
Protected Member Functions | |
virtual bool | acceptRow (int sourceRow, const QModelIndex &sourceParent) const |
Detailed Description
Definition at line 28 of file foldertreewidgetproxymodel.h.
Member Enumeration Documentation
Enumerator | |
---|---|
None | |
HideVirtualFolder | |
HideSpecificFolder | |
HideOutboxFolder |
Definition at line 33 of file foldertreewidgetproxymodel.h.
Constructor & Destructor Documentation
|
explicit |
Definition at line 64 of file foldertreewidgetproxymodel.cpp.
|
virtual |
Definition at line 84 of file foldertreewidgetproxymodel.cpp.
Member Function Documentation
|
protectedvirtual |
Definition at line 170 of file foldertreewidgetproxymodel.cpp.
void MailCommon::FolderTreeWidgetProxyModel::addContentMimeTypeInclusionFilter | ( | const QString & | mimeTypes | ) |
Definition at line 261 of file foldertreewidgetproxymodel.cpp.
|
virtual |
Definition at line 214 of file foldertreewidgetproxymodel.cpp.
bool MailCommon::FolderTreeWidgetProxyModel::enabledCheck | ( | ) | const |
Definition at line 132 of file foldertreewidgetproxymodel.cpp.
|
virtual |
Definition at line 103 of file foldertreewidgetproxymodel.cpp.
bool MailCommon::FolderTreeWidgetProxyModel::hideOutboxFolder | ( | ) | const |
Definition at line 165 of file foldertreewidgetproxymodel.cpp.
bool MailCommon::FolderTreeWidgetProxyModel::hideSpecificFolder | ( | ) | const |
Definition at line 154 of file foldertreewidgetproxymodel.cpp.
bool MailCommon::FolderTreeWidgetProxyModel::hideVirtualFolder | ( | ) | const |
Definition at line 143 of file foldertreewidgetproxymodel.cpp.
void MailCommon::FolderTreeWidgetProxyModel::readConfig | ( | ) |
Definition at line 89 of file foldertreewidgetproxymodel.cpp.
void MailCommon::FolderTreeWidgetProxyModel::setEnabledCheck | ( | bool | enable | ) |
Definition at line 120 of file foldertreewidgetproxymodel.cpp.
void MailCommon::FolderTreeWidgetProxyModel::setFilterFolder | ( | const QString & | filter | ) |
Definition at line 208 of file foldertreewidgetproxymodel.cpp.
void MailCommon::FolderTreeWidgetProxyModel::setHideOutboxFolder | ( | bool | hide | ) |
Definition at line 159 of file foldertreewidgetproxymodel.cpp.
void MailCommon::FolderTreeWidgetProxyModel::setHideSpecificFolder | ( | bool | hide | ) |
Definition at line 148 of file foldertreewidgetproxymodel.cpp.
void MailCommon::FolderTreeWidgetProxyModel::setHideVirtualFolder | ( | bool | exclude | ) |
Definition at line 137 of file foldertreewidgetproxymodel.cpp.
void MailCommon::FolderTreeWidgetProxyModel::updatePalette | ( | ) |
Definition at line 252 of file foldertreewidgetproxymodel.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:31:41 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.