X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/blobdiff_plain/5cec8a2dd95d6ccbc0d425c449df70cd645e3d29..2f47863c68bb0ac0417eed76f713ced651a4908a:/src/dolphindetailsview.h diff --git a/src/dolphindetailsview.h b/src/dolphindetailsview.h index 0cef83741..38aea12de 100644 --- a/src/dolphindetailsview.h +++ b/src/dolphindetailsview.h @@ -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;