From b8c718a6fd9810f9e91303ed50402de4ab417a49 Mon Sep 17 00:00:00 2001 From: Peter Penz Date: Tue, 6 Sep 2011 23:42:42 +0200 Subject: First step to reactivate version control plugin functionality - Add a DolphinFileItemListWidget that provides icon-overlays and colored text for the version state (implementation is missing yet) - Allow KFileItemListWidget to have custom text colors - Update interface of VersionControlObserver to work with KFileItemModel instead of the old model-interface. --- src/views/dolphinitemlistcontainer.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/views/dolphinitemlistcontainer.cpp') diff --git a/src/views/dolphinitemlistcontainer.cpp b/src/views/dolphinitemlistcontainer.cpp index b6ab4642f..1ee8f8aa4 100644 --- a/src/views/dolphinitemlistcontainer.cpp +++ b/src/views/dolphinitemlistcontainer.cpp @@ -23,6 +23,8 @@ #include "dolphin_detailsmodesettings.h" #include "dolphin_compactmodesettings.h" +#include "dolphinfileitemlistwidget.h" + #include #include #include @@ -45,6 +47,7 @@ DolphinItemListContainer::DolphinItemListContainer(KDirLister* dirLister, controller()->setModel(new KFileItemModel(dirLister, this)); m_fileItemListView = new KFileItemListView(); + m_fileItemListView->setWidgetCreator(new KItemListWidgetCreator()); controller()->setView(m_fileItemListView); KItemListStyleOption option; -- cgit v1.3