From 283f97ac27c3cfe5c72682b0843503e31643a612 Mon Sep 17 00:00:00 2001 From: Peter Penz Date: Sat, 15 Oct 2011 22:55:01 +0200 Subject: Interface cleanups to prepare the return of "grouped sorting" - Rename setCategorizedSorting() to setGroupedSorting() - Change the model interface to allow enabling/disabling grouping without the need to declare a role (the sort role will be taken). - Add dummy group role implementation in KFileItemModel The grouping code itself requires some cleanups and might crash at the moment or lead to weird layouts. --- src/views/dolphinviewactionhandler.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/views/dolphinviewactionhandler.h') diff --git a/src/views/dolphinviewactionhandler.h b/src/views/dolphinviewactionhandler.h index 4e5a0d32f..647c6390c 100644 --- a/src/views/dolphinviewactionhandler.h +++ b/src/views/dolphinviewactionhandler.h @@ -176,14 +176,14 @@ private Q_SLOTS: const QList& previous); /** - * Switches between sorting by categories or not. + * Switches between sorting by groups or not. */ - void toggleSortCategorization(bool); + void toggleGroupedSorting(bool); /** * Updates the state of the 'Categorized sorting' menu action. */ - void slotCategorizedSortingChanged(bool sortCategorized); + void slotGroupedSortingChanged(bool sortCategorized); /** * Switches between showing and hiding of hidden marked files -- cgit v1.3.1