src/model.h

changeset 1261
5d2c9d36da9d
parent 1258
f5921a474d57
child 1267
b153b6b248ce
equal deleted inserted replaced
1260:0347e9bc883e 1261:5d2c9d36da9d
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;

mercurial