┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/views/selectionmanager.h
diff options
context:
space:
mode:
authorPeter Penz <[email protected]>2010-10-08 19:10:53 +0000
committerPeter Penz <[email protected]>2010-10-08 19:10:53 +0000
commitf955ee200da38d80be4833d8b421221874896ca1 (patch)
tree28cb1fa19131e59b864be7ef1d92a529cf1ce1ac /src/views/selectionmanager.h
parentfff40080bcc4719526cde17f826810d1b193ad52 (diff)
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
Diffstat (limited to 'src/views/selectionmanager.h')
-rw-r--r--src/views/selectionmanager.h3
1 files changed, 3 insertions, 0 deletions
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