From 3c1efcb738e7ee6a00030f521138f81625e84b96 Mon Sep 17 00:00:00 2001 From: David Faure Date: Mon, 21 Jan 2008 19:44:36 +0000 Subject: Make sort/descending available in dolphinpart svn path=/trunk/KDE/kdebase/apps/; revision=764445 --- src/dolphinview.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'src/dolphinview.h') diff --git a/src/dolphinview.h b/src/dolphinview.h index 44efbc438..5ee535cb4 100644 --- a/src/dolphinview.h +++ b/src/dolphinview.h @@ -366,6 +366,12 @@ public: */ static KAction* createNewDirAction(KActionCollection* collection); + /** + * Creates the "sort descending" action. + * This code is here to share it between the mainwindow and the part + */ + static KAction* createSortDescendingAction(KActionCollection* collection); + /** * Returns the action name corresponding to the current view mode */ @@ -421,6 +427,9 @@ public slots: /** Pastes the clipboard data to this view. */ void paste(); + /** Switches between an ascending and descending sorting order. */ + void toggleSortOrder(); + signals: /** * Is emitted if the view has been activated by e. g. a mouse click. -- cgit v1.3