diff -r 68443f5be176 -r 44679e468ba9 src/objecttypes/metacommand.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/objecttypes/metacommand.h Sun Nov 03 12:17:41 2019 +0200 @@ -0,0 +1,20 @@ +#pragma once +#include "modelobject.h" + +namespace modelobjects +{ + class MetaCommand; +} +class modelobjects::MetaCommand : public BaseObject +{ +public: + MetaCommand() = default; + MetaCommand(QStringView text); + QVariant getProperty(Property property) const override; + SetPropertyResult setProperty( + Property property, + const QVariant& value) override; + QString textRepresentation() const override; +private: + QString storedText = ""; +};