#include #include #include #include #include #include #include #include #include #include #include #include #include "gen_qmetaobject.h" #include "_cgo_export.h" QMetaMethod* QMetaMethod_new() { return new QMetaMethod(); } QMetaMethod* QMetaMethod_new2(QMetaMethod* param1) { return new QMetaMethod(*param1); } struct miqt_string QMetaMethod_MethodSignature(const QMetaMethod* self) { QByteArray _qb = self->methodSignature(); struct miqt_string _ms; _ms.len = _qb.length(); _ms.data = static_cast(malloc(_ms.len)); memcpy(_ms.data, _qb.data(), _ms.len); return _ms; } struct miqt_string QMetaMethod_Name(const QMetaMethod* self) { QByteArray _qb = self->name(); struct miqt_string _ms; _ms.len = _qb.length(); _ms.data = static_cast(malloc(_ms.len)); memcpy(_ms.data, _qb.data(), _ms.len); return _ms; } const char* QMetaMethod_TypeName(const QMetaMethod* self) { return (const char*) self->typeName(); } int QMetaMethod_ReturnType(const QMetaMethod* self) { return self->returnType(); } int QMetaMethod_ParameterCount(const QMetaMethod* self) { return self->parameterCount(); } int QMetaMethod_ParameterType(const QMetaMethod* self, int index) { return self->parameterType(static_cast(index)); } void QMetaMethod_GetParameterTypes(const QMetaMethod* self, int* types) { self->getParameterTypes(static_cast(types)); } struct miqt_array /* of struct miqt_string */ QMetaMethod_ParameterTypes(const QMetaMethod* self) { QList _ret = self->parameterTypes(); // Convert QList<> from C++ memory to manually-managed C memory struct miqt_string* _arr = static_cast(malloc(sizeof(struct miqt_string) * _ret.length())); for (size_t i = 0, e = _ret.length(); i < e; ++i) { QByteArray _lv_qb = _ret[i]; struct miqt_string _lv_ms; _lv_ms.len = _lv_qb.length(); _lv_ms.data = static_cast(malloc(_lv_ms.len)); memcpy(_lv_ms.data, _lv_qb.data(), _lv_ms.len); _arr[i] = _lv_ms; } struct miqt_array _out; _out.len = _ret.length(); _out.data = static_cast(_arr); return _out; } struct miqt_array /* of struct miqt_string */ QMetaMethod_ParameterNames(const QMetaMethod* self) { QList _ret = self->parameterNames(); // Convert QList<> from C++ memory to manually-managed C memory struct miqt_string* _arr = static_cast(malloc(sizeof(struct miqt_string) * _ret.length())); for (size_t i = 0, e = _ret.length(); i < e; ++i) { QByteArray _lv_qb = _ret[i]; struct miqt_string _lv_ms; _lv_ms.len = _lv_qb.length(); _lv_ms.data = static_cast(malloc(_lv_ms.len)); memcpy(_lv_ms.data, _lv_qb.data(), _lv_ms.len); _arr[i] = _lv_ms; } struct miqt_array _out; _out.len = _ret.length(); _out.data = static_cast(_arr); return _out; } const char* QMetaMethod_Tag(const QMetaMethod* self) { return (const char*) self->tag(); } int QMetaMethod_Access(const QMetaMethod* self) { QMetaMethod::Access _ret = self->access(); return static_cast(_ret); } int QMetaMethod_MethodType(const QMetaMethod* self) { QMetaMethod::MethodType _ret = self->methodType(); return static_cast(_ret); } int QMetaMethod_Attributes(const QMetaMethod* self) { return self->attributes(); } int QMetaMethod_MethodIndex(const QMetaMethod* self) { return self->methodIndex(); } int QMetaMethod_Revision(const QMetaMethod* self) { return self->revision(); } QMetaObject* QMetaMethod_EnclosingMetaObject(const QMetaMethod* self) { return (QMetaObject*) self->enclosingMetaObject(); } bool QMetaMethod_Invoke(const QMetaMethod* self, QObject* object, int connectionType, QGenericReturnArgument* returnValue) { return self->invoke(object, static_cast(connectionType), *returnValue); } bool QMetaMethod_Invoke2(const QMetaMethod* self, QObject* object, QGenericReturnArgument* returnValue) { return self->invoke(object, *returnValue); } bool QMetaMethod_Invoke3(const QMetaMethod* self, QObject* object, int connectionType) { return self->invoke(object, static_cast(connectionType)); } bool QMetaMethod_InvokeWithObject(const QMetaMethod* self, QObject* object) { return self->invoke(object); } bool QMetaMethod_InvokeOnGadget(const QMetaMethod* self, void* gadget, QGenericReturnArgument* returnValue) { return self->invokeOnGadget(gadget, *returnValue); } bool QMetaMethod_InvokeOnGadgetWithGadget(const QMetaMethod* self, void* gadget) { return self->invokeOnGadget(gadget); } bool QMetaMethod_IsValid(const QMetaMethod* self) { return self->isValid(); } bool QMetaMethod_Invoke4(const QMetaMethod* self, QObject* object, int connectionType, QGenericReturnArgument* returnValue, QGenericArgument* val0) { return self->invoke(object, static_cast(connectionType), *returnValue, *val0); } bool QMetaMethod_Invoke5(const QMetaMethod* self, QObject* object, int connectionType, QGenericReturnArgument* returnValue, QGenericArgument* val0, QGenericArgument* val1) { return self->invoke(object, static_cast(connectionType), *returnValue, *val0, *val1); } bool QMetaMethod_Invoke6(const QMetaMethod* self, QObject* object, int connectionType, QGenericReturnArgument* returnValue, QGenericArgument* val0, QGenericArgument* val1, QGenericArgument* val2) { return self->invoke(object, static_cast(connectionType), *returnValue, *val0, *val1, *val2); } bool QMetaMethod_Invoke7(const QMetaMethod* self, QObject* object, int connectionType, QGenericReturnArgument* returnValue, QGenericArgument* val0, QGenericArgument* val1, QGenericArgument* val2, QGenericArgument* val3) { return self->invoke(object, static_cast(connectionType), *returnValue, *val0, *val1, *val2, *val3); } bool QMetaMethod_Invoke8(const QMetaMethod* self, QObject* object, int connectionType, QGenericReturnArgument* returnValue, QGenericArgument* val0, QGenericArgument* val1, QGenericArgument* val2, QGenericArgument* val3, QGenericArgument* val4) { return self->invoke(object, static_cast(connectionType), *returnValue, *val0, *val1, *val2, *val3, *val4); } bool QMetaMethod_Invoke9(const QMetaMethod* self, QObject* object, int connectionType, QGenericReturnArgument* returnValue, QGenericArgument* val0, QGenericArgument* val1, QGenericArgument* val2, QGenericArgument* val3, QGenericArgument* val4, QGenericArgument* val5) { return self->invoke(object, static_cast(connectionType), *returnValue, *val0, *val1, *val2, *val3, *val4, *val5); } bool QMetaMethod_Invoke10(const QMetaMethod* self, QObject* object, int connectionType, QGenericReturnArgument* returnValue, QGenericArgument* val0, QGenericArgument* val1, QGenericArgument* val2, QGenericArgument* val3, QGenericArgument* val4, QGenericArgument* val5, QGenericArgument* val6) { return self->invoke(object, static_cast(connectionType), *returnValue, *val0, *val1, *val2, *val3, *val4, *val5, *val6); } bool QMetaMethod_Invoke11(const QMetaMethod* self, QObject* object, int connectionType, QGenericReturnArgument* returnValue, QGenericArgument* val0, QGenericArgument* val1, QGenericArgument* val2, QGenericArgument* val3, QGenericArgument* val4, QGenericArgument* val5, QGenericArgument* val6, QGenericArgument* val7) { return self->invoke(object, static_cast(connectionType), *returnValue, *val0, *val1, *val2, *val3, *val4, *val5, *val6, *val7); } bool QMetaMethod_Invoke12(const QMetaMethod* self, QObject* object, int connectionType, QGenericReturnArgument* returnValue, QGenericArgument* val0, QGenericArgument* val1, QGenericArgument* val2, QGenericArgument* val3, QGenericArgument* val4, QGenericArgument* val5, QGenericArgument* val6, QGenericArgument* val7, QGenericArgument* val8) { return self->invoke(object, static_cast(connectionType), *returnValue, *val0, *val1, *val2, *val3, *val4, *val5, *val6, *val7, *val8); } bool QMetaMethod_Invoke13(const QMetaMethod* self, QObject* object, int connectionType, QGenericReturnArgument* returnValue, QGenericArgument* val0, QGenericArgument* val1, QGenericArgument* val2, QGenericArgument* val3, QGenericArgument* val4, QGenericArgument* val5, QGenericArgument* val6, QGenericArgument* val7, QGenericArgument* val8, QGenericArgument* val9) { return self->invoke(object, static_cast(connectionType), *returnValue, *val0, *val1, *val2, *val3, *val4, *val5, *val6, *val7, *val8, *val9); } bool QMetaMethod_Invoke32(const QMetaMethod* self, QObject* object, QGenericReturnArgument* returnValue, QGenericArgument* val0) { return self->invoke(object, *returnValue, *val0); } bool QMetaMethod_Invoke42(const QMetaMethod* self, QObject* object, QGenericReturnArgument* returnValue, QGenericArgument* val0, QGenericArgument* val1) { return self->invoke(object, *returnValue, *val0, *val1); } bool QMetaMethod_Invoke52(const QMetaMethod* self, QObject* object, QGenericReturnArgument* returnValue, QGenericArgument* val0, QGenericArgument* val1, QGenericArgument* val2) { return self->invoke(object, *returnValue, *val0, *val1, *val2); } bool QMetaMethod_Invoke62(const QMetaMethod* self, QObject* object, QGenericReturnArgument* returnValue, QGenericArgument* val0, QGenericArgument* val1, QGenericArgument* val2, QGenericArgument* val3) { return self->invoke(object, *returnValue, *val0, *val1, *val2, *val3); } bool QMetaMethod_Invoke72(const QMetaMethod* self, QObject* object, QGenericReturnArgument* returnValue, QGenericArgument* val0, QGenericArgument* val1, QGenericArgument* val2, QGenericArgument* val3, QGenericArgument* val4) { return self->invoke(object, *returnValue, *val0, *val1, *val2, *val3, *val4); } bool QMetaMethod_Invoke82(const QMetaMethod* self, QObject* object, QGenericReturnArgument* returnValue, QGenericArgument* val0, QGenericArgument* val1, QGenericArgument* val2, QGenericArgument* val3, QGenericArgument* val4, QGenericArgument* val5) { return self->invoke(object, *returnValue, *val0, *val1, *val2, *val3, *val4, *val5); } bool QMetaMethod_Invoke92(const QMetaMethod* self, QObject* object, QGenericReturnArgument* returnValue, QGenericArgument* val0, QGenericArgument* val1, QGenericArgument* val2, QGenericArgument* val3, QGenericArgument* val4, QGenericArgument* val5, QGenericArgument* val6) { return self->invoke(object, *returnValue, *val0, *val1, *val2, *val3, *val4, *val5, *val6); } bool QMetaMethod_Invoke102(const QMetaMethod* self, QObject* object, QGenericReturnArgument* returnValue, QGenericArgument* val0, QGenericArgument* val1, QGenericArgument* val2, QGenericArgument* val3, QGenericArgument* val4, QGenericArgument* val5, QGenericArgument* val6, QGenericArgument* val7) { return self->invoke(object, *returnValue, *val0, *val1, *val2, *val3, *val4, *val5, *val6, *val7); } bool QMetaMethod_Invoke112(const QMetaMethod* self, QObject* object, QGenericReturnArgument* returnValue, QGenericArgument* val0, QGenericArgument* val1, QGenericArgument* val2, QGenericArgument* val3, QGenericArgument* val4, QGenericArgument* val5, QGenericArgument* val6, QGenericArgument* val7, QGenericArgument* val8) { return self->invoke(object, *returnValue, *val0, *val1, *val2, *val3, *val4, *val5, *val6, *val7, *val8); } bool QMetaMethod_Invoke122(const QMetaMethod* self, QObject* object, QGenericReturnArgument* returnValue, QGenericArgument* val0, QGenericArgument* val1, QGenericArgument* val2, QGenericArgument* val3, QGenericArgument* val4, QGenericArgument* val5, QGenericArgument* val6, QGenericArgument* val7, QGenericArgument* val8, QGenericArgument* val9) { return self->invoke(object, *returnValue, *val0, *val1, *val2, *val3, *val4, *val5, *val6, *val7, *val8, *val9); } bool QMetaMethod_Invoke33(const QMetaMethod* self, QObject* object, int connectionType, QGenericArgument* val0) { return self->invoke(object, static_cast(connectionType), *val0); } bool QMetaMethod_Invoke43(const QMetaMethod* self, QObject* object, int connectionType, QGenericArgument* val0, QGenericArgument* val1) { return self->invoke(object, static_cast(connectionType), *val0, *val1); } bool QMetaMethod_Invoke53(const QMetaMethod* self, QObject* object, int connectionType, QGenericArgument* val0, QGenericArgument* val1, QGenericArgument* val2) { return self->invoke(object, static_cast(connectionType), *val0, *val1, *val2); } bool QMetaMethod_Invoke63(const QMetaMethod* self, QObject* object, int connectionType, QGenericArgument* val0, QGenericArgument* val1, QGenericArgument* val2, QGenericArgument* val3) { return self->invoke(object, static_cast(connectionType), *val0, *val1, *val2, *val3); } bool QMetaMethod_Invoke73(const QMetaMethod* self, QObject* object, int connectionType, QGenericArgument* val0, QGenericArgument* val1, QGenericArgument* val2, QGenericArgument* val3, QGenericArgument* val4) { return self->invoke(object, static_cast(connectionType), *val0, *val1, *val2, *val3, *val4); } bool QMetaMethod_Invoke83(const QMetaMethod* self, QObject* object, int connectionType, QGenericArgument* val0, QGenericArgument* val1, QGenericArgument* val2, QGenericArgument* val3, QGenericArgument* val4, QGenericArgument* val5) { return self->invoke(object, static_cast(connectionType), *val0, *val1, *val2, *val3, *val4, *val5); } bool QMetaMethod_Invoke93(const QMetaMethod* self, QObject* object, int connectionType, QGenericArgument* val0, QGenericArgument* val1, QGenericArgument* val2, QGenericArgument* val3, QGenericArgument* val4, QGenericArgument* val5, QGenericArgument* val6) { return self->invoke(object, static_cast(connectionType), *val0, *val1, *val2, *val3, *val4, *val5, *val6); } bool QMetaMethod_Invoke103(const QMetaMethod* self, QObject* object, int connectionType, QGenericArgument* val0, QGenericArgument* val1, QGenericArgument* val2, QGenericArgument* val3, QGenericArgument* val4, QGenericArgument* val5, QGenericArgument* val6, QGenericArgument* val7) { return self->invoke(object, static_cast(connectionType), *val0, *val1, *val2, *val3, *val4, *val5, *val6, *val7); } bool QMetaMethod_Invoke113(const QMetaMethod* self, QObject* object, int connectionType, QGenericArgument* val0, QGenericArgument* val1, QGenericArgument* val2, QGenericArgument* val3, QGenericArgument* val4, QGenericArgument* val5, QGenericArgument* val6, QGenericArgument* val7, QGenericArgument* val8) { return self->invoke(object, static_cast(connectionType), *val0, *val1, *val2, *val3, *val4, *val5, *val6, *val7, *val8); } bool QMetaMethod_Invoke123(const QMetaMethod* self, QObject* object, int connectionType, QGenericArgument* val0, QGenericArgument* val1, QGenericArgument* val2, QGenericArgument* val3, QGenericArgument* val4, QGenericArgument* val5, QGenericArgument* val6, QGenericArgument* val7, QGenericArgument* val8, QGenericArgument* val9) { return self->invoke(object, static_cast(connectionType), *val0, *val1, *val2, *val3, *val4, *val5, *val6, *val7, *val8, *val9); } bool QMetaMethod_Invoke22(const QMetaMethod* self, QObject* object, QGenericArgument* val0) { return self->invoke(object, *val0); } bool QMetaMethod_Invoke34(const QMetaMethod* self, QObject* object, QGenericArgument* val0, QGenericArgument* val1) { return self->invoke(object, *val0, *val1); } bool QMetaMethod_Invoke44(const QMetaMethod* self, QObject* object, QGenericArgument* val0, QGenericArgument* val1, QGenericArgument* val2) { return self->invoke(object, *val0, *val1, *val2); } bool QMetaMethod_Invoke54(const QMetaMethod* self, QObject* object, QGenericArgument* val0, QGenericArgument* val1, QGenericArgument* val2, QGenericArgument* val3) { return self->invoke(object, *val0, *val1, *val2, *val3); } bool QMetaMethod_Invoke64(const QMetaMethod* self, QObject* object, QGenericArgument* val0, QGenericArgument* val1, QGenericArgument* val2, QGenericArgument* val3, QGenericArgument* val4) { return self->invoke(object, *val0, *val1, *val2, *val3, *val4); } bool QMetaMethod_Invoke74(const QMetaMethod* self, QObject* object, QGenericArgument* val0, QGenericArgument* val1, QGenericArgument* val2, QGenericArgument* val3, QGenericArgument* val4, QGenericArgument* val5) { return self->invoke(object, *val0, *val1, *val2, *val3, *val4, *val5); } bool QMetaMethod_Invoke84(const QMetaMethod* self, QObject* object, QGenericArgument* val0, QGenericArgument* val1, QGenericArgument* val2, QGenericArgument* val3, QGenericArgument* val4, QGenericArgument* val5, QGenericArgument* val6) { return self->invoke(object, *val0, *val1, *val2, *val3, *val4, *val5, *val6); } bool QMetaMethod_Invoke94(const QMetaMethod* self, QObject* object, QGenericArgument* val0, QGenericArgument* val1, QGenericArgument* val2, QGenericArgument* val3, QGenericArgument* val4, QGenericArgument* val5, QGenericArgument* val6, QGenericArgument* val7) { return self->invoke(object, *val0, *val1, *val2, *val3, *val4, *val5, *val6, *val7); } bool QMetaMethod_Invoke104(const QMetaMethod* self, QObject* object, QGenericArgument* val0, QGenericArgument* val1, QGenericArgument* val2, QGenericArgument* val3, QGenericArgument* val4, QGenericArgument* val5, QGenericArgument* val6, QGenericArgument* val7, QGenericArgument* val8) { return self->invoke(object, *val0, *val1, *val2, *val3, *val4, *val5, *val6, *val7, *val8); } bool QMetaMethod_Invoke114(const QMetaMethod* self, QObject* object, QGenericArgument* val0, QGenericArgument* val1, QGenericArgument* val2, QGenericArgument* val3, QGenericArgument* val4, QGenericArgument* val5, QGenericArgument* val6, QGenericArgument* val7, QGenericArgument* val8, QGenericArgument* val9) { return self->invoke(object, *val0, *val1, *val2, *val3, *val4, *val5, *val6, *val7, *val8, *val9); } bool QMetaMethod_InvokeOnGadget3(const QMetaMethod* self, void* gadget, QGenericReturnArgument* returnValue, QGenericArgument* val0) { return self->invokeOnGadget(gadget, *returnValue, *val0); } bool QMetaMethod_InvokeOnGadget4(const QMetaMethod* self, void* gadget, QGenericReturnArgument* returnValue, QGenericArgument* val0, QGenericArgument* val1) { return self->invokeOnGadget(gadget, *returnValue, *val0, *val1); } bool QMetaMethod_InvokeOnGadget5(const QMetaMethod* self, void* gadget, QGenericReturnArgument* returnValue, QGenericArgument* val0, QGenericArgument* val1, QGenericArgument* val2) { return self->invokeOnGadget(gadget, *returnValue, *val0, *val1, *val2); } bool QMetaMethod_InvokeOnGadget6(const QMetaMethod* self, void* gadget, QGenericReturnArgument* returnValue, QGenericArgument* val0, QGenericArgument* val1, QGenericArgument* val2, QGenericArgument* val3) { return self->invokeOnGadget(gadget, *returnValue, *val0, *val1, *val2, *val3); } bool QMetaMethod_InvokeOnGadget7(const QMetaMethod* self, void* gadget, QGenericReturnArgument* returnValue, QGenericArgument* val0, QGenericArgument* val1, QGenericArgument* val2, QGenericArgument* val3, QGenericArgument* val4) { return self->invokeOnGadget(gadget, *returnValue, *val0, *val1, *val2, *val3, *val4); } bool QMetaMethod_InvokeOnGadget8(const QMetaMethod* self, void* gadget, QGenericReturnArgument* returnValue, QGenericArgument* val0, QGenericArgument* val1, QGenericArgument* val2, QGenericArgument* val3, QGenericArgument* val4, QGenericArgument* val5) { return self->invokeOnGadget(gadget, *returnValue, *val0, *val1, *val2, *val3, *val4, *val5); } bool QMetaMethod_InvokeOnGadget9(const QMetaMethod* self, void* gadget, QGenericReturnArgument* returnValue, QGenericArgument* val0, QGenericArgument* val1, QGenericArgument* val2, QGenericArgument* val3, QGenericArgument* val4, QGenericArgument* val5, QGenericArgument* val6) { return self->invokeOnGadget(gadget, *returnValue, *val0, *val1, *val2, *val3, *val4, *val5, *val6); } bool QMetaMethod_InvokeOnGadget10(const QMetaMethod* self, void* gadget, QGenericReturnArgument* returnValue, QGenericArgument* val0, QGenericArgument* val1, QGenericArgument* val2, QGenericArgument* val3, QGenericArgument* val4, QGenericArgument* val5, QGenericArgument* val6, QGenericArgument* val7) { return self->invokeOnGadget(gadget, *returnValue, *val0, *val1, *val2, *val3, *val4, *val5, *val6, *val7); } bool QMetaMethod_InvokeOnGadget11(const QMetaMethod* self, void* gadget, QGenericReturnArgument* returnValue, QGenericArgument* val0, QGenericArgument* val1, QGenericArgument* val2, QGenericArgument* val3, QGenericArgument* val4, QGenericArgument* val5, QGenericArgument* val6, QGenericArgument* val7, QGenericArgument* val8) { return self->invokeOnGadget(gadget, *returnValue, *val0, *val1, *val2, *val3, *val4, *val5, *val6, *val7, *val8); } bool QMetaMethod_InvokeOnGadget12(const QMetaMethod* self, void* gadget, QGenericReturnArgument* returnValue, QGenericArgument* val0, QGenericArgument* val1, QGenericArgument* val2, QGenericArgument* val3, QGenericArgument* val4, QGenericArgument* val5, QGenericArgument* val6, QGenericArgument* val7, QGenericArgument* val8, QGenericArgument* val9) { return self->invokeOnGadget(gadget, *returnValue, *val0, *val1, *val2, *val3, *val4, *val5, *val6, *val7, *val8, *val9); } bool QMetaMethod_InvokeOnGadget2(const QMetaMethod* self, void* gadget, QGenericArgument* val0) { return self->invokeOnGadget(gadget, *val0); } bool QMetaMethod_InvokeOnGadget32(const QMetaMethod* self, void* gadget, QGenericArgument* val0, QGenericArgument* val1) { return self->invokeOnGadget(gadget, *val0, *val1); } bool QMetaMethod_InvokeOnGadget42(const QMetaMethod* self, void* gadget, QGenericArgument* val0, QGenericArgument* val1, QGenericArgument* val2) { return self->invokeOnGadget(gadget, *val0, *val1, *val2); } bool QMetaMethod_InvokeOnGadget52(const QMetaMethod* self, void* gadget, QGenericArgument* val0, QGenericArgument* val1, QGenericArgument* val2, QGenericArgument* val3) { return self->invokeOnGadget(gadget, *val0, *val1, *val2, *val3); } bool QMetaMethod_InvokeOnGadget62(const QMetaMethod* self, void* gadget, QGenericArgument* val0, QGenericArgument* val1, QGenericArgument* val2, QGenericArgument* val3, QGenericArgument* val4) { return self->invokeOnGadget(gadget, *val0, *val1, *val2, *val3, *val4); } bool QMetaMethod_InvokeOnGadget72(const QMetaMethod* self, void* gadget, QGenericArgument* val0, QGenericArgument* val1, QGenericArgument* val2, QGenericArgument* val3, QGenericArgument* val4, QGenericArgument* val5) { return self->invokeOnGadget(gadget, *val0, *val1, *val2, *val3, *val4, *val5); } bool QMetaMethod_InvokeOnGadget82(const QMetaMethod* self, void* gadget, QGenericArgument* val0, QGenericArgument* val1, QGenericArgument* val2, QGenericArgument* val3, QGenericArgument* val4, QGenericArgument* val5, QGenericArgument* val6) { return self->invokeOnGadget(gadget, *val0, *val1, *val2, *val3, *val4, *val5, *val6); } bool QMetaMethod_InvokeOnGadget92(const QMetaMethod* self, void* gadget, QGenericArgument* val0, QGenericArgument* val1, QGenericArgument* val2, QGenericArgument* val3, QGenericArgument* val4, QGenericArgument* val5, QGenericArgument* val6, QGenericArgument* val7) { return self->invokeOnGadget(gadget, *val0, *val1, *val2, *val3, *val4, *val5, *val6, *val7); } bool QMetaMethod_InvokeOnGadget102(const QMetaMethod* self, void* gadget, QGenericArgument* val0, QGenericArgument* val1, QGenericArgument* val2, QGenericArgument* val3, QGenericArgument* val4, QGenericArgument* val5, QGenericArgument* val6, QGenericArgument* val7, QGenericArgument* val8) { return self->invokeOnGadget(gadget, *val0, *val1, *val2, *val3, *val4, *val5, *val6, *val7, *val8); } bool QMetaMethod_InvokeOnGadget112(const QMetaMethod* self, void* gadget, QGenericArgument* val0, QGenericArgument* val1, QGenericArgument* val2, QGenericArgument* val3, QGenericArgument* val4, QGenericArgument* val5, QGenericArgument* val6, QGenericArgument* val7, QGenericArgument* val8, QGenericArgument* val9) { return self->invokeOnGadget(gadget, *val0, *val1, *val2, *val3, *val4, *val5, *val6, *val7, *val8, *val9); } void QMetaMethod_Delete(QMetaMethod* self, bool isSubclass) { if (isSubclass) { delete dynamic_cast( self ); } else { delete self; } } QMetaEnum* QMetaEnum_new() { return new QMetaEnum(); } QMetaEnum* QMetaEnum_new2(QMetaEnum* param1) { return new QMetaEnum(*param1); } const char* QMetaEnum_Name(const QMetaEnum* self) { return (const char*) self->name(); } const char* QMetaEnum_EnumName(const QMetaEnum* self) { return (const char*) self->enumName(); } bool QMetaEnum_IsFlag(const QMetaEnum* self) { return self->isFlag(); } bool QMetaEnum_IsScoped(const QMetaEnum* self) { return self->isScoped(); } int QMetaEnum_KeyCount(const QMetaEnum* self) { return self->keyCount(); } const char* QMetaEnum_Key(const QMetaEnum* self, int index) { return (const char*) self->key(static_cast(index)); } int QMetaEnum_Value(const QMetaEnum* self, int index) { return self->value(static_cast(index)); } const char* QMetaEnum_Scope(const QMetaEnum* self) { return (const char*) self->scope(); } int QMetaEnum_KeyToValue(const QMetaEnum* self, const char* key) { return self->keyToValue(key); } const char* QMetaEnum_ValueToKey(const QMetaEnum* self, int value) { return (const char*) self->valueToKey(static_cast(value)); } int QMetaEnum_KeysToValue(const QMetaEnum* self, const char* keys) { return self->keysToValue(keys); } struct miqt_string QMetaEnum_ValueToKeys(const QMetaEnum* self, int value) { QByteArray _qb = self->valueToKeys(static_cast(value)); struct miqt_string _ms; _ms.len = _qb.length(); _ms.data = static_cast(malloc(_ms.len)); memcpy(_ms.data, _qb.data(), _ms.len); return _ms; } QMetaObject* QMetaEnum_EnclosingMetaObject(const QMetaEnum* self) { return (QMetaObject*) self->enclosingMetaObject(); } bool QMetaEnum_IsValid(const QMetaEnum* self) { return self->isValid(); } int QMetaEnum_KeyToValue2(const QMetaEnum* self, const char* key, bool* ok) { return self->keyToValue(key, ok); } int QMetaEnum_KeysToValue2(const QMetaEnum* self, const char* keys, bool* ok) { return self->keysToValue(keys, ok); } void QMetaEnum_Delete(QMetaEnum* self, bool isSubclass) { if (isSubclass) { delete dynamic_cast( self ); } else { delete self; } } QMetaProperty* QMetaProperty_new() { return new QMetaProperty(); } const char* QMetaProperty_Name(const QMetaProperty* self) { return (const char*) self->name(); } const char* QMetaProperty_TypeName(const QMetaProperty* self) { return (const char*) self->typeName(); } int QMetaProperty_Type(const QMetaProperty* self) { QVariant::Type _ret = self->type(); return static_cast(_ret); } int QMetaProperty_UserType(const QMetaProperty* self) { return self->userType(); } int QMetaProperty_PropertyIndex(const QMetaProperty* self) { return self->propertyIndex(); } int QMetaProperty_RelativePropertyIndex(const QMetaProperty* self) { return self->relativePropertyIndex(); } bool QMetaProperty_IsReadable(const QMetaProperty* self) { return self->isReadable(); } bool QMetaProperty_IsWritable(const QMetaProperty* self) { return self->isWritable(); } bool QMetaProperty_IsResettable(const QMetaProperty* self) { return self->isResettable(); } bool QMetaProperty_IsDesignable(const QMetaProperty* self) { return self->isDesignable(); } bool QMetaProperty_IsScriptable(const QMetaProperty* self) { return self->isScriptable(); } bool QMetaProperty_IsStored(const QMetaProperty* self) { return self->isStored(); } bool QMetaProperty_IsEditable(const QMetaProperty* self) { return self->isEditable(); } bool QMetaProperty_IsUser(const QMetaProperty* self) { return self->isUser(); } bool QMetaProperty_IsConstant(const QMetaProperty* self) { return self->isConstant(); } bool QMetaProperty_IsFinal(const QMetaProperty* self) { return self->isFinal(); } bool QMetaProperty_IsRequired(const QMetaProperty* self) { return self->isRequired(); } bool QMetaProperty_IsFlagType(const QMetaProperty* self) { return self->isFlagType(); } bool QMetaProperty_IsEnumType(const QMetaProperty* self) { return self->isEnumType(); } QMetaEnum* QMetaProperty_Enumerator(const QMetaProperty* self) { return new QMetaEnum(self->enumerator()); } bool QMetaProperty_HasNotifySignal(const QMetaProperty* self) { return self->hasNotifySignal(); } QMetaMethod* QMetaProperty_NotifySignal(const QMetaProperty* self) { return new QMetaMethod(self->notifySignal()); } int QMetaProperty_NotifySignalIndex(const QMetaProperty* self) { return self->notifySignalIndex(); } int QMetaProperty_Revision(const QMetaProperty* self) { return self->revision(); } QVariant* QMetaProperty_Read(const QMetaProperty* self, QObject* obj) { return new QVariant(self->read(obj)); } bool QMetaProperty_Write(const QMetaProperty* self, QObject* obj, QVariant* value) { return self->write(obj, *value); } bool QMetaProperty_Reset(const QMetaProperty* self, QObject* obj) { return self->reset(obj); } QVariant* QMetaProperty_ReadOnGadget(const QMetaProperty* self, const void* gadget) { return new QVariant(self->readOnGadget(gadget)); } bool QMetaProperty_WriteOnGadget(const QMetaProperty* self, void* gadget, QVariant* value) { return self->writeOnGadget(gadget, *value); } bool QMetaProperty_ResetOnGadget(const QMetaProperty* self, void* gadget) { return self->resetOnGadget(gadget); } bool QMetaProperty_HasStdCppSet(const QMetaProperty* self) { return self->hasStdCppSet(); } bool QMetaProperty_IsValid(const QMetaProperty* self) { return self->isValid(); } QMetaObject* QMetaProperty_EnclosingMetaObject(const QMetaProperty* self) { return (QMetaObject*) self->enclosingMetaObject(); } bool QMetaProperty_IsDesignable1(const QMetaProperty* self, QObject* obj) { return self->isDesignable(obj); } bool QMetaProperty_IsScriptable1(const QMetaProperty* self, QObject* obj) { return self->isScriptable(obj); } bool QMetaProperty_IsStored1(const QMetaProperty* self, QObject* obj) { return self->isStored(obj); } bool QMetaProperty_IsEditable1(const QMetaProperty* self, QObject* obj) { return self->isEditable(obj); } bool QMetaProperty_IsUser1(const QMetaProperty* self, QObject* obj) { return self->isUser(obj); } void QMetaProperty_Delete(QMetaProperty* self, bool isSubclass) { if (isSubclass) { delete dynamic_cast( self ); } else { delete self; } } QMetaClassInfo* QMetaClassInfo_new() { return new QMetaClassInfo(); } const char* QMetaClassInfo_Name(const QMetaClassInfo* self) { return (const char*) self->name(); } const char* QMetaClassInfo_Value(const QMetaClassInfo* self) { return (const char*) self->value(); } QMetaObject* QMetaClassInfo_EnclosingMetaObject(const QMetaClassInfo* self) { return (QMetaObject*) self->enclosingMetaObject(); } void QMetaClassInfo_Delete(QMetaClassInfo* self, bool isSubclass) { if (isSubclass) { delete dynamic_cast( self ); } else { delete self; } }