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/viewproperties.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/views/viewproperties.h') diff --git a/src/views/viewproperties.h b/src/views/viewproperties.h index c95134a15..50b3b3f1e 100644 --- a/src/views/viewproperties.h +++ b/src/views/viewproperties.h @@ -62,8 +62,8 @@ public: void setHiddenFilesShown(bool show); bool hiddenFilesShown() const; - void setCategorizedSorting(bool categorized); - bool categorizedSorting() const; + void setGroupedSorting(bool grouped); + bool groupedSorting() const; void setSorting(DolphinView::Sorting sorting); DolphinView::Sorting sorting() const; -- cgit v1.3.1