akonadi
collectionstatisticsmodel.cpp
164 if (role == Qt::TextAlignmentRole && (index.column() == 1 || index.column() == 2 || index.column() == 3)) {
171 QVariant CollectionStatisticsModel::headerData(int section, Qt::Orientation orientation, int role) const
qint64 count() const
Returns the number of items in this collection or -1 if this information is not available.
Definition: collectionstatistics.cpp:67
The total size of the items in this collection and its children.
Definition: collectionstatisticsmodel.h:69
Provides statistics information of a Collection.
Definition: collectionstatistics.h:69
virtual QVariant headerData(int section, Qt::Orientation orientation, int role=Qt::DisplayRole) const
Definition: collectionstatisticsmodel.cpp:171
CollectionStatisticsModel(QObject *parent=0)
Creates a new collection statistics model.
Definition: collectionstatisticsmodel.cpp:79
T value(int i) const
bool isValid() const
Collection collectionForId(Collection::Id id) const
Returns the collection for a given collection id.
Definition: collectionmodel.cpp:307
QString number(int n, int base)
void fetchCollectionStatistics(bool enable)
Sets whether collection statistics information shall be provided by the model.
Definition: collectionmodel.cpp:313
virtual QVariant data(const QModelIndex &index, int role=Qt::DisplayRole) const
Definition: collectionstatisticsmodel.cpp:93
A model that provides statistics for collections.
Definition: collectionstatisticsmodel.h:52
void setValue(const T &value)
A statistics object of this collection.
Definition: collectionstatisticsmodel.h:64
The number of unread items in this collection and its children.
Definition: collectionstatisticsmodel.h:65
Definition: kcolumnfilterproxymodel_p.h:27
The number of items in this collection.
Definition: collectionstatisticsmodel.h:63
int column() const
qint64 unreadCount() const
Returns the number of unread items in this collection or -1 if this information is not available...
Definition: collectionstatistics.cpp:77
The number of unread items in this collection.
Definition: collectionstatisticsmodel.h:62
The total size of the items in this collection.
Definition: collectionstatisticsmodel.h:68
The collection identifier.
Definition: collectionmodel.h:65
A statistics object of this collection and its children.
Definition: collectionstatisticsmodel.h:67
CollectionStatistics statistics() const
Returns the collection statistics of the collection.
Definition: collection.cpp:238
virtual int columnCount(const QModelIndex &parent=QModelIndex()) const
Definition: collectionstatisticsmodel.cpp:85
The number of items in this collection and its children.
Definition: collectionstatisticsmodel.h:66
qint64 size() const
Returns the total size of the items in this collection or -1 if this information is not available...
Definition: collectionstatistics.cpp:87
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:38:02 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:38:02 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.