From 9cd504156b4fff688cd427af7244f6522f2e5da8 Mon Sep 17 00:00:00 2001 From: Vincent Reher Date: Tue, 2 Nov 2021 09:11:34 -0700 Subject: Introduce additional sorting / grouping options and actions for Konqueror listviews, available through new submenu: View => Sort Options: (1) "Group Directories First" - Toggle on/off option to group directories before non-directories. Comparable to iconview's "Folders First" option. (2) "Group Hidden First" - Toggle on/off option to group hidden entities (aka dotfiles) before non-hidden. Option-related settings are stored in config/konqlistviewrc Actions: (1) "Reverse Sort Order" - Toggle sort order of the current sort column. Action bound to key Ctrl+R. (2) "Alternate Sort Order" - Toggle sorting between 2 most recent sort columns selected by mouse click. The existing sort order for the sort columns is preserved. Action bound to key Ctrl+S. Action-related settings are stored in config/konquerorrc/[Listview_file] Signed-off-by: Vincent Reher Signed-off-by: Michele Calgaro --- libkonq/konq_propsview.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'libkonq/konq_propsview.h') diff --git a/libkonq/konq_propsview.h b/libkonq/konq_propsview.h index 73d8b8e6d..84ffcf029 100644 --- a/libkonq/konq_propsview.h +++ b/libkonq/konq_propsview.h @@ -93,6 +93,9 @@ public: void setDirsFirst ( bool first ); bool isDirsFirst() const; + void setHiddenFirst ( bool first ); + bool isHiddenFirst() const; + void setDescending (bool descending); bool isDescending() const; -- cgit v1.2.1