]> cloud.milkyroute.net Git - dolphin.git/blobdiff - src/views/selectionmanager.h
The &-shortcut from another action is not set until the action has been shown at...
[dolphin.git] / src / views / selectionmanager.h
index c2fcc88b4cf85924abc36daac338ebe3f4070d4e..9cab4f3a97f60f925ab35ac97340765a88c703da 100644 (file)
@@ -42,6 +42,7 @@ class SelectionManager : public QObject
 public:
     SelectionManager(QAbstractItemView* parent);
     virtual ~SelectionManager();
+    virtual bool eventFilter(QObject* watched, QEvent* event);
 
 public slots:
     /**
@@ -64,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