src/objecttypes/subfilereference.cpp

changeset 3
55a55a9ec2c2
child 6
73e448b2943d
equal deleted inserted replaced
2:2bdc3ac5e77c 3:55a55a9ec2c2
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 }

mercurial