summaryrefslogtreecommitdiffstats
path: root/src/MainWindow.h
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-04-18 17:35:50 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-04-18 17:35:50 +0900
commit11451cea9db07b2a257297de57d76a8dbb7e3a5e (patch)
treef2232c05ad0c46697ae20bdc2b9bbac0f71c4c8b /src/MainWindow.h
parent658a06d1ee76b6e7c0d304147d3e85dbd87f9e7b (diff)
downloaduniversal-indent-gui-tqt-11451cea9db07b2a257297de57d76a8dbb7e3a5e.tar.gz
universal-indent-gui-tqt-11451cea9db07b2a257297de57d76a8dbb7e3a5e.zip
Create encoding menus + some work on highligther menu
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'src/MainWindow.h')
-rw-r--r--src/MainWindow.h24
1 files changed, 12 insertions, 12 deletions
diff --git a/src/MainWindow.h b/src/MainWindow.h
index a3d30e7..d00e141 100644
--- a/src/MainWindow.h
+++ b/src/MainWindow.h
@@ -56,7 +56,7 @@ class MainWindow : public MainWindowBase
void openSourceFileDialog(TQString fileName = "");
bool saveSourceFile();
bool saveasSourceFileDialog(TQAction *chosenEncodingAction = NULL);
-///-- void saveAsOtherEncoding(TQAction *chosenEncodingAction);
+ void saveAsOtherEncoding(TQAction *chosenEncodingAction);
///-- void callIndenter();
///-- void updateSourceView();
void turnHighlightOnOff(bool turnOn);
@@ -68,7 +68,7 @@ class MainWindow : public MainWindowBase
void exportToPDF();
void exportToHTML();
void languageChanged(int languageIndex);
-///-- void encodingChanged(TQAction *encodingAction);
+ void encodingChanged(TQAction *encodingAction);
void numberOfLinesChanged();
void updateRecentlyOpenedList();
void openFileFromRecentlyOpenedList(int recentlyOpenedActionId);
@@ -83,14 +83,14 @@ class MainWindow : public MainWindowBase
///-- void loadLastOpenedFile();
void saveSettings();
bool maybeSave();
-///-- void createEncodingMenu();
-///-- void createHighlighterMenu();
+ void createEncodingMenu();
+ void createHighlighterMenu();
bool initApplicationLanguage();
void initMainWindow();
void initToolBar();
void initTextEditor();
-///-- void initSyntaxHighlighter();
-///-- void initIndenter();
+ void initSyntaxHighlighter();
+ void initIndenter();
///-- void changeEvent(TQEvent *event);
///-- void dragEnterEvent(TQDragEnterEvent *event);
///-- void dropEvent(TQDropEvent *event);
@@ -102,7 +102,7 @@ class MainWindow : public MainWindowBase
///-- TQString _sourceFileContent;
///-- TQString _sourceFormattedContent;
///-- TQString _sourceViewContent;
-///-- UiGuiHighlighter *_highlighter;
+///-- UiGuiHighlighter *m_highlighter;
///-- TQScrollBar *m_textEditVScrollBar;
AboutDialog *m_aboutDialog;
///-- AboutDialogGraphicsView *_aboutDialogGraphicsView;
@@ -115,17 +115,17 @@ class MainWindow : public MainWindowBase
///-- TQString _currentSourceFile;
///-- TQString _currentSourceFileExtension;
///-- TQString _savedSourceContent;
-///-- TQActionGroup *_encodingActionGroup;
-///-- TQActionGroup *_saveEncodedActionGroup;
-///-- TQActionGroup *_highlighterActionGroup;
+ TQActionGroup *m_encodingActionGroup;
+ TQActionGroup *m_saveEncodedActionGroup;
+ TQActionGroup *m_highlighterActionGroup;
TQTranslator *m_uiGuiTranslator;
TQTranslator *m_qTranslator;
///--
bool m_sourceCodeChanged;
///-- bool _indentSettingsChanged;
///-- bool _previewToggled;
-///-- TQStringList _encodingsList;
-///--
+ TQStringList m_encodingsList;
+
ToolBarWidget *m_toolBarWidget;
///-- IndentHandler *_indentHandler;
TQLabel *m_textEditLineColumnInfoLabel;