src/ldObject.h

changeset 995
7986584e7498
parent 988
ac4a2ae54f76
child 996
9ecc878c7dea
child 1000
c064cc048f14
equal deleted inserted replaced
994:09e1a3e272ec 995:7986584e7498
111 bool isSelected() const; 111 bool isSelected() const;
112 int lineNumber() const; 112 int lineNumber() const;
113 void move (Vertex vect); 113 void move (Vertex vect);
114 LDObject* next() const; 114 LDObject* next() const;
115 virtual int numVertices() const = 0; 115 virtual int numVertices() const = 0;
116 LDObject* parent() const;
117 LDObject* previous() const; 116 LDObject* previous() const;
118 bool previousIsInvertnext (LDBfc*& ptr); 117 bool previousIsInvertnext (LDBfc*& ptr);
119 QColor randomColor() const; 118 QColor randomColor() const;
120 void replace (LDObject* other); 119 void replace (LDObject* other);
121 void select(); 120 void select();
122 void setColor (LDColor color); 121 void setColor (LDColor color);
123 void setDocument (LDDocument* document); 122 void setDocument (LDDocument* document);
124 void setHidden (bool value); 123 void setHidden (bool value);
125 void setParent (LDObject* parent);
126 void setVertex (int i, const Vertex& vert); 124 void setVertex (int i, const Vertex& vert);
127 void swap (LDObject* other); 125 void swap (LDObject* other);
128 LDObject* topLevelParent(); 126 LDObject* topLevelParent();
129 virtual LDObjectType type() const = 0; 127 virtual LDObjectType type() const = 0;
130 virtual QString typeName() const = 0; 128 virtual QString typeName() const = 0;

mercurial