src/linetypes/object.h

changeset 73
97df974b5ed5
parent 35
98906a94732f
child 77
028798a72591
equal deleted inserted replaced
72:7c27cda03747 73:97df974b5ed5
51 InvalidValue 51 InvalidValue
52 }; 52 };
53 Object(); 53 Object();
54 Object(const Object&) = delete; 54 Object(const Object&) = delete;
55 virtual ~Object(); 55 virtual ~Object();
56 const Id id; 56 const id_t id;
57 //virtual void toString(QTextStream &out) = 0; 57 //virtual void toString(QTextStream &out) = 0;
58 virtual bool hasColor() const; 58 virtual bool hasColor() const;
59 virtual QVariant getProperty(Property id) const; 59 virtual QVariant getProperty(Property id) const;
60 virtual SetPropertyResult setProperty(Property id, const QVariant& value); 60 virtual SetPropertyResult setProperty(Property id, const QVariant& value);
61 virtual QString textRepresentation() const = 0; 61 virtual QString textRepresentation() const = 0;

mercurial