From 2f47863c68bb0ac0417eed76f713ced651a4908a Mon Sep 17 00:00:00 2001 From: Peter Penz Date: Wed, 11 Feb 2009 20:45:12 +0000 Subject: - allow the view implementations to attach custom actions to the context menu - let the "details view" show the "[x] Expandable Folders" action in the context menu CCMAIL: faure@kde.org svn path=/trunk/KDE/kdebase/apps/; revision=924867 --- src/dolphindetailsview.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to '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; -- cgit v1.3.1