From f955ee200da38d80be4833d8b421221874896ca1 Mon Sep 17 00:00:00 2001 From: Peter Penz Date: Fri, 8 Oct 2010 19:10:53 +0000 Subject: Move the changing of the cursor-shape from the extensions-factory and the selection-toggle to the selection-manager. Beside simplifying the code this also solves some corner-cases where the shape has not been restored correctly. svn path=/trunk/KDE/kdebase/apps/; revision=1183934 --- src/views/selectionmanager.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/views/selectionmanager.h') diff --git a/src/views/selectionmanager.h b/src/views/selectionmanager.h index 85145a50b..9cab4f3a9 100644 --- a/src/views/selectionmanager.h +++ b/src/views/selectionmanager.h @@ -65,11 +65,14 @@ private slots: private: KUrl urlForIndex(const QModelIndex& index) const; const QModelIndex indexForUrl(const KUrl& url) const; + void applyPointingHandCursor(); + void restoreCursor(); private: QAbstractItemView* m_view; SelectionToggle* m_toggle; bool m_connected; + bool m_appliedPointingHandCursor; }; #endif -- cgit v1.3