diff options
| author | Peter Penz <[email protected]> | 2011-11-13 16:20:42 +0100 |
|---|---|---|
| committer | Peter Penz <[email protected]> | 2011-11-13 16:21:56 +0100 |
| commit | 2438b61d8e76f8ea016217150be711a1467c32d0 (patch) | |
| tree | 8519e8eb38d7f33b50b75eaeb96dfaeb30bacab4 /src/kitemviews/kitemlistview.h | |
| parent | fddcbc7a9edbed9267ea3114c8b7316f18904aba (diff) | |
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.
Diffstat (limited to 'src/kitemviews/kitemlistview.h')
| -rw-r--r-- | src/kitemviews/kitemlistview.h | 8 |
1 files changed, 8 insertions, 0 deletions
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 @@ -101,6 +101,13 @@ public: 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 * result in calling KItemListController::onControllerChanged(). @@ -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() |
