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
QQuickPropertyChangesParser Class Reference

#include <qquickpropertychanges_p.h>

+ Inheritance diagram for QQuickPropertyChangesParser:
+ Collaboration diagram for QQuickPropertyChangesParser:

Public Member Functions

 QQuickPropertyChangesParser ()
 
void verifyList (const QQmlRefPointer< QV4::ExecutableCompilationUnit > &compilationUnit, const QV4::CompiledData::Binding *binding)
 
void verifyBindings (const QQmlRefPointer< QV4::ExecutableCompilationUnit > &compilationUnit, const QList< const QV4::CompiledData::Binding * > &props) override
 
void applyBindings (QObject *obj, const QQmlRefPointer< QV4::ExecutableCompilationUnit > &compilationUnit, const QList< const QV4::CompiledData::Binding * > &bindings) override
 
- Public Member Functions inherited from QQmlCustomParser
 QQmlCustomParser ()
 
 QQmlCustomParser (Flags f)
 
virtual ~QQmlCustomParser ()
 
void clearErrors ()
 
Flags flags () const
 
QVector< QQmlErrorerrors () const
 

Additional Inherited Members

- Public Types inherited from QQmlCustomParser
enum  Flag { NoFlag = 0x00000000 , AcceptsAttachedProperties = 0x00000001 , AcceptsSignalHandlers = 0x00000002 }
 
- Protected Member Functions inherited from QQmlCustomParser
void error (const QV4::CompiledData::Binding *binding, const QString &description)
 
void error (const QV4::CompiledData::Object *object, const QString &description)
 
void error (const QV4::CompiledData::Location &location, const QString &description)
 Reports an error with the given description.
 
int evaluateEnum (const QString &, bool *ok) const
 If script is a simple enumeration expression (eg.
 
const QMetaObjectresolveType (const QString &) const
 Resolves name to a type, or 0 if it is not a type.
 

Detailed Description

Definition at line 72 of file qquickpropertychanges_p.h.

Constructor & Destructor Documentation

◆ QQuickPropertyChangesParser()

QQuickPropertyChangesParser::QQuickPropertyChangesParser ( )
inline

Definition at line 75 of file qquickpropertychanges_p.h.

Member Function Documentation

◆ applyBindings()

void QQuickPropertyChangesParser::applyBindings ( QObject * obj,
const QQmlRefPointer< QV4::ExecutableCompilationUnit > & compilationUnit,
const QList< const QV4::CompiledData::Binding * > & bindings )
overridevirtual

Implements QQmlCustomParser.

Definition at line 342 of file qquickpropertychanges.cpp.

References QQuickPropertyChangesPrivate::bindings, QObjectPrivate::get(), QQmlData::get(), and Q_ASSERT.

+ Here is the call graph for this function:

◆ verifyBindings()

void QQuickPropertyChangesParser::verifyBindings ( const QQmlRefPointer< QV4::ExecutableCompilationUnit > & compilationUnit,
const QList< const QV4::CompiledData::Binding * > & props )
overridevirtual

Implements QQmlCustomParser.

Definition at line 336 of file qquickpropertychanges.cpp.

References verifyList().

+ Here is the call graph for this function:

◆ verifyList()

void QQuickPropertyChangesParser::verifyList ( const QQmlRefPointer< QV4::ExecutableCompilationUnit > & compilationUnit,
const QV4::CompiledData::Binding * binding )

Definition at line 217 of file qquickpropertychanges.cpp.

References error, i, QV4::CompiledData::Binding::type(), QV4::CompiledData::Binding::Type_AttachedProperty, QV4::CompiledData::Binding::Type_GroupProperty, QV4::CompiledData::Binding::Type_Object, QV4::CompiledData::Binding::value, and verifyList().

Referenced by verifyBindings(), and verifyList().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

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