From af333d9c7a8f344ed7f2a5cae02b383a5d0ee792 Mon Sep 17 00:00:00 2001 From: David Faure Date: Mon, 21 Jan 2008 19:42:16 +0000 Subject: Make sort/descending available in dolphinpart svn path=/branches/KDE/4.0/kdebase/apps/; revision=764444 --- 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 8076a62f0..80430ca77 100644 --- a/src/dolphinview.h +++ b/src/dolphinview.h @@ -368,6 +368,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 */ @@ -423,6 +429,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