Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
qqmltypewrapper.cpp File Reference

(d2bc4a4330254c0c68a0ade51b59a71c4b67b470)

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

Go to the source code of this file.

Functions

 DEFINE_OBJECT_VTABLE (QQmlTypeWrapper)
 DEFINE_OBJECT_VTABLE (QQmlTypeConstructor)
 DEFINE_OBJECT_VTABLE (QQmlEnumWrapper)
template<typename Callback>
void warnWithLocation (const Heap::QQmlTypeWrapper *wrapper, Callback &&callback)
static int enumForSingleton (QQmlTypeLoader *typeLoader, String *name, const QQmlType &type, bool *ok)
static ReturnedValue createEnumWrapper (ExecutionEngine *v4, Scope &scope, QQmlType type, int enumIndex, bool scoped)
static ReturnedValue instanceOfQObject (const QV4::QQmlTypeWrapper *typeWrapper, QObject *wrapperObject)

Function Documentation

◆ createEnumWrapper()

ReturnedValue createEnumWrapper ( ExecutionEngine * v4,
Scope & scope,
QQmlType type,
int enumIndex,
bool scoped )
static

Definition at line 279 of file qqmltypewrapper.cpp.

◆ DEFINE_OBJECT_VTABLE() [1/3]

DEFINE_OBJECT_VTABLE ( QQmlEnumWrapper )

◆ DEFINE_OBJECT_VTABLE() [2/3]

DEFINE_OBJECT_VTABLE ( QQmlTypeConstructor )

◆ DEFINE_OBJECT_VTABLE() [3/3]

DEFINE_OBJECT_VTABLE ( QQmlTypeWrapper )

◆ enumForSingleton()

int enumForSingleton ( QQmlTypeLoader * typeLoader,
String * name,
const QQmlType & type,
bool * ok )
static

Definition at line 272 of file qqmltypewrapper.cpp.

◆ instanceOfQObject()

ReturnedValue instanceOfQObject ( const QV4::QQmlTypeWrapper * typeWrapper,
QObject * wrapperObject )
static

Definition at line 501 of file qqmltypewrapper.cpp.

◆ warnWithLocation()

template<typename Callback>
void warnWithLocation ( const Heap::QQmlTypeWrapper * wrapper,
Callback && callback )

Definition at line 95 of file qqmltypewrapper.cpp.