┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/views/dolphinfileitemlistwidget.h
diff options
context:
space:
mode:
authorPeter Penz <[email protected]>2011-09-10 18:08:03 +0200
committerPeter Penz <[email protected]>2011-09-10 18:11:09 +0200
commitff243261742ecd70fb9e417614e757b5956c04aa (patch)
tree5ea6591846826b8b7f26179dc69bd2fab06c8ce5 /src/views/dolphinfileitemlistwidget.h
parentc7272df5c17c804fd379e4bac2758850f03695da (diff)
Provide KVersionControlPlugin version 2
Based on the work of Vishesh Yadav some extensions where required for the KVersionControlPlugin interface that have found there way now into KVersionControlPlugin2. Beside some interface cleanups it is now possible that a version control plugin may also provide context actions for directories or files that are not versioned yet. REVIEW: 102541
Diffstat (limited to 'src/views/dolphinfileitemlistwidget.h')
-rw-r--r--src/views/dolphinfileitemlistwidget.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/views/dolphinfileitemlistwidget.h b/src/views/dolphinfileitemlistwidget.h
index 8435b5c18..87ed0333b 100644
--- a/src/views/dolphinfileitemlistwidget.h
+++ b/src/views/dolphinfileitemlistwidget.h
@@ -23,7 +23,7 @@
#include <libdolphin_export.h>
#include <kitemviews/kfileitemlistwidget.h>
-#include <kversioncontrolplugin.h>
+#include <kversioncontrolplugin2.h>
/**
* @brief Extends KFileItemListWidget to handle the "version" role.
@@ -43,7 +43,7 @@ protected:
virtual void refreshCache();
private:
- static QPixmap overlayForState(KVersionControlPlugin::VersionState state, int size);
+ static QPixmap overlayForState(KVersionControlPlugin2::ItemVersion version, int size);
};