src/objecttypes/metacommand.h

changeset 14
20d2ed3af73d
parent 13
6e838748867b
child 15
9e18ec63eec3
equal deleted inserted replaced
13:6e838748867b 14:20d2ed3af73d
1 #pragma once
2 #include "modelobject.h"
3
4 namespace linetypes
5 {
6 class MetaCommand;
7 }
8 class linetypes::MetaCommand : public Object
9 {
10 public:
11 MetaCommand() = default;
12 MetaCommand(QStringView text);
13 QVariant getProperty(Property property) const override;
14 SetPropertyResult setProperty(
15 Property property,
16 const QVariant& value) override;
17 QString textRepresentation() const override;
18 private:
19 QString storedText = "";
20 };

mercurial