diff options
Diffstat (limited to 'src/MainWindow.h')
-rw-r--r-- | src/MainWindow.h | 23 |
1 files changed, 12 insertions, 11 deletions
diff --git a/src/MainWindow.h b/src/MainWindow.h index 6c4c82a..a3d30e7 100644 --- a/src/MainWindow.h +++ b/src/MainWindow.h @@ -32,10 +32,10 @@ class AboutDialog; class UiGuiSettings; class ToolBarWidget; /// -/// class TQLabel; -/// class TQScrollBar; /// class TQActionGroup; class TQextScintilla; +class TQLabel; +class TQScrollBar; class TQTranslator; @@ -61,20 +61,20 @@ class MainWindow : public MainWindowBase ///-- void updateSourceView(); void turnHighlightOnOff(bool turnOn); void setWhiteSpaceVisibility(bool visible); -///-- void sourceCodeChangedHelperSlot(); -///-- void sourceCodeChangedSlot(); + void sourceCodeChangedHelperSlot(); + void sourceCodeChangedSlot(); ///-- void indentSettingsChangedSlot(); void previewTurnedOnOff(bool turnOn); void exportToPDF(); void exportToHTML(); void languageChanged(int languageIndex); ///-- void encodingChanged(TQAction *encodingAction); -///-- void numberOfLinesChanged(); + void numberOfLinesChanged(); void updateRecentlyOpenedList(); void openFileFromRecentlyOpenedList(int recentlyOpenedActionId); void clearRecentlyOpenedList(); void showAboutDialog(); -///-- void setStatusBarCursorPosInfo(int line, int column); + void setStatusBarCursorPosInfo(int line, int column); ///-- private: ///-- TQString loadFile(TQString filePath); @@ -88,7 +88,7 @@ class MainWindow : public MainWindowBase bool initApplicationLanguage(); void initMainWindow(); void initToolBar(); -///-- void initTextEditor(); + void initTextEditor(); ///-- void initSyntaxHighlighter(); ///-- void initIndenter(); ///-- void changeEvent(TQEvent *event); @@ -103,13 +103,14 @@ class MainWindow : public MainWindowBase ///-- TQString _sourceFormattedContent; ///-- TQString _sourceViewContent; ///-- UiGuiHighlighter *_highlighter; -///-- TQScrollBar *_textEditVScrollBar; +///-- TQScrollBar *m_textEditVScrollBar; AboutDialog *m_aboutDialog; ///-- AboutDialogGraphicsView *_aboutDialogGraphicsView; ///-- UiGuiSettingsDialog *_settingsDialog; - int _actionClearRecentlyOpenedListId; + int m_actionClearRecentlyOpenedListId; ///-- int _textEditLastScrollPos; ///-- int _currentIndenterID; + int m_oldLinesNumber; ///-- bool _loadLastSourceCodeFileOnStartup; ///-- TQString _currentSourceFile; ///-- TQString _currentSourceFileExtension; @@ -120,14 +121,14 @@ class MainWindow : public MainWindowBase TQTranslator *m_uiGuiTranslator; TQTranslator *m_qTranslator; ///-- - bool m_sourceCodeChanged; + bool m_sourceCodeChanged; ///-- bool _indentSettingsChanged; ///-- bool _previewToggled; ///-- TQStringList _encodingsList; ///-- ToolBarWidget *m_toolBarWidget; ///-- IndentHandler *_indentHandler; -///-- TQLabel *_textEditLineColumnInfoLabel; + TQLabel *m_textEditLineColumnInfoLabel; }; #endif // MAINWINDOW_H |