summaryrefslogtreecommitdiff
path: root/src/mainwindow.h
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2018-05-12 18:25:48 +0200
committerBent Bisballe Nyeng <deva@aasimon.org>2018-05-12 18:25:48 +0200
commitb59fa46fd31c812519527e6e21f9f2e080f128c8 (patch)
treea03f11f4140efe9beb0bdd0c19380123b700fa54 /src/mainwindow.h
parent627f2cb593daf219aad04cfa45668cbfa7a17a59 (diff)
More load/save logic, SaveAs and WindowTitle with project name and file.
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 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;
};