diff options
author | Bent Bisballe Nyeng <deva@aasimon.org> | 2018-05-12 18:25:48 +0200 |
---|---|---|
committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2018-05-12 18:25:48 +0200 |
commit | b59fa46fd31c812519527e6e21f9f2e080f128c8 (patch) | |
tree | a03f11f4140efe9beb0bdd0c19380123b700fa54 /src/mainwindow.h | |
parent | 627f2cb593daf219aad04cfa45668cbfa7a17a59 (diff) |
More load/save logic, SaveAs and WindowTitle with project name and file.
Diffstat (limited to 'src/mainwindow.h')
-rw-r--r-- | src/mainwindow.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mainwindow.h b/src/mainwindow.h index a7c9ba2..7671494 100644 --- a/src/mainwindow.h +++ b/src/mainwindow.h @@ -44,9 +44,12 @@ public: ~MainWindow(); public slots: + void updateWindowTitle(); + void newProject(); void loadProject(); void saveProject(); + void saveProjectAs(); void projectChanged(); protected: @@ -58,6 +61,7 @@ private: Settings& settings; Project project; + bool project_dirty{false}; InstrumentWindow instrument_window; }; |