┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/dolphindetailsview.h
diff options
context:
space:
mode:
authorPeter Penz <[email protected]>2009-02-11 20:45:12 +0000
committerPeter Penz <[email protected]>2009-02-11 20:45:12 +0000
commit2f47863c68bb0ac0417eed76f713ced651a4908a (patch)
tree4deffd5657f8f39c02623d9a873e894b3a9ec8c0 /src/dolphindetailsview.h
parent5cec8a2dd95d6ccbc0d425c449df70cd645e3d29 (diff)
- 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: [email protected] svn path=/trunk/KDE/kdebase/apps/; revision=924867
Diffstat (limited to 'src/dolphindetailsview.h')
-rw-r--r--src/dolphindetailsview.h7
1 files changed, 7 insertions, 0 deletions
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;