]> cloud.milkyroute.net Git - dolphin.git/blobdiff - src/dolphincolumnwidget.h
disable rating, comments and tags if no meta data is available
[dolphin.git] / src / dolphincolumnwidget.h
index b3cd741fc0c87de2b4d5b3e3d59a2ecc15ea0e60..916bfac2ed1a7c8e6b383a7322db5ba4396ee899 100644 (file)
@@ -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;