1 #include "modeleditcontext.h" |
1 #include "modeleditcontext.h" |
2 |
2 |
3 Model::EditContext::EditContext(Model& model) : |
3 Model::EditContext::EditContext(Model& model) : |
4 model{model} |
4 model{model} |
5 { |
5 { |
|
6 } |
|
7 |
|
8 void Model::EditContext::append(std::unique_ptr<modelobjects::BaseObject>&& object) |
|
9 { |
|
10 this->model.append(std::move(object)); |
6 } |
11 } |
7 |
12 |
8 void Model::EditContext::setObjectProperty( |
13 void Model::EditContext::setObjectProperty( |
9 modelobjects::BaseObject* object, |
14 modelobjects::BaseObject* object, |
10 modelobjects::Property property, |
15 modelobjects::Property property, |