From a655a560fb6780c4a0c1dabb1fd31eddf5d462c9 Mon Sep 17 00:00:00 2001 From: Peter Penz Date: Mon, 13 Jul 2009 20:39:44 +0000 Subject: The Oxygen team will provide revision control emblems for KDE 4.4. Adjust the code to use icons instead of coloring the text... The icon position at the moment is terrible, an interface extension in KFileItemDelegate is required to get the icon boundaries. svn path=/trunk/KDE/kdebase/apps/; revision=996101 --- src/dolphinfileitemdelegate.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/dolphinfileitemdelegate.h') diff --git a/src/dolphinfileitemdelegate.h b/src/dolphinfileitemdelegate.h index 70b30e99d..b6a4d45b2 100644 --- a/src/dolphinfileitemdelegate.h +++ b/src/dolphinfileitemdelegate.h @@ -20,9 +20,9 @@ #ifndef DOLPHINFILEITEMDELEGATE_H #define DOLPHINFILEITEMDELEGATE_H +#include #include -class DolphinModel; class QAbstractProxyModel; /** @@ -66,6 +66,8 @@ private: const DolphinModel* dolphinModel, const QModelIndex& index); + static QPixmap emblemForState(DolphinModel::RevisionState state, const QSize& size); + private: bool m_hasMinimizedNameColumn; }; -- cgit v1.3.1