diff options
| author | Peter Penz <[email protected]> | 2011-10-15 22:55:01 +0200 |
|---|---|---|
| committer | Peter Penz <[email protected]> | 2011-10-15 22:55:01 +0200 |
| commit | 283f97ac27c3cfe5c72682b0843503e31643a612 (patch) | |
| tree | 35325115a5e5c001e1e307acc580af572bad0ac1 /src/views/viewproperties.h | |
| parent | a49109b09a191b73f3fda8b65c29e9c6c9bd33d8 (diff) | |
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.
Diffstat (limited to 'src/views/viewproperties.h')
| -rw-r--r-- | src/views/viewproperties.h | 4 |
1 files changed, 2 insertions, 2 deletions
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; |
