11const QQmlPropertyData *QQmlPropertyResolver::property(
12 const QString &name,
bool *notInRevision, RevisionCheck check)
const
15 *notInRevision =
false;
17 const QQmlPropertyData *d = cache->property(name,
nullptr,
nullptr);
20 while (d && d->isFunction())
21 d = cache->overrideData(d);
23 if (check != IgnoreRevision && d && !cache->isAllowedInRevision(d)) {
25 *notInRevision =
true;
32const QQmlPropertyData *QQmlPropertyResolver::signal(
33 const QString &name,
bool *notInRevision, RevisionCheck check)
const
36 *notInRevision =
false;
38 const QQmlPropertyData *d = cache->property(name,
nullptr,
nullptr);
40 while (d && !d->isFunction())
41 d = cache->overrideData(d);
43 if (check != IgnoreRevision && d && !cache->isAllowedInRevision(d)) {
45 *notInRevision =
true;
49 if (d && d->isSignal())
52 if (
const auto propName = QQmlSignalNames::changedSignalNameToPropertyName(name)) {
53 if (d = property(*propName, notInRevision, check); d)
54 return cache->signal(d->notifyIndex());