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
The total size of the items in this collection and its children.
Definition: collectionstatisticsmodel.h:69
virtual int columnCount(const QModelIndex &parent=QModelIndex()) const
Definition: collectionstatisticsmodel.cpp:85
Provides statistics information of a Collection.
Definition: collectionstatistics.h:69
Collection collectionForId(Collection::Id id) const
Returns the collection for a given collection id.
Definition: collectionmodel.cpp:307
qint64 unreadCount() const
Returns the number of unread items in this collection or -1 if this information is not available...
Definition: collectionstatistics.cpp:77
CollectionStatisticsModel(QObject *parent=0)
Creates a new collection statistics model.
Definition: collectionstatisticsmodel.cpp:79
qint64 count() const
Returns the number of items in this collection or -1 if this information is not available.
Definition: collectionstatistics.cpp:67
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
void fetchCollectionStatistics(bool enable)
Sets whether collection statistics information shall be provided by the model.
Definition: collectionmodel.cpp:313
A model that provides statistics for collections.
Definition: collectionstatisticsmodel.h:52
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
CollectionStatistics statistics() const
Returns the collection statistics of the collection.
Definition: collection.cpp:238
The number of items in this collection.
Definition: collectionstatisticsmodel.h:63
virtual QVariant data(const QModelIndex &index, int role=Qt::DisplayRole) const
Definition: collectionstatisticsmodel.cpp:93
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
virtual QVariant headerData(int section, Qt::Orientation orientation, int role=Qt::DisplayRole) const
Definition: collectionstatisticsmodel.cpp:171
The number of items in this collection and its children.
Definition: collectionstatisticsmodel.h:66
This file is part of the KDE documentation.
Documentation copyright © 1996-2017 The KDE developers.
Generated on Mon Aug 7 2017 09:24:53 by doxygen 1.8.13 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2017 The KDE developers.
Generated on Mon Aug 7 2017 09:24:53 by doxygen 1.8.13 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.