]> cloud.milkyroute.net Git - dolphin.git/blobdiff - src/dolphindetailsview.h
- allow the view implementations to attach custom actions to the context menu
[dolphin.git] / src / dolphindetailsview.h
index 0cef8374148c4d6c7f385ba6d38209d25d316605..38aea12deef7463f0b9ac286d3a9651bdaea3b0e 100644 (file)
@@ -153,6 +153,12 @@ private slots:
      */
     void updateElasticBandSelection();
 
+    /**
+     * If \a expandable is true, the details view acts as tree view.
+     * The current expandable state is remembered in the settings.
+     */
+    void setFoldersExpandable(bool expandable);
+
 private:
     /**
      * Updates the size of the decoration dependent on the
@@ -181,6 +187,7 @@ private:
     DolphinController* m_controller;
     SelectionManager* m_selectionManager;
     DolphinViewAutoScroller* m_autoScroller;
+    QAction* m_expandableFoldersAction;
 
     QFont m_font;
     QSize m_decorationSize;