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

(7360abf05ed3c78fb9cc0d857a666873296390d2)

#include "qqmltypewrapper_p.h"
#include <private/qqmlengine_p.h>
#include <private/qqmlcontext_p.h>
#include <private/qqmlmetaobject_p.h>
#include <private/qqmltypedata_p.h>
#include <private/qqmlvaluetypewrapper_p.h>
#include <private/qjsvalue_p.h>
#include <private/qv4functionobject_p.h>
#include <private/qv4objectproto_p.h>
#include <private/qv4qobjectwrapper_p.h>
#include <private/qv4identifiertable_p.h>
#include <private/qv4lookup_p.h>
+ Include dependency graph for qqmltypewrapper.cpp:

Go to the source code of this file.

Functions

 DEFINE_OBJECT_VTABLE (QQmlTypeWrapper)
 
 DEFINE_OBJECT_VTABLE (QQmlScopedEnumWrapper)
 
static int enumForSingleton (QV4::ExecutionEngine *v4, String *name, const QQmlType &type, bool *ok)
 
static ReturnedValue instanceOfQObject (const QV4::QQmlTypeWrapper *typeWrapper, const QObjectWrapper *objectWrapper)
 

Function Documentation

◆ DEFINE_OBJECT_VTABLE() [1/2]

DEFINE_OBJECT_VTABLE ( QQmlScopedEnumWrapper )

◆ DEFINE_OBJECT_VTABLE() [2/2]

DEFINE_OBJECT_VTABLE ( QQmlTypeWrapper )

◆ enumForSingleton()

static int enumForSingleton ( QV4::ExecutionEngine * v4,
String * name,
const QQmlType & type,
bool * ok )
static

Definition at line 190 of file qqmltypewrapper.cpp.

References QQmlEnginePrivate::get(), ok, Q_ASSERT, and QV4::ExecutionEngine::qmlEngine().

Referenced by QV4::QQmlTypeWrapper::virtualGet().

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

◆ instanceOfQObject()

static ReturnedValue instanceOfQObject ( const QV4::QQmlTypeWrapper * typeWrapper,
const QObjectWrapper * objectWrapper )
static

Definition at line 413 of file qqmltypewrapper.cpp.

References QQmlMetaObject::canConvert(), engine, QQmlData::get(), QQmlEnginePrivate::get(), QQmlMetaType::metaObjectForType(), and Q_ASSERT.

Referenced by QV4::QQmlTypeWrapper::virtualInstanceOf().

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