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/kitemviews/kfileitemlistview.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'src/kitemviews/kfileitemlistview.h') diff --git a/src/kitemviews/kfileitemlistview.h b/src/kitemviews/kfileitemlistview.h index 4f7e84e29..1fb7bf352 100644 --- a/src/kitemviews/kfileitemlistview.h +++ b/src/kitemviews/kfileitemlistview.h @@ -27,6 +27,15 @@ class KFileItemModelRolesUpdater; class QTimer; +/** + * @brief View that allows to show the content of file-items. + * + * The corresponding model set by the controller must be an instance + * of KFileItemModel. Per default KFileItemListWidget is set as widget creator + * value and KItemListGroupHeader as group-header creator value. Use + * KItemListView::setWidgetCreator() and KItemListView::setGroupHeaderCreator() + * to apply customized generators. + */ class LIBDOLPHINPRIVATE_EXPORT KFileItemListView : public KItemListView { Q_OBJECT -- cgit v1.3.1