From 29c5ab3b74d26657c60b40770676be082caa953d Mon Sep 17 00:00:00 2001 From: Frank Reininghaus Date: Mon, 20 Apr 2009 17:52:21 +0000 Subject: 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 --- src/dolphinviewactionhandler.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/dolphinviewactionhandler.h') diff --git a/src/dolphinviewactionhandler.h b/src/dolphinviewactionhandler.h index 40062de04..91875ec0c 100644 --- a/src/dolphinviewactionhandler.h +++ b/src/dolphinviewactionhandler.h @@ -132,11 +132,19 @@ 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. */ -- cgit v1.3