| 537 | } |
| 538 | |
| 539 | void InstanceList::add(const QList<InstancePtr>& t) |
| 540 | { |
| 541 | beginInsertRows(QModelIndex(), m_instances.count(), m_instances.count() + t.size() - 1); |
| 542 | m_instances.append(t); |
| 543 | for (auto& ptr : t) { |
| 544 | connect(ptr.get(), &BaseInstance::propertiesChanged, this, &InstanceList::propertiesChanged); |
| 545 | } |
| 546 | endInsertRows(); |
| 547 | } |
| 548 | |
| 549 | void InstanceList::resumeWatch() |
| 550 | { |
no test coverage detected