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 }; |