src/modeleditcontext.cpp

Mon, 23 Sep 2019 14:06:36 +0300

author
Teemu Piippo <teemu@hecknology.net>
date
Mon, 23 Sep 2019 14:06:36 +0300
changeset 4
68988ebc2a68
parent 3
55a55a9ec2c2
child 8
44679e468ba9
permissions
-rw-r--r--

added regular expressions for the parser

#include "modeleditcontext.h"

Model::EditContext::EditContext(Model& model) :
	model{model}
{
}

void Model::EditContext::setObjectProperty(
	modelobjects::BaseObject* object,
	modelobjects::Property property,
	const QVariant& value)
{
	object->setProperty(property, value);
}

mercurial