src/modeleditcontext.cpp

changeset 3
55a55a9ec2c2
child 8
44679e468ba9
equal deleted inserted replaced
2:2bdc3ac5e77c 3:55a55a9ec2c2
1 #include "modeleditcontext.h"
2
3 Model::EditContext::EditContext(Model& model) :
4 model{model}
5 {
6 }
7
8 void Model::EditContext::setObjectProperty(
9 modelobjects::BaseObject* object,
10 modelobjects::Property property,
11 const QVariant& value)
12 {
13 object->setProperty(property, value);
14 }

mercurial