From 0825733847b5f657f86e4caef5d9a9d44802b383 Mon Sep 17 00:00:00 2001 From: Vincent Reher Date: Thu, 12 May 2022 10:37:55 -0700 Subject: Set up konqueror interface to TDEIO:HiddenFileMatcher object: (1) Establish "HiddenFileSpec" key to be stored in a konq*viewrc config file. (2) Establish menu access for modifying key in listview (iconview TBD). The "HiddenFileSpec" key (under [Settings] in config/konqlistviewrc) should contain a string specifying what constitutes a hidden file. The string should conform to the syntax described in latest commit message for corresponding tdelibs PR # 163. Testing at this point will require manually editing the configuration file. KonqListView::slotChangeHiddenFileMatcher will eventually call a dialog through which a user can query and modify the specification for how "hidden" files are to be identified. Currently it only demonstrates access to HiddenFileMatcher methods. Signed-off-by: Vincent Reher --- konqueror/listview/konq_listview.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'konqueror/listview/konq_listview.h') diff --git a/konqueror/listview/konq_listview.h b/konqueror/listview/konq_listview.h index fc72f6e87..f7ba3afc9 100644 --- a/konqueror/listview/konq_listview.h +++ b/konqueror/listview/konq_listview.h @@ -111,6 +111,7 @@ protected slots: void slotCaseInsensitive(); void slotSelectionChanged(); + void slotChangeHiddenFileMatcher(); void slotShowDot(); //this is called if a item in the submenu is toggled //it saves the new configuration according to the menu items @@ -188,6 +189,7 @@ private: TDEToggleAction *m_paCaseInsensitive; + TDEAction *m_paChangeHiddenFileMatcher; TDEToggleAction *m_paShowDot; TDEToggleAction *m_paShowTime; TDEToggleAction *m_paShowType; -- cgit v1.2.1