diff options
| author | Peter Penz <[email protected]> | 2011-09-08 20:28:41 +0200 |
|---|---|---|
| committer | Peter Penz <[email protected]> | 2011-09-08 20:29:27 +0200 |
| commit | f0debd937766045c77dea5f2f5255de89f7b2697 (patch) | |
| tree | fb022c37b49130b999a3b6a1f68fbf7ab1454b4c /src/kitemviews/kfileitemlistwidget.h | |
| parent | be629fe8501941138da849cf1179ad67cd5570cb (diff) | |
Version control: show pixmap overlays for the version state
Diffstat (limited to 'src/kitemviews/kfileitemlistwidget.h')
| -rw-r--r-- | src/kitemviews/kfileitemlistwidget.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/kitemviews/kfileitemlistwidget.h b/src/kitemviews/kfileitemlistwidget.h index 0332f1159..a16e75a8e 100644 --- a/src/kitemviews/kfileitemlistwidget.h +++ b/src/kitemviews/kfileitemlistwidget.h @@ -55,6 +55,9 @@ public: protected: void setTextColor(const QColor& color); QColor textColor() const; + + void setOverlay(const QPixmap& overlay); + QPixmap overlay() const; virtual void dataChanged(const QHash<QByteArray, QVariant>& current, const QSet<QByteArray>& roles = QSet<QByteArray>()); virtual void visibleRolesChanged(const QHash<QByteArray, int>& current, const QHash<QByteArray, int>& previous); @@ -116,8 +119,11 @@ private: QList<QByteArray> m_sortedVisibleRoles; QRectF m_expansionArea; - QColor* m_customTextColor; + + QColor m_customTextColor; QColor m_additionalInfoTextColor; + + QPixmap m_overlay; }; #endif |
