┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/dolphinview.h
diff options
context:
space:
mode:
authorDavid Faure <[email protected]>2008-01-21 19:42:16 +0000
committerDavid Faure <[email protected]>2008-01-21 19:42:16 +0000
commitaf333d9c7a8f344ed7f2a5cae02b383a5d0ee792 (patch)
treecb587a35800cf91a0697b81088782ef0d543f279 /src/dolphinview.h
parentc00478bbc1001d10dcfc04e9b0ea251620837e85 (diff)
Make sort/descending available in dolphinpart
svn path=/branches/KDE/4.0/kdebase/apps/; revision=764444
Diffstat (limited to 'src/dolphinview.h')
-rw-r--r--src/dolphinview.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/dolphinview.h b/src/dolphinview.h
index 8076a62f0..80430ca77 100644
--- a/src/dolphinview.h
+++ b/src/dolphinview.h
@@ -369,6 +369,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;
@@ -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.