Akonadi
collectionstatisticsdelegate.h
41 * Akonadi::CollectionStatisticsDelegate *delegate = new Akonadi::CollectionStatisticsDelegate( view );
46 * @note This proxy model is intended to be used on top of the EntityTreeModel. One of the proxies
112 void paint(QPainter *painter, const QStyleOptionViewItem &option, const QModelIndex &index) const override;
void updatePalette()
Definition collectionstatisticsdelegate.cpp:326
void initStyleOption(QStyleOptionViewItem *option, const QModelIndex &index) const override
Definition collectionstatisticsdelegate.cpp:127
bool unreadCountShown() const
Returns whether the unread count is drawn next to the folder name.
Definition collectionstatisticsdelegate.cpp:99
void setUnreadCountShown(bool enable)
Sets whether the unread count is drawn next to the folder name.
Definition collectionstatisticsdelegate.cpp:93
void paint(QPainter *painter, const QStyleOptionViewItem &option, const QModelIndex &index) const override
Definition collectionstatisticsdelegate.cpp:173
void setProgressAnimationEnabled(bool enable)
Definition collectionstatisticsdelegate.cpp:105
CollectionStatisticsDelegate(QAbstractItemView *parent)
Creates a new collection statistics delegate.
Definition collectionstatisticsdelegate.cpp:79
~CollectionStatisticsDelegate() override
Destroys the collection statistics delegate.
Helper integration between Akonadi and Qt.
Q_OBJECTQ_OBJECT
QObject * parent() const const
QStyledItemDelegate(QObject *parent)
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:49:58 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:49:58 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.