From 2438b61d8e76f8ea016217150be711a1467c32d0 Mon Sep 17 00:00:00 2001 From: Peter Penz Date: Sun, 13 Nov 2011 16:20:42 +0100 Subject: Bring back the selection-markers Still some finetuning is necessary, but lets first bring back the missing features from Dolphin 1.x to 2.0 before starting with this. --- src/kitemviews/kitemlistview.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/kitemviews/kitemlistview.h') diff --git a/src/kitemviews/kitemlistview.h b/src/kitemviews/kitemlistview.h index ff908000a..481dd90f6 100644 --- a/src/kitemviews/kitemlistview.h +++ b/src/kitemviews/kitemlistview.h @@ -100,6 +100,13 @@ public: void setAutoScroll(bool enabled); bool autoScroll() const; + /** + * If set to true selection-toggles will be shown when hovering + * an item. Per default the selection-toggles are disabled. + */ + void setEnabledSelectionToggles(bool enabled); + bool enabledSelectionToggles() const; + /** * @return Controller of the item-list. The controller gets * initialized by KItemListController::setView() and will @@ -410,6 +417,7 @@ private: static int calculateAutoScrollingIncrement(int pos, int range, int oldInc); private: + bool m_enabledSelectionToggles; bool m_grouped; int m_activeTransactions; // Counter for beginTransaction()/endTransaction() -- cgit v1.3.1