From 11451cea9db07b2a257297de57d76a8dbb7e3a5e Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Tue, 18 Apr 2023 17:35:50 +0900 Subject: Create encoding menus + some work on highligther menu Signed-off-by: Michele Calgaro --- src/MainWindow.h | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) (limited to 'src/MainWindow.h') 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; -- cgit v1.2.1