src/linetypes/metacommand.h

changeset 86
4bec0525ef1b
parent 77
028798a72591
child 132
488d0ba6070b
equal deleted inserted replaced
85:40e2940605a3 86:4bec0525ef1b
6 class MetaCommand; 6 class MetaCommand;
7 } 7 }
8 class ldraw::MetaCommand : public Object 8 class ldraw::MetaCommand : public Object
9 { 9 {
10 public: 10 public:
11 using BaseClass = Object;
11 MetaCommand() = default; 12 MetaCommand() = default;
12 MetaCommand(QStringView text); 13 MetaCommand(QStringView text);
13 QVariant getProperty(Property property) const override; 14 QVariant getProperty(Property property) const override;
14 SetPropertyResult setProperty(
15 Property property,
16 const QVariant& value) override;
17 QString textRepresentation() const override; 15 QString textRepresentation() const override;
18 QString storedText = ""; 16 QString storedText = "";
17 protected:
18 void setProperty(SetPropertyResult* result, const PropertyKeyValue& pair) override;
19 }; 19 };

mercurial