10const QQmlPropertyData *QQmlPropertyResolver::property(
11 const QString &name,
bool *notInRevision, RevisionCheck check)
const
14 *notInRevision =
false;
16 const QQmlPropertyData *d = cache->property(name,
nullptr,
nullptr);
19 while (d && d->isFunction())
20 d = cache->overrideData(d);
22 if (check != IgnoreRevision && d && !cache->isAllowedInRevision(d)) {
24 *notInRevision =
true;
31const QQmlPropertyData *QQmlPropertyResolver::signal(
32 const QString &name,
bool *notInRevision, RevisionCheck check)
const
35 *notInRevision =
false;
37 const QQmlPropertyData *d = cache->property(name,
nullptr,
nullptr);
39 while (d && !d->isFunction())
40 d = cache->overrideData(d);
42 if (check != IgnoreRevision && d && !cache->isAllowedInRevision(d)) {
44 *notInRevision =
true;
48 if (d && d->isSignal())
51 if (
const auto propName = QQmlSignalNames::changedSignalNameToPropertyName(name)) {
52 if (d = property(*propName, notInRevision, check); d)
53 return cache->signal(d->notifyIndex());