┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/dolphinfileitemdelegate.h
diff options
context:
space:
mode:
authorPeter Penz <[email protected]>2009-12-12 14:16:02 +0000
committerPeter Penz <[email protected]>2009-12-12 14:16:02 +0000
commit0ca68f6a562de0ccd671715ea6e98ee2504dbb6b (patch)
treee4a6a70ee0e8a1ea619b5277c9e27363da9c53c6 /src/dolphinfileitemdelegate.h
parent50e9debc1bc87d556b565b398a12f3f5d89430dd (diff)
I guess most developers use the Details View with very small icons (16 x 16) for viewing their versioned code (at least I do ;-)). In this case the version control emblems are very small and it is easy to miss that there are locally changed files or that an update is required (Nuno and I tried different sizes, but for 16 x 16 icons there is really less room for variants).
So the text color gets tinted a little bit now to notice the difference... svn path=/trunk/KDE/kdebase/apps/; revision=1061618
Diffstat (limited to 'src/dolphinfileitemdelegate.h')
-rw-r--r--src/dolphinfileitemdelegate.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/dolphinfileitemdelegate.h b/src/dolphinfileitemdelegate.h
index 287136862..405f24916 100644
--- a/src/dolphinfileitemdelegate.h
+++ b/src/dolphinfileitemdelegate.h
@@ -66,6 +66,9 @@ private:
const DolphinModel* dolphinModel,
const QModelIndex& index);
+ static void adjustOptionTextColor(QStyleOptionViewItemV4& option,
+ KVersionControlPlugin::VersionState state);
+
QPixmap emblemForState(KVersionControlPlugin::VersionState state, const QSize& size) const;
private: