Mon, 23 Sep 2019 14:06:36 +0300
added regular expressions for the parser
3 | 1 | #include "subfilereference.h" |
2 | ||
3 | QVariant modelobjects::SubfileReference::getProperty(Property property) const | |
4 | { | |
5 | switch (property) | |
6 | { | |
7 | case Property::Position: | |
8 | return this->position; | |
9 | case Property::Transformation: | |
10 | return QVariant::fromValue(this->transformation); | |
11 | case Property::ReferenceName: | |
12 | return this->referenceName; | |
13 | default: | |
14 | return ColoredBaseObject::getProperty(property); | |
15 | } | |
16 | } |