From d55eb62bca39a4ef408ba3aceeb6f4c24699e8e8 Mon Sep 17 00:00:00 2001 From: Bent Bisballe Nyeng Date: Sat, 12 May 2018 12:47:58 +0200 Subject: Add initial project serialisation/deserialisation. --- src/project.cc | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/project.cc') 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(""); +} -- cgit v1.2.3