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
QQmlCppBinding Struct Reference

#include <qqmlcppbinding_p.h>

+ Collaboration diagram for QQmlCppBinding:

Static Public Member Functions

static QUntypedPropertyBinding createBindingForBindable (const QV4::ExecutableCompilationUnit *unit, QObject *thisObject, qsizetype functionIndex, QObject *bindingTarget, int metaPropertyIndex, int valueTypePropertyIndex, const QString &propertyName)
 
static void createBindingForNonBindable (const QV4::ExecutableCompilationUnit *unit, QObject *thisObject, qsizetype functionIndex, QObject *bindingTarget, int metaPropertyIndex, int valueTypePropertyIndex, const QString &propertyName)
 
static QUntypedPropertyBinding createTranslationBindingForBindable (const QQmlRefPointer< QV4::ExecutableCompilationUnit > &unit, QObject *bindingTarget, int metaPropertyIndex, const QQmlTranslation &translationData, const QString &propertyName)
 
static void createTranslationBindingForNonBindable (const QQmlRefPointer< QV4::ExecutableCompilationUnit > &unit, const QQmlSourceLocation &location, const QQmlTranslation &translationData, QObject *thisObject, QObject *bindingTarget, int metaPropertyIndex, const QString &propertyName, int valueTypePropertyIndex)
 

Detailed Description

Definition at line 35 of file qqmlcppbinding_p.h.

Member Function Documentation

◆ createBindingForBindable()

QUntypedPropertyBinding QQmlCppBinding::createBindingForBindable ( const QV4::ExecutableCompilationUnit * unit,
QObject * thisObject,
qsizetype functionIndex,
QObject * bindingTarget,
int metaPropertyIndex,
int valueTypePropertyIndex,
const QString & propertyName )
static

Definition at line 40 of file qqmlcppbinding.cpp.

References QQmlPropertyBinding::create(), createBindingInScope(), QString::fromUtf8(), mo, property, Q_ASSERT, Q_UNUSED, qCritical, and QV4::CompilationUnitRuntimeData::runtimeFunctions.

+ Here is the call graph for this function:

◆ createBindingForNonBindable()

void QQmlCppBinding::createBindingForNonBindable ( const QV4::ExecutableCompilationUnit * unit,
QObject * thisObject,
qsizetype functionIndex,
QObject * bindingTarget,
int metaPropertyIndex,
int valueTypePropertyIndex,
const QString & propertyName )
static

Definition at line 73 of file qqmlcppbinding.cpp.

References QQmlBinding::create(), createBindingInScope(), QString::fromUtf8(), mo, property, Q_ASSERT, Q_UNUSED, qCritical, QV4::CompilationUnitRuntimeData::runtimeFunctions, QQmlPropertyPrivate::setBinding(), and QQmlAbstractBinding::setTarget().

+ Here is the call graph for this function:

◆ createTranslationBindingForBindable()

QUntypedPropertyBinding QQmlCppBinding::createTranslationBindingForBindable ( const QQmlRefPointer< QV4::ExecutableCompilationUnit > & unit,
QObject * bindingTarget,
int metaPropertyIndex,
const QQmlTranslation & translationData,
const QString & propertyName )
static

Definition at line 111 of file qqmlcppbinding.cpp.

References QQmlTranslationPropertyBinding::create(), QString::fromUtf8(), mo, property, Q_ASSERT, Q_UNUSED, and qCritical.

+ Here is the call graph for this function:

◆ createTranslationBindingForNonBindable()

void QQmlCppBinding::createTranslationBindingForNonBindable ( const QQmlRefPointer< QV4::ExecutableCompilationUnit > & unit,
const QQmlSourceLocation & location,
const QQmlTranslation & translationData,
QObject * thisObject,
QObject * bindingTarget,
int metaPropertyIndex,
const QString & propertyName,
int valueTypePropertyIndex )
static

Definition at line 131 of file qqmlcppbinding.cpp.

References createBindingInScope(), QQmlBinding::createTranslationBinding(), QString::fromUtf8(), mo, property, Q_ASSERT, Q_UNUSED, qCritical, QQmlPropertyPrivate::setBinding(), and QQmlAbstractBinding::setTarget().

+ Here is the call graph for this function:

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