X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/blobdiff_plain/add0f6db79cd016c1aa89bc8e9942b08f3e41443..b1c9b5126d:/src/dolphincolumnwidget.h diff --git a/src/dolphincolumnwidget.h b/src/dolphincolumnwidget.h index b3cd741fc..916bfac2e 100644 --- a/src/dolphincolumnwidget.h +++ b/src/dolphincolumnwidget.h @@ -33,11 +33,13 @@ class DolphinColumnView; class DolphinModel; class DolphinSortFilterProxyModel; class DolphinDirLister; +class DolphinViewAutoScroller; class KFilePreviewGenerator; class KJob; class KFileItem; class KFileItemList; class SelectionManager; +class ToolTipManager; class QPixmap; /** @@ -111,7 +113,7 @@ public: KFileItem itemAt(const QPoint& pos) const; KFileItemList selectedItems() const; - + /** * Returns the MIME data for the selected items. */ @@ -131,9 +133,12 @@ protected: virtual void wheelEvent(QWheelEvent* event); virtual void leaveEvent(QEvent* event); virtual void selectionChanged(const QItemSelection& selected, const QItemSelection& deselected); + virtual void currentChanged(const QModelIndex& current, const QModelIndex& previous); private slots: void slotEntered(const QModelIndex& index); + void slotClicked(const QModelIndex& index); + void slotDoubleClicked(const QModelIndex& index); void requestActivation(); void updateFont(); @@ -148,6 +153,7 @@ private: bool m_active; DolphinColumnView* m_view; SelectionManager* m_selectionManager; + DolphinViewAutoScroller* m_autoScroller; KUrl m_url; // URL of the directory that is shown KUrl m_childUrl; // URL of the next column that is shown @@ -160,6 +166,8 @@ private: KFilePreviewGenerator* m_previewGenerator; + ToolTipManager* m_toolTipManager; + QRect m_dropRect; friend class DolphinColumnView;