diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-03-17 22:16:24 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-04-01 10:58:24 +0900 |
commit | e7b18a1f57023a06ad12f5ff7d3cb2e80a254be5 (patch) | |
tree | d86a2f7b4012fdf7ebc7120317d0b3a9bd7ec135 /src/MainWindow.cpp | |
parent | d879569fce39cb38991384a1851eeb42eca6e16f (diff) | |
download | universal-indent-gui-tqt-e7b18a1f57023a06ad12f5ff7d3cb2e80a254be5.tar.gz universal-indent-gui-tqt-e7b18a1f57023a06ad12f5ff7d3cb2e80a254be5.zip |
Added first part of UiGuiSettings class.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'src/MainWindow.cpp')
-rw-r--r-- | src/MainWindow.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/MainWindow.cpp b/src/MainWindow.cpp index 72e28a1..81326ab 100644 --- a/src/MainWindow.cpp +++ b/src/MainWindow.cpp @@ -19,19 +19,19 @@ #include "config.h" #include "MainWindow.h" -#include "UiGuiVersion.h" ///-- #include "debugging/TSLogger.h" -///-- #include "SettingsPaths.h" -///-- -#include "ToolBarWidget.h" + #include "AboutDialog.h" +#include "SettingsPaths.h" +#include "UiGuiSettings.h" +#include "UiGuiVersion.h" +#include "ToolBarWidget.h" ///-- #include "AboutDialogGraphicsView.h" -///-- #include "UiGuiSettings.h" ///-- #include "UiGuiSettingsDialog.h" ///-- #include "UiGuiHighlighter.h" ///-- #include "IndentHandler.h" -///-- + #include <tqpixmap.h> #include <tqaction.h> #include <tqcheckbox.h> @@ -89,9 +89,9 @@ MainWindow::MainWindow(TQString file2OpenOnStart, TQWidget *parent) : ///-- // Init of some variables. ///-- _sourceCodeChanged = false; ///-- _scrollPositionChanged = false; -///-- -///-- // Create the _settings object, which loads all UiGui settings from a file. -///-- _settings = UiGuiSettings::getInstance(); + + // Create the _settings object, which loads all UiGui settings from a file. + m_settings = UiGuiSettings::getInstance(); ///-- ///-- // Initialize the language of the application. ///-- initApplicationLanguage(); |