┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/dolphinviewactionhandler.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/dolphinviewactionhandler.h')
-rw-r--r--src/dolphinviewactionhandler.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/dolphinviewactionhandler.h b/src/dolphinviewactionhandler.h
index d4790a38d..4eb856387 100644
--- a/src/dolphinviewactionhandler.h
+++ b/src/dolphinviewactionhandler.h
@@ -21,6 +21,7 @@
#ifndef DOLPHINVIEWACTIONHANDLER_H
#define DOLPHINVIEWACTIONHANDLER_H
+#include "dolphinview.h"
#include "libdolphin_export.h"
#include <QtCore/QObject>
class KToggleAction;
@@ -126,12 +127,22 @@ private Q_SLOTS:
void slotSortOrderChanged(Qt::SortOrder order);
/**
+ * Updates the state of the 'Sort by' actions.
+ */
+ void slotSortingChanged(DolphinView::Sorting sorting);
+
+ /**
* Switches on or off the displaying of additional information
* as specified by \a action.
*/
void toggleAdditionalInfo(QAction* action);
/**
+ * Changes the sorting of the current view.
+ */
+ void slotSortTriggered(QAction*);
+
+ /**
* Updates the state of the 'Additional Information' actions.
*/
void slotAdditionalInfoChanged();
@@ -169,6 +180,12 @@ private:
QActionGroup* createAdditionalInformationActionGroup();
/**
+ * Creates an action group with all the "sort by" actions in it.
+ * Helper method for createActions();
+ */
+ QActionGroup* createSortByActionGroup();
+
+ /**
* Returns the "switch to icons mode" action.
* Helper method for createActions();
*/