src/objecttypes/subfilereference.cpp

Sun, 22 Sep 2019 11:51:41 +0300

author
Teemu Piippo <teemu@hecknology.net>
date
Sun, 22 Sep 2019 11:51:41 +0300
changeset 3
55a55a9ec2c2
child 6
73e448b2943d
permissions
-rw-r--r--

Added lots of code

#include "subfilereference.h"

QVariant modelobjects::SubfileReference::getProperty(Property property) const
{
	switch (property)
	{
	case Property::Position:
		return this->position;
	case Property::Transformation:
		return QVariant::fromValue(this->transformation);
	case Property::ReferenceName:
		return this->referenceName;
	default:
		return ColoredBaseObject::getProperty(property);
	}
}

mercurial