summaryrefslogtreecommitdiffstats
path: root/src/MainWindow.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/MainWindow.h')
-rw-r--r--src/MainWindow.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/MainWindow.h b/src/MainWindow.h
index 340d9ed..4d2fe2f 100644
--- a/src/MainWindow.h
+++ b/src/MainWindow.h
@@ -71,6 +71,7 @@ class MainWindow : public MainWindowBase
void encodingChanged(TQAction *encodingAction);
void numberOfLinesChanged();
void updateRecentlyOpenedList();
+ void recentlyOpenedFileHighlighted(int recentlyOpenedActionId);
void openFileFromRecentlyOpenedList(int recentlyOpenedActionId);
void clearRecentlyOpenedList();
void showAboutDialog();
@@ -91,6 +92,7 @@ class MainWindow : public MainWindowBase
void initTextEditor();
void initSyntaxHighlighter();
void initIndenter();
+ void initRecentlyOpenedList();
///-- void changeEvent(TQEvent *event);
///-- void dragEnterEvent(TQDragEnterEvent *event);
///-- void dropEvent(TQDropEvent *event);
@@ -108,6 +110,7 @@ class MainWindow : public MainWindowBase
///-- AboutDialogGraphicsView *_aboutDialogGraphicsView;
///-- UiGuiSettingsDialog *_settingsDialog;
int m_actionClearRecentlyOpenedListId;
+ int m_recentlyOpenedListMaxSize;
///-- int _textEditLastScrollPos;
///-- int _currentIndenterID;
int m_oldLinesNumber;
@@ -126,6 +129,7 @@ class MainWindow : public MainWindowBase
bool m_previewToggled;
bool m_documentModified;
TQStringList m_encodingsList;
+ TQStringList m_recentlyOpenedList;
ToolBarWidget *m_toolBarWidget;
///-- IndentHandler *_indentHandler;