| 93 | } |
| 94 | |
| 95 | void PropertyAggregator::addProperty(const PropertyData &data) |
| 96 | { |
| 97 | if (!object().isValid()) |
| 98 | return; |
| 99 | |
| 100 | Q_ASSERT(canAddProperty()); |
| 101 | |
| 102 | for (const auto adaptor : std::as_const(m_propertyAdaptors)) { |
| 103 | if (adaptor->canAddProperty()) { |
| 104 | adaptor->addProperty(data); |
| 105 | return; |
| 106 | } |
| 107 | } |
| 108 | |
| 109 | Q_ASSERT(false); |
| 110 | } |
| 111 | |
| 112 | void PropertyAggregator::resetProperty(int index) |
| 113 | { |
nothing calls this directly
no test coverage detected