summaryrefslogtreecommitdiffstats
path: root/src/MainWindow.h
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-05-05 20:20:32 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-05-05 20:20:32 +0900
commit5fa736197b0b111d7d1eb3d7622499375f3f17f9 (patch)
tree48d7d5ee9c19f52ae99d38cb743a3e8143013b32 /src/MainWindow.h
parentd53969664034f710b5eee06971d3f3e790ac1583 (diff)
downloaduniversal-indent-gui-tqt-5fa736197b0b111d7d1eb3d7622499375f3f17f9.tar.gz
universal-indent-gui-tqt-5fa736197b0b111d7d1eb3d7622499375f3f17f9.zip
Added logic to save file and handling encoding
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'src/MainWindow.h')
-rw-r--r--src/MainWindow.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/MainWindow.h b/src/MainWindow.h
index 4d2fe2f..022f967 100644
--- a/src/MainWindow.h
+++ b/src/MainWindow.h
@@ -21,7 +21,9 @@
#define MAINWINDOW_H
#include "MainWindowBase.h"
+
#include "tqobjdefs.h"
+#include "tqvaluelist.h"
/// class UiGuiSettingsDialog;
@@ -79,7 +81,6 @@ class MainWindow : public MainWindowBase
private:
TQString loadFile(const TQString &filePath);
-///-- TQString openFileDialog(TQString dialogHeaderStr, TQString startPath, TQString fileMaskStr);
void updateWindowTitle();
void loadLastOpenedFile();
void saveSettings();
@@ -121,6 +122,8 @@ class MainWindow : public MainWindowBase
TQActionGroup *m_encodingActionGroup;
TQActionGroup *m_saveEncodedActionGroup;
TQActionGroup *m_highlighterActionGroup;
+ TQValueList<TQAction*> m_openEncodingActions;
+ TQValueList<TQAction*> m_saveEncodingActions;
TQTranslator *m_uiGuiTranslator;
TQTranslator *m_qTranslator;
@@ -128,7 +131,6 @@ class MainWindow : public MainWindowBase
///-- bool _indentSettingsChanged;
bool m_previewToggled;
bool m_documentModified;
- TQStringList m_encodingsList;
TQStringList m_recentlyOpenedList;
ToolBarWidget *m_toolBarWidget;