┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/dolphinviewactionhandler.h
diff options
context:
space:
mode:
authorFrank Reininghaus <[email protected]>2009-04-20 17:52:21 +0000
committerFrank Reininghaus <[email protected]>2009-04-20 17:52:21 +0000
commit29c5ab3b74d26657c60b40770676be082caa953d (patch)
treeea6440883b7c1a12a9ee14b78217f481d10986e9 /src/dolphinviewactionhandler.h
parentf6e3d851334e14a05f5e1a7b281a7101a12d43bb (diff)
Let the user choose if folders are always shown first in the views of
Dolphin and Konqueror (the default) or not. This setting can be changed in the View menu: "View->Sort By->Folders First". FEATURE: 62007 svn path=/trunk/KDE/kdebase/apps/; revision=956820
Diffstat (limited to 'src/dolphinviewactionhandler.h')
-rw-r--r--src/dolphinviewactionhandler.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/dolphinviewactionhandler.h b/src/dolphinviewactionhandler.h
index 40062de04..91875ec0c 100644
--- a/src/dolphinviewactionhandler.h
+++ b/src/dolphinviewactionhandler.h
@@ -132,12 +132,20 @@ private Q_SLOTS:
/** Switches between an ascending and descending sorting order. */
void toggleSortOrder();
+ /** Switches between a separate sorting and a mixed sorting of files and folders. */
+ void toggleSortFoldersFirst();
+
/**
* Updates the state of the 'Sort Ascending/Descending' action.
*/
void slotSortOrderChanged(Qt::SortOrder order);
/**
+ * Updates the state of the 'Sort Folders First' action.
+ */
+ void slotSortFoldersFirstChanged(bool foldersFirst);
+
+ /**
* Updates the state of the 'Sort by' actions.
*/
void slotSortingChanged(DolphinView::Sorting sorting);