44 InvalidValue |
45 InvalidValue |
45 }; |
46 }; |
46 Object(); |
47 Object(); |
47 Object(const Object&) = delete; |
48 Object(const Object&) = delete; |
48 virtual ~Object(); |
49 virtual ~Object(); |
49 const unsigned int id; |
50 const Id id; |
50 //virtual void toString(QTextStream &out) = 0; |
51 //virtual void toString(QTextStream &out) = 0; |
51 virtual bool hasColor() const; |
52 virtual bool hasColor() const; |
52 virtual QVariant getProperty(Property id) const; |
53 virtual QVariant getProperty(Property id) const; |
53 virtual SetPropertyResult setProperty(Property id, const QVariant& value); |
54 virtual SetPropertyResult setProperty(Property id, const QVariant& value); |
54 virtual QString textRepresentation() const = 0; |
55 virtual QString textRepresentation() const = 0; |