diff options
author | Vincent Reher <tde@4reher.org> | 2023-10-03 08:52:15 -0700 |
---|---|---|
committer | Vincent Reher <tde@4reher.org> | 2023-10-03 09:05:14 -0700 |
commit | 53a4f3cef248107cd0abfe89b9f7bc2199b7d11d (patch) | |
tree | e4fd257d78dee8cdd5e2f97b1caedb479d4b3ad9 /libkonq/update_tdestringmatcher.h | |
parent | 53ee298ff7d9427cee30fd1d0e89270168ef3813 (diff) | |
download | tdebase-issue/270/tdebase.tar.gz tdebase-issue/270/tdebase.zip |
Changes to bring code up to date and to synchronize with current changesissue/270/tdebase
in https://mirror.git.trinitydesktop.org/gitea/TDE/tdelibs/pulls/209.
Code now includes GUI enabling user to change TDEHiddenFileMatcher
for current KDirLister.
Signed-off-by: Vincent Reher <tde@4reher.org>
Diffstat (limited to 'libkonq/update_tdestringmatcher.h')
-rw-r--r-- | libkonq/update_tdestringmatcher.h | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/libkonq/update_tdestringmatcher.h b/libkonq/update_tdestringmatcher.h new file mode 100644 index 000000000..cd0269f07 --- /dev/null +++ b/libkonq/update_tdestringmatcher.h @@ -0,0 +1,21 @@ +#ifndef UPDATE_TDESTRINGMATCHER_H +#define UPDATE_TDESTRINGMATCHER_H + +#include <tqstring.h> +#include <tdestringmatcher.h> + +enum class UIresult: signed char +{ + NOCHANGE = -1, // No change + APPLY = 0, // Change applied + SAVE = 1, // Change applied, request save + RELOAD = 2 // No change, request reload +}; + +UIresult +getTDEStringMatcherPatternsFromUser( + TDEStringMatcher *matcher, + TQString dialogTitle +); + +#endif |