| 129 | } |
| 130 | |
| 131 | void ComponentWatcher_Impl::mf_changeComponentVersion() { |
| 132 | // disconnect componentDataChange slot to avoid endless loop |
| 133 | std::shared_ptr<ModelObject_Impl> implPtr = m_componentData.getImpl<ModelObject_Impl>(); |
| 134 | implPtr.get()->onDataChange.disconnect<ComponentWatcher_Impl, &ComponentWatcher_Impl::componentDataChange>(this); |
| 135 | |
| 136 | // change version UUID |
| 137 | m_componentData.createVersionUUID(); |
| 138 | |
| 139 | // reconnect componentDataChange |
| 140 | implPtr.get()->ModelObject_Impl::onDataChange.connect<ComponentWatcher_Impl, &ComponentWatcher_Impl::componentDataChange>(this); |
| 141 | } |
| 142 | |
| 143 | void ComponentWatcher_Impl::mf_refreshComponentContents(bool /*logWarnings*/) { |
| 144 | // disconnect componentDataChange slot to avoid endless loop |
nothing calls this directly
no test coverage detected