akonadi
#include <statisticsproxymodel.h>
Public Member Functions | |
| StatisticsProxyModel (QObject *parent=0) | |
| virtual | ~StatisticsProxyModel () |
| virtual int | columnCount (const QModelIndex &parent=QModelIndex()) const |
| virtual void | connectNotify (const char *signal) |
| virtual QVariant | data (const QModelIndex &index, int role=Qt::DisplayRole) const |
| virtual Qt::ItemFlags | flags (const QModelIndex &index) const |
| virtual QVariant | headerData (int section, Qt::Orientation orientation, int role=Qt::DisplayRole) const |
| virtual QModelIndex | index (int row, int column, const QModelIndex &parent=QModelIndex()) const |
| bool | isExtraColumnsEnabled () const |
| bool | isToolTipEnabled () const |
| virtual QModelIndexList | match (const QModelIndex &start, int role, const QVariant &value, int hits=1, Qt::MatchFlags flags=Qt::MatchFlags(Qt::MatchStartsWith|Qt::MatchWrap)) const |
| void | setExtraColumnsEnabled (bool enable) |
| virtual void | setSourceModel (QAbstractItemModel *sourceModel) |
| void | setToolTipEnabled (bool enable) |
Detailed Description
A proxy model that exposes collection statistics through extra columns.
This class can be used on top of an EntityTreeModel to display extra columns summarizing statistics of collections.
- Since
- 4.4
- Deprecated
- use the one in kdepim, which is much faster
Definition at line 51 of file statisticsproxymodel.h.
Constructor & Destructor Documentation
◆ StatisticsProxyModel()
|
explicit |
Creates a new statistics proxy model.
- Parameters
-
parent The parent object.
Definition at line 284 of file statisticsproxymodel.cpp.
◆ ~StatisticsProxyModel()
|
virtual |
Destroys the statistics proxy model.
Definition at line 292 of file statisticsproxymodel.cpp.
Member Function Documentation
◆ columnCount()
|
virtual |
Definition at line 410 of file statisticsproxymodel.cpp.
◆ connectNotify()
|
virtual |
Definition at line 271 of file statisticsproxymodel.cpp.
◆ data()
|
virtual |
Definition at line 333 of file statisticsproxymodel.cpp.
◆ flags()
|
virtual |
Definition at line 399 of file statisticsproxymodel.cpp.
◆ headerData()
|
virtual |
Definition at line 384 of file statisticsproxymodel.cpp.
◆ index()
|
virtual |
Definition at line 317 of file statisticsproxymodel.cpp.
◆ isExtraColumnsEnabled()
| bool StatisticsProxyModel::isExtraColumnsEnabled | ( | ) | const |
Return true if we display extra statistics columns, otherwise false.
Definition at line 312 of file statisticsproxymodel.cpp.
◆ isToolTipEnabled()
| bool StatisticsProxyModel::isToolTipEnabled | ( | ) | const |
Return true if we display tooltips, otherwise false.
Definition at line 302 of file statisticsproxymodel.cpp.
◆ match()
|
virtual |
Definition at line 420 of file statisticsproxymodel.cpp.
◆ setExtraColumnsEnabled()
| void StatisticsProxyModel::setExtraColumnsEnabled | ( | bool | enable | ) |
- Parameters
-
enable Display extra statistics columns
Definition at line 307 of file statisticsproxymodel.cpp.
◆ setSourceModel()
|
virtual |
Definition at line 258 of file statisticsproxymodel.cpp.
◆ setToolTipEnabled()
| void StatisticsProxyModel::setToolTipEnabled | ( | bool | enable | ) |
- Parameters
-
enable Display tooltips
Definition at line 297 of file statisticsproxymodel.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2025 The KDE developers.
Generated on Thu Jul 24 2025 00:00:00 by doxygen 1.14.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.