diff options
| author | David Faure <[email protected]> | 2008-01-21 19:44:36 +0000 |
|---|---|---|
| committer | David Faure <[email protected]> | 2008-01-21 19:44:36 +0000 |
| commit | 3c1efcb738e7ee6a00030f521138f81625e84b96 (patch) | |
| tree | 42e6a2b1cbb562150ebf44d075600abc9412a492 /src/dolphinview.h | |
| parent | e3da86af95dd620f62c1acc245b7bf98769a94fd (diff) | |
Make sort/descending available in dolphinpart
svn path=/trunk/KDE/kdebase/apps/; revision=764445
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. |
