70 DECLARE_MARKOBJECTS(QObjectMethod)
72 QQmlPropertyData *methods;
73 alignas(
alignof(QQmlPropertyData))
std::byte _singleMethod[
sizeof(QQmlPropertyData)];
77 void init(
QV4::ExecutionEngine *engine, Object *wrapper,
int index);
80 if (methods !=
reinterpret_cast<
const QQmlPropertyData *>(&_singleMethod))
82 FunctionObject::destroy();
85 void ensureMethodsCache(
const QMetaObject *thisMeta);
88 const QMetaObject *metaObject()
const;
89 QObject *object()
const;
91 bool isDetached()
const;
92 bool isAttachedTo(QObject *o)
const;
100 QV4::Heap::QObjectMethod::ThisObjectMode checkThisObject(
const QMetaObject *thisMeta)
const;