diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-04-08 14:41:17 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-04-08 14:41:17 +0900 |
commit | b4d35ab97d008c3b24a109640d90dba73215631b (patch) | |
tree | 78ef92df7a05944abbbc564df9d2789e42d1220a /src/UiGuiSettings.h | |
parent | 191e11f6dc9f8ac42f39a8866a8f4dfb4f75433c (diff) | |
download | universal-indent-gui-tqt-b4d35ab97d008c3b24a109640d90dba73215631b.tar.gz universal-indent-gui-tqt-b4d35ab97d008c3b24a109640d90dba73215631b.zip |
Settings for syntax highlighting, showing whitespaces and loading last open file are now saved and restored across executions
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'src/UiGuiSettings.h')
-rw-r--r-- | src/UiGuiSettings.h | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/src/UiGuiSettings.h b/src/UiGuiSettings.h index de5ddad..6fd6428 100644 --- a/src/UiGuiSettings.h +++ b/src/UiGuiSettings.h @@ -74,7 +74,7 @@ class UiGuiSettings : public TQObject // [--] private slots: // [--] void handleObjectPropertyChange(); // [++] void handleValueChangeFromExtern(int value); -// [++] void handleValueChangeFromExtern(bool value); + void handleValueChangeFromExtern(bool value); // [++] void handleValueChangeFromExtern(TQDate value); // [++] void handleValueChangeFromExtern(TQByteArray value); @@ -87,11 +87,11 @@ class UiGuiSettings : public TQObject // [++] void windowSize(TQSize value); // [++] void fileEncoding(TQString value); // [++] void recentlyOpenedListSize(int value); -// [++] void loadLastOpenedFileOnStartup(bool value); + void loadLastOpenedFileOnStartup(bool value); // [++] void lastOpenedFiles(TQString value); // [++] void selectedIndenter(int value); -// [++] void syntaxHighlightningEnabled(bool value); -// [++] void whiteSpaceIsVisible(bool value); + void syntaxHighlightingEnabled(bool value); + void whiteSpaceIsVisible(bool value); // [++] void indenterParameterTooltipsEnabled(bool value); // [++] void tabWidth(int value); // [++] void language(int value); @@ -111,6 +111,9 @@ class UiGuiSettings : public TQObject // This map holds all possible settings defined by their name as TQString. TQMap<TQString, TQVariant> m_settings; + // This map holds the relationship between action widgets and settings entries + TQMap<TQString, TQString> m_actionSettings; + // The path where the indenters are located TQString m_indenterDirectoryStr; }; |