summaryrefslogtreecommitdiff
path: root/src/mainwindow.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainwindow.h')
-rw-r--r--src/mainwindow.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/mainwindow.h b/src/mainwindow.h
index e4c5863..2c12950 100644
--- a/src/mainwindow.h
+++ b/src/mainwindow.h
@@ -73,6 +73,13 @@ protected:
void closeEvent(QCloseEvent*);
private:
+ //! Check dirty and prompt user to save
+ //! \returns true to continue closing the project, false to bail out.
+ bool checkDirty();
+
+ //! Reset project and reflect in mainwindow (close tabs and lists)
+ void reset();
+
void loadSettings();
void saveSettings();