Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
qqmlcppbinding.cpp File Reference
#include "qqmlcppbinding_p.h"
#include <QtQml/qqmlengine.h>
#include <QtQml/qqmlcontext.h>
#include <QtCore/qmetaobject.h>
#include <private/qqmltypedata_p.h>
#include <private/qqmlpropertybinding_p.h>
#include <private/qqmlbinding_p.h>
#include <private/qv4qmlcontext_p.h>
#include <private/qqmlproperty_p.h>
+ Include dependency graph for qqmlcppbinding.cpp:

Go to the source code of this file.

Functions

template<typename CreateBinding >
QT_BEGIN_NAMESPACE decltype(auto) createBindingInScope (QObject *thisObject, CreateBinding create)
 

Function Documentation

◆ createBindingInScope()

template<typename CreateBinding >
QT_BEGIN_NAMESPACE decltype(auto) createBindingInScope ( QObject thisObject,
CreateBinding  create 
)
inline

Definition at line 20 of file qqmlcppbinding.cpp.

References create(), QV4::QmlContext::create(), QQmlData::get(), QJSEngine::handle(), QQmlData::outerContext, Q_ASSERT, qmlContext(), qmlEngine(), and QV4::ExecutionEngine::scriptContext().

Referenced by QQmlCppBinding::createBindingForBindable(), QQmlCppBinding::createBindingForNonBindable(), and QQmlCppBinding::createTranslationBindingForNonBindable().

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