src/linetypes/errorline.h

changeset 200
ca23936b455b
parent 199
6988973515d2
child 201
5d201ee4a9c3
equal deleted inserted replaced
199:6988973515d2 200:ca23936b455b
1 #pragma once
2 #include "object.h"
3
4 namespace ldraw
5 {
6 class ErrorLine;
7 }
8
9 class ldraw::ErrorLine : public Object
10 {
11 public:
12 using BaseClass = Object;
13 ErrorLine(QStringView text = u"", QStringView message = u"");
14 QVariant getProperty(Property property) const override;
15 QString textRepresentation() const override;
16 QBrush textRepresentationForeground() const override;
17 QBrush textRepresentationBackground() const override;
18 Type typeIdentifier() const override;
19 QDataStream& serialize(QDataStream& stream) const override;
20 QDataStream& deserialize(QDataStream& stream) override;
21 QString toLDrawCode() const override;
22 QString iconName() const override;
23 QString typeName() const override;
24 QString text;
25 QString message;
26 protected:
27 void setProperty(SetPropertyResult* result, const PropertyKeyValue& pair) override;
28 };

mercurial