diff options
author | Vincent Reher <tde@4reher.org> | 2022-05-12 10:37:55 -0700 |
---|---|---|
committer | Vincent Reher <tde@4reher.org> | 2023-10-03 09:05:14 -0700 |
commit | 0825733847b5f657f86e4caef5d9a9d44802b383 (patch) | |
tree | c5b1c04a7d2f5434e32d64053d01621ebe192846 /konqueror/listview/konq_listview.h | |
parent | ceb9a720bacef4d29abb04353b8b71ac710cfbc1 (diff) | |
download | tdebase-0825733847b5f657f86e4caef5d9a9d44802b383.tar.gz tdebase-0825733847b5f657f86e4caef5d9a9d44802b383.zip |
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 <tde@4reher.org>
Diffstat (limited to 'konqueror/listview/konq_listview.h')
-rw-r--r-- | konqueror/listview/konq_listview.h | 2 |
1 files changed, 2 insertions, 0 deletions
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; |