summaryrefslogtreecommitdiffstats
path: root/rbutil/rbutilqt/base
diff options
context:
space:
mode:
Diffstat (limited to 'rbutil/rbutilqt/base')
-rw-r--r--rbutil/rbutilqt/base/rbsettings.cpp9
-rw-r--r--rbutil/rbutilqt/base/rbsettings.h13
2 files changed, 18 insertions, 4 deletions
diff --git a/rbutil/rbutilqt/base/rbsettings.cpp b/rbutil/rbutilqt/base/rbsettings.cpp
index a74b167e92..f584c6808c 100644
--- a/rbutil/rbutilqt/base/rbsettings.cpp
+++ b/rbutil/rbutilqt/base/rbsettings.cpp
@@ -48,7 +48,14 @@ const static struct {
{ RbSettings::Tts, "tts", "espeak" },
#endif
{ RbSettings::UseTtsCorrections, "use_tts_corrections", "true" },
- { RbSettings::LastTalkedFolder, "last_talked_folder", "" },
+ { RbSettings::TalkFolders, "talk_folders", "" },
+ { RbSettings::TalkProcessFiles, "talk_process_files", "true" },
+ { RbSettings::TalkProcessFolders, "talk_process_folders", "true" },
+ { RbSettings::TalkRecursive, "talk_recursive", "true" },
+ { RbSettings::TalkSkipExisting, "talk_skip_existing", "true" },
+ { RbSettings::TalkStripExtensions, "talk_strip_extensions","true" },
+ { RbSettings::TalkIgnoreFiles, "talk_ignore_files", "false" },
+ { RbSettings::TalkIgnoreWildcards, "talk_ignore_wildcards","" },
{ RbSettings::VoiceLanguage, "voicelanguage", "" },
{ RbSettings::TtsLanguage, ":tts:/language", "" },
{ RbSettings::TtsOptions, ":tts:/options", "" },
diff --git a/rbutil/rbutilqt/base/rbsettings.h b/rbutil/rbutilqt/base/rbsettings.h
index ba4a63cb3b..45ec7092e2 100644
--- a/rbutil/rbutilqt/base/rbsettings.h
+++ b/rbutil/rbutilqt/base/rbsettings.h
@@ -27,7 +27,7 @@ class RbSettings : public QObject
{
Q_OBJECT
public:
-
+
//! All user settings
enum UserSettings {
RbutilVersion,
@@ -42,7 +42,14 @@ class RbSettings : public QObject
Language,
Tts,
UseTtsCorrections,
- LastTalkedFolder,
+ TalkFolders,
+ TalkProcessFiles,
+ TalkProcessFolders,
+ TalkRecursive,
+ TalkSkipExisting,
+ TalkStripExtensions,
+ TalkIgnoreFiles,
+ TalkIgnoreWildcards,
VoiceLanguage,
TtsLanguage,
TtsOptions,
@@ -61,7 +68,7 @@ class RbSettings : public QObject
EncoderQuality,
EncoderVolume,
};
-
+
//! call this to flush the user Settings
static void sync();
//! returns the filename of the usersettings file