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:331
void initStyleOption(QStyleOptionViewItem *option, const QModelIndex &index) const override
Definition collectionstatisticsdelegate.cpp:130
bool unreadCountShown() const
Returns whether the unread count is drawn next to the folder name.
Definition collectionstatisticsdelegate.cpp:102
void setUnreadCountShown(bool enable)
Sets whether the unread count is drawn next to the folder name.
Definition collectionstatisticsdelegate.cpp:96
void paint(QPainter *painter, const QStyleOptionViewItem &option, const QModelIndex &index) const override
Definition collectionstatisticsdelegate.cpp:176
void setProgressAnimationEnabled(bool enable)
Definition collectionstatisticsdelegate.cpp:108
CollectionStatisticsDelegate(QAbstractItemView *parent)
Creates a new collection statistics delegate.
Definition collectionstatisticsdelegate.cpp:82
~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 Feb 28 2025 11:52:30 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Feb 28 2025 11:52:30 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.