┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/dolphinfileitemdelegate.h
diff options
context:
space:
mode:
authorPeter Penz <[email protected]>2009-07-13 20:39:44 +0000
committerPeter Penz <[email protected]>2009-07-13 20:39:44 +0000
commita655a560fb6780c4a0c1dabb1fd31eddf5d462c9 (patch)
treeebdc323fb220e3a2a833b593931c2cc5ba55f288 /src/dolphinfileitemdelegate.h
parent220355ca8d01f5e17e8b93dfa1a893dc6e20bd8a (diff)
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
Diffstat (limited to 'src/dolphinfileitemdelegate.h')
-rw-r--r--src/dolphinfileitemdelegate.h4
1 files changed, 3 insertions, 1 deletions
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 <dolphinmodel.h>
#include <kfileitemdelegate.h>
-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;
};