diff options
author | Bent Bisballe Nyeng <deva@aasimon.org> | 2018-05-12 12:47:58 +0200 |
---|---|---|
committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2018-05-12 12:47:58 +0200 |
commit | d55eb62bca39a4ef408ba3aceeb6f4c24699e8e8 (patch) | |
tree | 38cbe98725e63887423c88f8166301066ed74984 /src/project.cc | |
parent | 8daea9831c1710a4f009a1837d86a5ed78d1ccb1 (diff) |
Add initial project serialisation/deserialisation.
Diffstat (limited to 'src/project.cc')
-rw-r--r-- | src/project.cc | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/project.cc b/src/project.cc index ffa9689..072425c 100644 --- a/src/project.cc +++ b/src/project.cc @@ -79,3 +79,10 @@ void Project::setRawFileRoot(const QString& raw_file_root) this->raw_file_root = raw_file_root; } } + +void Project::reset() +{ + RAIIBulkUpdate bulkUpdate(*this); + setRawFileRoot(""); + setProjectName(""); +} |