Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
QQmlPropertyResolver Struct Reference

#include <qqmlpropertyresolver_p.h>

+ Collaboration diagram for QQmlPropertyResolver:

Public Types

enum  RevisionCheck { CheckRevision , IgnoreRevision }
 

Public Member Functions

 QQmlPropertyResolver (const QQmlPropertyCache::ConstPtr &cache)
 
const QQmlPropertyDataproperty (int index) const
 
const QQmlPropertyDataproperty (const QString &name, bool *notInRevision=nullptr, RevisionCheck check=CheckRevision) const
 
const QQmlPropertyDatasignal (const QString &name, bool *notInRevision) const
 

Public Attributes

QQmlPropertyCache::ConstPtr cache
 

Detailed Description

Definition at line 24 of file qqmlpropertyresolver_p.h.

Member Enumeration Documentation

◆ RevisionCheck

Enumerator
CheckRevision 
IgnoreRevision 

Definition at line 35 of file qqmlpropertyresolver_p.h.

Constructor & Destructor Documentation

◆ QQmlPropertyResolver()

QQmlPropertyResolver::QQmlPropertyResolver ( const QQmlPropertyCache::ConstPtr & cache)
inline

Definition at line 26 of file qqmlpropertyresolver_p.h.

Member Function Documentation

◆ property() [1/2]

QT_BEGIN_NAMESPACE const QQmlPropertyData * QQmlPropertyResolver::property ( const QString & name,
bool * notInRevision = nullptr,
RevisionCheck check = CheckRevision ) const

Definition at line 10 of file qqmlpropertyresolver.cpp.

References cache, d, and IgnoreRevision.

◆ property() [2/2]

const QQmlPropertyData * QQmlPropertyResolver::property ( int index) const
inline

Definition at line 30 of file qqmlpropertyresolver_p.h.

References cache.

Referenced by QQmlAliasAnnotator::annotateBindingsToAliases(), QQmlPropertyCacheCreator< ObjectContainer >::createMetaObject(), QQmlEnumTypeResolver::resolveEnumBindings(), QQmlBindingInstantiationContext::resolveInstantiatingProperty(), and QQmlScriptStringScanner::scan().

+ Here is the caller graph for this function:

◆ signal()

const QQmlPropertyData * QQmlPropertyResolver::signal ( const QString & name,
bool * notInRevision ) const

Definition at line 30 of file qqmlpropertyresolver.cpp.

References cache, QQmlSignalNames::changedSignalNameToPropertyName(), d, and property.

+ Here is the call graph for this function:

Member Data Documentation

◆ cache

QQmlPropertyCache::ConstPtr QQmlPropertyResolver::cache

Definition at line 46 of file qqmlpropertyresolver_p.h.

Referenced by property(), and signal().


The documentation for this struct was generated from the following files: