diff options
Diffstat (limited to 'qt-ui/mainwindow.h')
-rw-r--r-- | qt-ui/mainwindow.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/qt-ui/mainwindow.h b/qt-ui/mainwindow.h index 2364caadc..641c9ec9b 100644 --- a/qt-ui/mainwindow.h +++ b/qt-ui/mainwindow.h @@ -30,6 +30,7 @@ class QWebView; class QSettings; class UpdateManager; class UserManual; +class UndoBuffer; enum MainWindowTitleFormat { MWTF_DEFAULT, @@ -82,6 +83,7 @@ public: void setPlanNotes(const char *notes); void printPlan(); void checkSurvey(QSettings *s); + UndoBuffer *undoBuffer; private slots: /* file menu action */ @@ -151,6 +153,9 @@ slots: void on_paste_triggered(); void on_actionFilterTags_triggered(); void on_actionConfigure_Dive_Computer_triggered(); + void on_action_Undo_triggered(); + void on_action_Redo_triggered(); + void checkForUndoAndRedo(); protected: void closeEvent(QCloseEvent *); |