miqt/qt/gen_qmetaobject.cpp

637 lines
29 KiB
C++
Raw Normal View History

#include <QByteArray>
#include <QGenericArgument>
#include <QGenericReturnArgument>
#include <QList>
#include <QMetaClassInfo>
#include <QMetaEnum>
#include <QMetaMethod>
#include <QMetaObject>
#include <QMetaProperty>
#include <QObject>
#include <QVariant>
#include <qmetaobject.h>
2024-08-29 07:01:51 +00:00
#include "gen_qmetaobject.h"
#include "_cgo_export.h"
QMetaMethod* QMetaMethod_new() {
return new QMetaMethod();
}
QMetaMethod* QMetaMethod_new2(QMetaMethod* param1) {
return new QMetaMethod(*param1);
}
QByteArray* QMetaMethod_MethodSignature(const QMetaMethod* self) {
return new QByteArray(self->methodSignature());
}
QByteArray* QMetaMethod_Name(const QMetaMethod* self) {
return new QByteArray(self->name());
}
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<int>(index));
}
void QMetaMethod_GetParameterTypes(const QMetaMethod* self, int* types) {
self->getParameterTypes(static_cast<int*>(types));
}
struct miqt_array* QMetaMethod_ParameterTypes(const QMetaMethod* self) {
QList<QByteArray> _ret = self->parameterTypes();
// Convert QList<> from C++ memory to manually-managed C memory
QByteArray** _arr = static_cast<QByteArray**>(malloc(sizeof(QByteArray*) * _ret.length()));
for (size_t i = 0, e = _ret.length(); i < e; ++i) {
_arr[i] = new QByteArray(_ret[i]);
}
struct miqt_array* _out = static_cast<struct miqt_array*>(malloc(sizeof(struct miqt_array)));
_out->len = _ret.length();
_out->data = static_cast<void*>(_arr);
return _out;
}
struct miqt_array* QMetaMethod_ParameterNames(const QMetaMethod* self) {
QList<QByteArray> _ret = self->parameterNames();
// Convert QList<> from C++ memory to manually-managed C memory
QByteArray** _arr = static_cast<QByteArray**>(malloc(sizeof(QByteArray*) * _ret.length()));
for (size_t i = 0, e = _ret.length(); i < e; ++i) {
_arr[i] = new QByteArray(_ret[i]);
}
struct miqt_array* _out = static_cast<struct miqt_array*>(malloc(sizeof(struct miqt_array)));
_out->len = _ret.length();
_out->data = static_cast<void*>(_arr);
return _out;
}
const char* QMetaMethod_Tag(const QMetaMethod* self) {
return (const char*) self->tag();
2024-08-29 07:01:51 +00:00
}
int QMetaMethod_Access(const QMetaMethod* self) {
QMetaMethod::Access _ret = self->access();
return static_cast<int>(_ret);
2024-08-29 07:01:51 +00:00
}
int QMetaMethod_MethodType(const QMetaMethod* self) {
QMetaMethod::MethodType _ret = self->methodType();
return static_cast<int>(_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();
2024-08-29 07:01:51 +00:00
}
bool QMetaMethod_Invoke(const QMetaMethod* self, QObject* object, int connectionType, QGenericReturnArgument* returnValue) {
return self->invoke(object, static_cast<Qt::ConnectionType>(connectionType), *returnValue);
}
bool QMetaMethod_Invoke2(const QMetaMethod* self, QObject* object, QGenericReturnArgument* returnValue) {
return self->invoke(object, *returnValue);
2024-08-29 07:01:51 +00:00
}
bool QMetaMethod_Invoke3(const QMetaMethod* self, QObject* object, int connectionType) {
return self->invoke(object, static_cast<Qt::ConnectionType>(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();
2024-08-29 07:01:51 +00:00
}
bool QMetaMethod_Invoke4(const QMetaMethod* self, QObject* object, int connectionType, QGenericReturnArgument* returnValue, QGenericArgument* val0) {
return self->invoke(object, static_cast<Qt::ConnectionType>(connectionType), *returnValue, *val0);
2024-08-29 07:01:51 +00:00
}
bool QMetaMethod_Invoke5(const QMetaMethod* self, QObject* object, int connectionType, QGenericReturnArgument* returnValue, QGenericArgument* val0, QGenericArgument* val1) {
return self->invoke(object, static_cast<Qt::ConnectionType>(connectionType), *returnValue, *val0, *val1);
2024-08-29 07:01:51 +00:00
}
bool QMetaMethod_Invoke6(const QMetaMethod* self, QObject* object, int connectionType, QGenericReturnArgument* returnValue, QGenericArgument* val0, QGenericArgument* val1, QGenericArgument* val2) {
return self->invoke(object, static_cast<Qt::ConnectionType>(connectionType), *returnValue, *val0, *val1, *val2);
2024-08-29 07:01:51 +00:00
}
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<Qt::ConnectionType>(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<Qt::ConnectionType>(connectionType), *returnValue, *val0, *val1, *val2, *val3, *val4);
2024-08-29 07:01:51 +00:00
}
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<Qt::ConnectionType>(connectionType), *returnValue, *val0, *val1, *val2, *val3, *val4, *val5);
2024-08-29 07:01:51 +00:00
}
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<Qt::ConnectionType>(connectionType), *returnValue, *val0, *val1, *val2, *val3, *val4, *val5, *val6);
2024-08-29 07:01:51 +00:00
}
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<Qt::ConnectionType>(connectionType), *returnValue, *val0, *val1, *val2, *val3, *val4, *val5, *val6, *val7);
2024-08-29 07:01:51 +00:00
}
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<Qt::ConnectionType>(connectionType), *returnValue, *val0, *val1, *val2, *val3, *val4, *val5, *val6, *val7, *val8);
2024-08-29 07:01:51 +00:00
}
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<Qt::ConnectionType>(connectionType), *returnValue, *val0, *val1, *val2, *val3, *val4, *val5, *val6, *val7, *val8, *val9);
2024-08-29 07:01:51 +00:00
}
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<Qt::ConnectionType>(connectionType), *val0);
2024-08-29 07:01:51 +00:00
}
bool QMetaMethod_Invoke43(const QMetaMethod* self, QObject* object, int connectionType, QGenericArgument* val0, QGenericArgument* val1) {
return self->invoke(object, static_cast<Qt::ConnectionType>(connectionType), *val0, *val1);
2024-08-29 07:01:51 +00:00
}
bool QMetaMethod_Invoke53(const QMetaMethod* self, QObject* object, int connectionType, QGenericArgument* val0, QGenericArgument* val1, QGenericArgument* val2) {
return self->invoke(object, static_cast<Qt::ConnectionType>(connectionType), *val0, *val1, *val2);
2024-08-29 07:01:51 +00:00
}
bool QMetaMethod_Invoke63(const QMetaMethod* self, QObject* object, int connectionType, QGenericArgument* val0, QGenericArgument* val1, QGenericArgument* val2, QGenericArgument* val3) {
return self->invoke(object, static_cast<Qt::ConnectionType>(connectionType), *val0, *val1, *val2, *val3);
2024-08-29 07:01:51 +00:00
}
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<Qt::ConnectionType>(connectionType), *val0, *val1, *val2, *val3, *val4);
2024-08-29 07:01:51 +00:00
}
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<Qt::ConnectionType>(connectionType), *val0, *val1, *val2, *val3, *val4, *val5);
2024-08-29 07:01:51 +00:00
}
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<Qt::ConnectionType>(connectionType), *val0, *val1, *val2, *val3, *val4, *val5, *val6);
2024-08-29 07:01:51 +00:00
}
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<Qt::ConnectionType>(connectionType), *val0, *val1, *val2, *val3, *val4, *val5, *val6, *val7);
2024-08-29 07:01:51 +00:00
}
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<Qt::ConnectionType>(connectionType), *val0, *val1, *val2, *val3, *val4, *val5, *val6, *val7, *val8);
2024-08-29 07:01:51 +00:00
}
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<Qt::ConnectionType>(connectionType), *val0, *val1, *val2, *val3, *val4, *val5, *val6, *val7, *val8, *val9);
2024-08-29 07:01:51 +00:00
}
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) {
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<int>(index));
}
int QMetaEnum_Value(const QMetaEnum* self, int index) {
return self->value(static_cast<int>(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<int>(value));
}
int QMetaEnum_KeysToValue(const QMetaEnum* self, const char* keys) {
return self->keysToValue(keys);
}
QByteArray* QMetaEnum_ValueToKeys(const QMetaEnum* self, int value) {
return new QByteArray(self->valueToKeys(static_cast<int>(value)));
}
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) {
delete self;
}
QMetaProperty* QMetaProperty_new() {
return new QMetaProperty();
}
const char* QMetaProperty_Name(const QMetaProperty* self) {
return (const char*) self->name();
2024-08-29 07:01:51 +00:00
}
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<int>(_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) {
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) {
delete self;
}