| 489 | } |
| 490 | |
| 491 | void InstanceList::add(const QList<InstancePtr>& t) |
| 492 | { |
| 493 | beginInsertRows(QModelIndex(), m_instances.count(), m_instances.count() + t.size() - 1); |
| 494 | m_instances.append(t); |
| 495 | for (auto& ptr : t) { |
| 496 | connect(ptr.get(), &BaseInstance::propertiesChanged, this, &InstanceList::propertiesChanged); |
| 497 | } |
| 498 | endInsertRows(); |
| 499 | } |
| 500 | |
| 501 | void InstanceList::resumeWatch() |
| 502 | { |
nothing calls this directly
no test coverage detected