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

(8b6a9403bf2e04d34b9b07d2780186029fab99d0)

#include "qv4qobjectwrapper_p.h"
#include <private/qqmlobjectorgadget_p.h>
#include <private/qqmlengine_p.h>
#include <private/qqmlvmemetaobject_p.h>
#include <private/qqmlbinding_p.h>
#include <private/qjsvalue_p.h>
#include <private/qqmlexpression_p.h>
#include <private/qqmlglobal_p.h>
#include <private/qqmltypewrapper_p.h>
#include <private/qqmlvaluetypewrapper_p.h>
#include <private/qqmllistwrapper_p.h>
#include <private/qqmlbuiltinfunctions_p.h>
#include <private/qv4arraybuffer_p.h>
#include <private/qv4functionobject_p.h>
#include <private/qv4runtime_p.h>
#include <private/qv4variantobject_p.h>
#include <private/qv4identifiertable_p.h>
#include <private/qv4lookup_p.h>
#include <private/qv4qmlcontext_p.h>
#include <private/qv4sequenceobject_p.h>
#include <private/qv4objectproto_p.h>
#include <private/qv4jsonobject_p.h>
#include <private/qv4regexpobject_p.h>
#include <private/qv4dateobject_p.h>
#include <private/qv4scopedvalue_p.h>
#include <private/qv4jscall_p.h>
#include <private/qv4mm_p.h>
#include <private/qqmlscriptstring_p.h>
#include <private/qv4compileddata_p.h>
#include <private/qqmlpropertybinding_p.h>
#include <private/qqmlpropertycachemethodarguments_p.h>
#include <private/qqmlsignalnames_p.h>
#include <QtQml/qjsvalue.h>
#include <QtCore/qjsonarray.h>
#include <QtCore/qjsonobject.h>
#include <QtCore/qjsonvalue.h>
#include <QtCore/qvarlengtharray.h>
#include <QtCore/qtimer.h>
#include <QtCore/qatomic.h>
#include <QtCore/qmetaobject.h>
#include <QtCore/qloggingcategory.h>
#include <QtCore/qqueue.h>
#include <QtCore/qtypes.h>
#include <vector>
#include "moc_qv4qobjectwrapper_p.cpp"
+ Include dependency graph for qv4qobjectwrapper.cpp:

Go to the source code of this file.

Classes

struct  QV4::QObjectWrapperOwnPropertyKeyIterator
 
struct  QV4::QObjectSlotDispatcher
 
struct  QV4::ToStringMetaMethod
 

Namespaces

namespace  QV4
 

Macros

#define PROPERTY_STORE(cpptype, value)
 

Functions

static QPair< QObject *, int > QV4::extractQtSignal (const Value &value)
 
static Heap::ReferenceObject::Flags QV4::referenceFlags (ExecutionEngine *v4, const QQmlPropertyData &property)
 
static ReturnedValue QV4::loadProperty (ExecutionEngine *v4, Heap::Object *wrapper, QObject *object, const QQmlPropertyData &property)
 
static OptionalReturnedValue QV4::getDestroyOrToStringMethod (ExecutionEngine *v4, String *name, Heap::Object *qobj, bool *hasProperty=nullptr)
 
static OptionalReturnedValue QV4::getPropertyFromImports (ExecutionEngine *v4, String *name, const QQmlRefPointer< QQmlContextData > &qmlContext, QObject *qobj, bool *hasProperty=nullptr)
 
static void QV4::markChildQObjectsRecursively (QObject *parent, MarkStack *markStack)
 
 QV4::DEFINE_OBJECT_VTABLE (QObjectWrapper)
 
static ReturnedValue QV4::CallMethod (const QQmlObjectOrGadget &object, int index, QMetaType returnType, int argCount, const QMetaType *argTypes, ExecutionEngine *engine, CallData *callArgs, QMetaObject::Call callType=QMetaObject::InvokeMetaMethod)
 
template<typename Retrieve >
int QV4::MatchVariant (QMetaType conversionMetaType, Retrieve &&retrieve)
 
static int QV4::MatchScore (const Value &actual, QMetaType conversionMetaType)
 
static int QV4::numDefinedArguments (CallData *callArgs)
 
static bool QV4::requiresStrictArguments (const QQmlObjectOrGadget &object)
 
static bool QV4::ExactMatch (QMetaType passed, QMetaType required, const void *data)
 
 QV4::DEFINE_OBJECT_VTABLE (QObjectMethod)
 
 QV4::DEFINE_OBJECT_VTABLE (QmlSignalHandler)
 

Macro Definition Documentation

◆ PROPERTY_STORE

#define PROPERTY_STORE ( cpptype,
value )
Value:
cpptype o = value; \
int status = -1; \
int flags = 0; \
void *argv[] = { &o, 0, &status, &flags }; \
QMetaObject::metacall(object, QMetaObject::WriteProperty, property->coreIndex(), argv);
EGLOutputLayerEXT EGLint EGLAttrib value
[5]
GLbitfield flags
const char property[13]
Definition qwizard.cpp:101