src/linetypes/modelobject.h

changeset 1406
37fffb682d2f
parent 1403
7a2d84112983
child 1416
ba63c7286767
equal deleted inserted replaced
1405:d2bf2e59a3ef 1406:37fffb682d2f
87 virtual int triangleCount(DocumentManager* context) const; 87 virtual int triangleCount(DocumentManager* context) const;
88 virtual LDObjectType type() const = 0; 88 virtual LDObjectType type() const = 0;
89 virtual QString iconName() const = 0; 89 virtual QString iconName() const = 0;
90 const Vertex& vertex (int i) const; 90 const Vertex& vertex (int i) const;
91 virtual void serialize(class Serializer& serializer); 91 virtual void serialize(class Serializer& serializer);
92 void restore(LDObjectState& archive);
92 93
93 static LDObject* newFromType(LDObjectType type); 94 static LDObject* newFromType(LDObjectType type);
94 95
95 signals: 96 signals:
96 void modified(const LDObjectState& before, const LDObjectState& after); 97 void modified(const LDObjectState& before, const LDObjectState& after);

mercurial