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