![]() |
Qt 6.x
The Qt SDK
|
#include <qqmllistmodel_p.h>
Public Types | |
enum | PropertyType { Invalid , Boolean , Number , String , Script } |
![]() | |
enum | Flag { NoFlag = 0x00000000 , AcceptsAttachedProperties = 0x00000001 , AcceptsSignalHandlers = 0x00000002 } |
Public Member Functions | |
QQmlListModelParser () | |
void | verifyBindings (const QQmlRefPointer< QV4::ExecutableCompilationUnit > &compilationUnit, const QList< const QV4::CompiledData::Binding * > &bindings) override |
void | applyBindings (QObject *obj, const QQmlRefPointer< QV4::ExecutableCompilationUnit > &compilationUnit, const QList< const QV4::CompiledData::Binding * > &bindings) override |
![]() | |
QQmlCustomParser () | |
QQmlCustomParser (Flags f) | |
virtual | ~QQmlCustomParser () |
void | clearErrors () |
Flags | flags () const |
virtual void | verifyBindings (const QQmlRefPointer< QV4::ExecutableCompilationUnit > &, const QList< const QV4::CompiledData::Binding * > &)=0 |
virtual void | applyBindings (QObject *, const QQmlRefPointer< QV4::ExecutableCompilationUnit > &, const QList< const QV4::CompiledData::Binding * > &)=0 |
QVector< QQmlError > | errors () const |
Additional Inherited Members | |
![]() | |
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 QMetaObject * | resolveType (const QString &) const |
Resolves name to a type, or 0 if it is not a type. | |
Definition at line 149 of file qqmllistmodel_p.h.
Enumerator | |
---|---|
Invalid | |
Boolean | |
Number | |
String | |
Script |
Definition at line 152 of file qqmllistmodel_p.h.
|
inline |
Definition at line 161 of file qqmllistmodel_p.h.
|
overridevirtual |
Implements QQmlCustomParser.
Definition at line 2957 of file qqmllistmodel.cpp.
References QJSEngine::handle(), qmlEngine(), qmlWarning(), QV4::CompiledData::Binding::type(), and QV4::CompiledData::Binding::Type_Object.
|
overridevirtual |
Implements QQmlCustomParser.
Definition at line 2942 of file qqmllistmodel.cpp.
References arg, error, QString::isEmpty(), and QV4::CompiledData::Binding::propertyNameIndex.