| 89 | } |
| 90 | |
| 91 | QModelIndex index(int row, int column, const QModelIndex &parent = QModelIndex()) const override |
| 92 | { |
| 93 | SDObject *o = obj(parent); |
| 94 | |
| 95 | if(row < 0 || row > rowCount(parent)) |
| 96 | return QModelIndex(); |
| 97 | |
| 98 | return createIndex(row, column, o->GetChild(row)); |
| 99 | } |
| 100 | |
| 101 | QModelIndex parent(const QModelIndex &index) const override |
| 102 | { |
no test coverage detected