| 77 | } |
| 78 | |
| 79 | QMetaObjectValidatorResult::Results QMetaObjectValidator::check(const QMetaObject *mo) |
| 80 | { |
| 81 | QMetaObjectValidatorResult::Results r = QMetaObjectValidatorResult::NoIssue; |
| 82 | if (isDynamicMetaObject(mo)) // those may dynamically add properties we query... |
| 83 | return r; |
| 84 | |
| 85 | for (int i = mo->propertyOffset(); i < mo->propertyCount(); ++i) { |
| 86 | const auto prop = mo->property(i); |
| 87 | r |= checkProperty(mo, prop); |
| 88 | } |
| 89 | |
| 90 | for (int i = mo->methodOffset(); i < mo->methodCount(); ++i) { |
| 91 | const auto method = mo->method(i); |
| 92 | r |= checkMethod(mo, method); |
| 93 | } |
| 94 | |
| 95 | return r; |
| 96 | } |
nothing calls this directly
no test coverage detected