| 115 | } |
| 116 | |
| 117 | QModelIndex InstanceList::index(int row, int column, const QModelIndex &parent) const |
| 118 | { |
| 119 | Q_UNUSED(parent); |
| 120 | if (row < 0 || row >= m_instances.size()) |
| 121 | return QModelIndex(); |
| 122 | return createIndex(row, column, (void *)m_instances.at(row).get()); |
| 123 | } |
| 124 | |
| 125 | QVariant InstanceList::data(const QModelIndex &index, int role) const |
| 126 | { |
no test coverage detected