MCPcopy Create free account
hub / github.com/KDAB/GammaRay / check

Method check

core/qmetaobjectvalidator.cpp:79–96  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

77}
78
79QMetaObjectValidatorResult::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}

Callers

nothing calls this directly

Calls 3

isDynamicMetaObjectFunction · 0.85
propertyCountMethod · 0.80
propertyMethod · 0.45

Tested by

no test coverage detected