diff options
Diffstat (limited to 'src/dolphinview.h')
| -rw-r--r-- | src/dolphinview.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/dolphinview.h b/src/dolphinview.h index 44efbc438..5ee535cb4 100644 --- a/src/dolphinview.h +++ b/src/dolphinview.h @@ -367,6 +367,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 */ QString currentViewModeActionName() const; @@ -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. |
