101 void clear(); |
101 void clear(); |
102 void merge(Model& other, int position = -1); |
102 void merge(Model& other, int position = -1); |
103 int size() const; |
103 int size() const; |
104 const QVector<LDObject*>& objects() const; |
104 const QVector<LDObject*>& objects() const; |
105 LDObject* getObject(int position) const; |
105 LDObject* getObject(int position) const; |
106 void recountTriangles(); |
106 Q_SLOT void recountTriangles(); |
107 int triangleCount() const; |
107 int triangleCount() const; |
108 QVector<LDObject*>::iterator begin(); |
108 QVector<LDObject*>::iterator begin(); |
109 QVector<LDObject*>::iterator end(); |
109 QVector<LDObject*>::iterator end(); |
110 QModelIndex indexOf(LDObject* object) const; |
110 QModelIndex indexOf(LDObject* object) const; |
111 bool isEmpty() const; |
111 bool isEmpty() const; |