diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-04-02 00:03:33 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-04-02 00:03:33 +0900 |
commit | 191e11f6dc9f8ac42f39a8866a8f4dfb4f75433c (patch) | |
tree | 13fb3adf967e1ca3f0a9f9c3f6e28bc645b0827c /src/MainWindow.h | |
parent | e7b18a1f57023a06ad12f5ff7d3cb2e80a254be5 (diff) | |
download | universal-indent-gui-tqt-191e11f6dc9f8ac42f39a8866a8f4dfb4f75433c.tar.gz universal-indent-gui-tqt-191e11f6dc9f8ac42f39a8866a8f4dfb4f75433c.zip |
Window's position, size and maximized status are now saved and restored across executions
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'src/MainWindow.h')
-rw-r--r-- | src/MainWindow.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/MainWindow.h b/src/MainWindow.h index f99b4c4..7326c5c 100644 --- a/src/MainWindow.h +++ b/src/MainWindow.h @@ -50,7 +50,7 @@ class MainWindow : public MainWindowBase ~MainWindow(); ///-- protected: -///-- void closeEvent(TQCloseEvent *event); + void closeEvent(TQCloseEvent *event); ///-- bool eventFilter(TQObject *obj, TQEvent *event); ///-- private slots: @@ -82,8 +82,8 @@ class MainWindow : public MainWindowBase ///-- TQString openFileDialog(TQString dialogHeaderStr, TQString startPath, TQString fileMaskStr); ///-- void updateWindowTitle(); ///-- void loadLastOpenedFile(); -///-- void saveSettings(); -///-- bool maybeSave(); + void saveSettings(); + bool maybeSave(); ///-- void createEncodingMenu(); ///-- void createHighlighterMenu(); ///-- bool initApplicationLanguage(); @@ -120,7 +120,6 @@ class MainWindow : public MainWindowBase ///-- TQActionGroup *_highlighterActionGroup; ///-- TQTranslator *_uiGuiTranslator; ///-- TQTranslator *_qTTranslator; -///-- bool _isFirstRunOfThisVersion; ///-- ///-- bool _sourceCodeChanged; ///-- bool _scrollPositionChanged; |