72 DECLARE_MARKOBJECTS(QObjectMethod)
74 QQmlPropertyData *methods;
75 alignas(
alignof(QQmlPropertyData))
std::byte _singleMethod[
sizeof(QQmlPropertyData)];
79 void init(
QV4::ExecutionEngine *engine, Object *wrapper,
int index);
82 if (methods !=
reinterpret_cast<
const QQmlPropertyData *>(&_singleMethod))
84 FunctionObject::destroy();
87 void ensureMethodsCache(
const QMetaObject *thisMeta);
90 const QMetaObject *metaObject()
const;
91 QObject *object()
const;
93 bool isDetached()
const;
94 bool isAttachedTo(QObject *o)
const;
102 QV4::Heap::QObjectMethod::ThisObjectMode checkThisObject(
const QMetaObject *thisMeta)
const;