101 QVector<LDObject*>::iterator begin(); |
101 QVector<LDObject*>::iterator begin(); |
102 QVector<LDObject*>::iterator end(); |
102 QVector<LDObject*>::iterator end(); |
103 QModelIndex indexOf(LDObject* object) const; |
103 QModelIndex indexOf(LDObject* object) const; |
104 bool isEmpty() const; |
104 bool isEmpty() const; |
105 class DocumentManager* documentManager() const; |
105 class DocumentManager* documentManager() const; |
106 LDObject* insertFromString(int position, QString line); |
|
107 LDObject* addFromString(QString line); |
|
108 LDObject* replaceWithFromString(LDObject* object, QString line); |
|
109 IndexGenerator indices() const; |
106 IndexGenerator indices() const; |
110 LDObject* lookup(const QModelIndex& index) const; |
107 LDObject* lookup(const QModelIndex& index) const; |
111 QColor pickingColorForObject(const QModelIndex& objectIndex) const; |
108 QColor pickingColorForObject(const QModelIndex& objectIndex) const; |
112 QModelIndex objectByPickingColor(const QColor& color) const; |
109 QModelIndex objectByPickingColor(const QColor& color) const; |
113 |
110 |