diff options
author | Tomaz Canabrava <tcanabrava@kde.org> | 2013-05-01 23:54:38 -0300 |
---|---|---|
committer | Tomaz Canabrava <tcanabrava@kde.org> | 2013-05-01 23:54:38 -0300 |
commit | e5ad47e459af1d937d26782ce8308dbd67ecec4b (patch) | |
tree | 0340be89b69de619623db519c7f8287636646ee0 /qt-ui/mainwindow.h | |
parent | 764a863082f9337156fc4bcf5c0ecc6ae3d149d6 (diff) | |
parent | 00d85313827af88ae5f35b2391ffa6964e81da49 (diff) | |
download | subsurface-e5ad47e459af1d937d26782ce8308dbd67ecec4b.tar.gz |
Merge branch 'Qt' into RenderStarsOnTable
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 fdb100c7a..eece91ade 100644 --- a/qt-ui/mainwindow.h +++ b/qt-ui/mainwindow.h @@ -66,12 +66,17 @@ private Q_SLOTS: void on_actionAboutSubsurface_triggered(); void on_actionUserManual_triggered(); +protected: + void closeEvent(QCloseEvent *); + private: Ui::MainWindow *ui; DiveTripModel *model; QSortFilterProxyModel *sortModel; QString filter(); bool askSaveChanges(); + void readSettings(); + void writeSettings(); }; |