akonadi_next
quotacolorproxymodel.cpp
Go to the documentation of this file.
85 const Collection collection = sourceModel()->data( rowIndex, EntityTreeModel::CollectionRole ).value<Collection>();
QuotaColorProxyModel(QObject *parent=0)
Creates a new quota color proxy model.
Definition: quotacolorproxymodel.cpp:49
A proxy model that colors collection text if they're above a given quota threshold.
Definition: quotacolorproxymodel.h:48
qreal warningThreshold() const
Definition: quotacolorproxymodel.cpp:65
void setWarningThreshold(qreal threshold)
Definition: quotacolorproxymodel.cpp:60
QColor warningColor() const
Definition: quotacolorproxymodel.cpp:75
virtual void setSourceModel(QAbstractItemModel *sourceModel)
Definition: quotacolorproxymodel.cpp:103
virtual QVariant data(const QModelIndex &index, int role=Qt::DisplayRole) const
Definition: quotacolorproxymodel.cpp:80
virtual ~QuotaColorProxyModel()
Destroys the statistics tooltip proxy model.
Definition: quotacolorproxymodel.cpp:55
void setWarningColor(const QColor &color)
Definition: quotacolorproxymodel.cpp:70
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:54:56 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:54:56 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.