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.cpp File Reference

(e9dc0ac68134bc6a9cc6522eaca6d893ee10b86d)

#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(), 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: