#include #include #include #include #include #include #include #include #include #include #include #include "qmetaobject.h" #include "gen_qmetaobject.h" extern "C" { extern void miqt_exec_callback(void* cb, int argc, void* argv); } QMetaMethod* QMetaMethod_new() { return new QMetaMethod(); } QMetaMethod* QMetaMethod_new2(QMetaMethod* param1) { return new QMetaMethod(*param1); } QByteArray* QMetaMethod_MethodSignature(QMetaMethod* self) { QByteArray ret = const_cast(self)->methodSignature(); // Copy-construct value returned type into heap-allocated copy return static_cast(new QByteArray(ret)); } QByteArray* QMetaMethod_Name(QMetaMethod* self) { QByteArray ret = const_cast(self)->name(); // Copy-construct value returned type into heap-allocated copy return static_cast(new QByteArray(ret)); } const char* QMetaMethod_TypeName(QMetaMethod* self) { return (const char*) const_cast(self)->typeName(); } int QMetaMethod_ReturnType(QMetaMethod* self) { return const_cast(self)->returnType(); } int QMetaMethod_ParameterCount(QMetaMethod* self) { return const_cast(self)->parameterCount(); } int QMetaMethod_ParameterType(QMetaMethod* self, int index) { return const_cast(self)->parameterType(static_cast(index)); } void QMetaMethod_GetParameterTypes(QMetaMethod* self, int* types) { const_cast(self)->getParameterTypes(static_cast(types)); } void QMetaMethod_ParameterTypes(QMetaMethod* self, QByteArray*** _out, size_t* _out_len) { QList ret = const_cast(self)->parameterTypes(); // Convert QList<> from C++ memory to manually-managed C memory of copy-constructed pointers QByteArray** __out = static_cast(malloc(sizeof(QByteArray**) * ret.length())); for (size_t i = 0, e = ret.length(); i < e; ++i) { __out[i] = new QByteArray(ret[i]); } *_out = __out; *_out_len = ret.length(); } void QMetaMethod_ParameterNames(QMetaMethod* self, QByteArray*** _out, size_t* _out_len) { QList ret = const_cast(self)->parameterNames(); // Convert QList<> from C++ memory to manually-managed C memory of copy-constructed pointers QByteArray** __out = static_cast(malloc(sizeof(QByteArray**) * ret.length())); for (size_t i = 0, e = ret.length(); i < e; ++i) { __out[i] = new QByteArray(ret[i]); } *_out = __out; *_out_len = ret.length(); } const char* QMetaMethod_Tag(QMetaMethod* self) { return (const char*) const_cast(self)->tag(); } uintptr_t QMetaMethod_Access(QMetaMethod* self) { QMetaMethod::Access ret = const_cast(self)->access(); return static_cast(ret); } uintptr_t QMetaMethod_MethodType(QMetaMethod* self) { QMetaMethod::MethodType ret = const_cast(self)->methodType(); return static_cast(ret); } int QMetaMethod_Attributes(QMetaMethod* self) { return const_cast(self)->attributes(); } int QMetaMethod_MethodIndex(QMetaMethod* self) { return const_cast(self)->methodIndex(); } int QMetaMethod_Revision(QMetaMethod* self) { return const_cast(self)->revision(); } QMetaObject* QMetaMethod_EnclosingMetaObject(QMetaMethod* self) { return (QMetaObject*) const_cast(self)->enclosingMetaObject(); } bool QMetaMethod_Invoke(QMetaMethod* self, QObject* object, uintptr_t connectionType, QGenericReturnArgument* returnValue) { return const_cast(self)->invoke(object, static_cast(connectionType), *returnValue); } bool QMetaMethod_Invoke2(QMetaMethod* self, QObject* object, QGenericReturnArgument* returnValue) { return const_cast(self)->invoke(object, *returnValue); } bool QMetaMethod_Invoke3(QMetaMethod* self, QObject* object, uintptr_t connectionType) { return const_cast(self)->invoke(object, static_cast(connectionType)); } bool QMetaMethod_InvokeWithObject(QMetaMethod* self, QObject* object) { return const_cast(self)->invoke(object); } bool QMetaMethod_IsValid(QMetaMethod* self) { return const_cast(self)->isValid(); } bool QMetaMethod_Invoke4(QMetaMethod* self, QObject* object, uintptr_t connectionType, QGenericReturnArgument* returnValue, QGenericArgument* val0) { return const_cast(self)->invoke(object, static_cast(connectionType), *returnValue, *val0); } bool QMetaMethod_Invoke5(QMetaMethod* self, QObject* object, uintptr_t connectionType, QGenericReturnArgument* returnValue, QGenericArgument* val0, QGenericArgument* val1) { return const_cast(self)->invoke(object, static_cast(connectionType), *returnValue, *val0, *val1); } bool QMetaMethod_Invoke6(QMetaMethod* self, QObject* object, uintptr_t connectionType, QGenericReturnArgument* returnValue, QGenericArgument* val0, QGenericArgument* val1, QGenericArgument* val2) { return const_cast(self)->invoke(object, static_cast(connectionType), *returnValue, *val0, *val1, *val2); } bool QMetaMethod_Invoke7(QMetaMethod* self, QObject* object, uintptr_t connectionType, QGenericReturnArgument* returnValue, QGenericArgument* val0, QGenericArgument* val1, QGenericArgument* val2, QGenericArgument* val3) { return const_cast(self)->invoke(object, static_cast(connectionType), *returnValue, *val0, *val1, *val2, *val3); } bool QMetaMethod_Invoke8(QMetaMethod* self, QObject* object, uintptr_t connectionType, QGenericReturnArgument* returnValue, QGenericArgument* val0, QGenericArgument* val1, QGenericArgument* val2, QGenericArgument* val3, QGenericArgument* val4) { return const_cast(self)->invoke(object, static_cast(connectionType), *returnValue, *val0, *val1, *val2, *val3, *val4); } bool QMetaMethod_Invoke9(QMetaMethod* self, QObject* object, uintptr_t connectionType, QGenericReturnArgument* returnValue, QGenericArgument* val0, QGenericArgument* val1, QGenericArgument* val2, QGenericArgument* val3, QGenericArgument* val4, QGenericArgument* val5) { return const_cast(self)->invoke(object, static_cast(connectionType), *returnValue, *val0, *val1, *val2, *val3, *val4, *val5); } bool QMetaMethod_Invoke10(QMetaMethod* self, QObject* object, uintptr_t connectionType, QGenericReturnArgument* returnValue, QGenericArgument* val0, QGenericArgument* val1, QGenericArgument* val2, QGenericArgument* val3, QGenericArgument* val4, QGenericArgument* val5, QGenericArgument* val6) { return const_cast(self)->invoke(object, static_cast(connectionType), *returnValue, *val0, *val1, *val2, *val3, *val4, *val5, *val6); } bool QMetaMethod_Invoke11(QMetaMethod* self, QObject* object, uintptr_t connectionType, QGenericReturnArgument* returnValue, QGenericArgument* val0, QGenericArgument* val1, QGenericArgument* val2, QGenericArgument* val3, QGenericArgument* val4, QGenericArgument* val5, QGenericArgument* val6, QGenericArgument* val7) { return const_cast(self)->invoke(object, static_cast(connectionType), *returnValue, *val0, *val1, *val2, *val3, *val4, *val5, *val6, *val7); } bool QMetaMethod_Invoke12(QMetaMethod* self, QObject* object, uintptr_t connectionType, QGenericReturnArgument* returnValue, QGenericArgument* val0, QGenericArgument* val1, QGenericArgument* val2, QGenericArgument* val3, QGenericArgument* val4, QGenericArgument* val5, QGenericArgument* val6, QGenericArgument* val7, QGenericArgument* val8) { return const_cast(self)->invoke(object, static_cast(connectionType), *returnValue, *val0, *val1, *val2, *val3, *val4, *val5, *val6, *val7, *val8); } bool QMetaMethod_Invoke13(QMetaMethod* self, QObject* object, uintptr_t connectionType, QGenericReturnArgument* returnValue, QGenericArgument* val0, QGenericArgument* val1, QGenericArgument* val2, QGenericArgument* val3, QGenericArgument* val4, QGenericArgument* val5, QGenericArgument* val6, QGenericArgument* val7, QGenericArgument* val8, QGenericArgument* val9) { return const_cast(self)->invoke(object, static_cast(connectionType), *returnValue, *val0, *val1, *val2, *val3, *val4, *val5, *val6, *val7, *val8, *val9); } bool QMetaMethod_Invoke32(QMetaMethod* self, QObject* object, QGenericReturnArgument* returnValue, QGenericArgument* val0) { return const_cast(self)->invoke(object, *returnValue, *val0); } bool QMetaMethod_Invoke42(QMetaMethod* self, QObject* object, QGenericReturnArgument* returnValue, QGenericArgument* val0, QGenericArgument* val1) { return const_cast(self)->invoke(object, *returnValue, *val0, *val1); } bool QMetaMethod_Invoke52(QMetaMethod* self, QObject* object, QGenericReturnArgument* returnValue, QGenericArgument* val0, QGenericArgument* val1, QGenericArgument* val2) { return const_cast(self)->invoke(object, *returnValue, *val0, *val1, *val2); } bool QMetaMethod_Invoke62(QMetaMethod* self, QObject* object, QGenericReturnArgument* returnValue, QGenericArgument* val0, QGenericArgument* val1, QGenericArgument* val2, QGenericArgument* val3) { return const_cast(self)->invoke(object, *returnValue, *val0, *val1, *val2, *val3); } bool QMetaMethod_Invoke72(QMetaMethod* self, QObject* object, QGenericReturnArgument* returnValue, QGenericArgument* val0, QGenericArgument* val1, QGenericArgument* val2, QGenericArgument* val3, QGenericArgument* val4) { return const_cast(self)->invoke(object, *returnValue, *val0, *val1, *val2, *val3, *val4); } bool QMetaMethod_Invoke82(QMetaMethod* self, QObject* object, QGenericReturnArgument* returnValue, QGenericArgument* val0, QGenericArgument* val1, QGenericArgument* val2, QGenericArgument* val3, QGenericArgument* val4, QGenericArgument* val5) { return const_cast(self)->invoke(object, *returnValue, *val0, *val1, *val2, *val3, *val4, *val5); } bool QMetaMethod_Invoke92(QMetaMethod* self, QObject* object, QGenericReturnArgument* returnValue, QGenericArgument* val0, QGenericArgument* val1, QGenericArgument* val2, QGenericArgument* val3, QGenericArgument* val4, QGenericArgument* val5, QGenericArgument* val6) { return const_cast(self)->invoke(object, *returnValue, *val0, *val1, *val2, *val3, *val4, *val5, *val6); } bool QMetaMethod_Invoke102(QMetaMethod* self, QObject* object, QGenericReturnArgument* returnValue, QGenericArgument* val0, QGenericArgument* val1, QGenericArgument* val2, QGenericArgument* val3, QGenericArgument* val4, QGenericArgument* val5, QGenericArgument* val6, QGenericArgument* val7) { return const_cast(self)->invoke(object, *returnValue, *val0, *val1, *val2, *val3, *val4, *val5, *val6, *val7); } bool QMetaMethod_Invoke112(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 const_cast(self)->invoke(object, *returnValue, *val0, *val1, *val2, *val3, *val4, *val5, *val6, *val7, *val8); } bool QMetaMethod_Invoke122(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 const_cast(self)->invoke(object, *returnValue, *val0, *val1, *val2, *val3, *val4, *val5, *val6, *val7, *val8, *val9); } bool QMetaMethod_Invoke33(QMetaMethod* self, QObject* object, uintptr_t connectionType, QGenericArgument* val0) { return const_cast(self)->invoke(object, static_cast(connectionType), *val0); } bool QMetaMethod_Invoke43(QMetaMethod* self, QObject* object, uintptr_t connectionType, QGenericArgument* val0, QGenericArgument* val1) { return const_cast(self)->invoke(object, static_cast(connectionType), *val0, *val1); } bool QMetaMethod_Invoke53(QMetaMethod* self, QObject* object, uintptr_t connectionType, QGenericArgument* val0, QGenericArgument* val1, QGenericArgument* val2) { return const_cast(self)->invoke(object, static_cast(connectionType), *val0, *val1, *val2); } bool QMetaMethod_Invoke63(QMetaMethod* self, QObject* object, uintptr_t connectionType, QGenericArgument* val0, QGenericArgument* val1, QGenericArgument* val2, QGenericArgument* val3) { return const_cast(self)->invoke(object, static_cast(connectionType), *val0, *val1, *val2, *val3); } bool QMetaMethod_Invoke73(QMetaMethod* self, QObject* object, uintptr_t connectionType, QGenericArgument* val0, QGenericArgument* val1, QGenericArgument* val2, QGenericArgument* val3, QGenericArgument* val4) { return const_cast(self)->invoke(object, static_cast(connectionType), *val0, *val1, *val2, *val3, *val4); } bool QMetaMethod_Invoke83(QMetaMethod* self, QObject* object, uintptr_t connectionType, QGenericArgument* val0, QGenericArgument* val1, QGenericArgument* val2, QGenericArgument* val3, QGenericArgument* val4, QGenericArgument* val5) { return const_cast(self)->invoke(object, static_cast(connectionType), *val0, *val1, *val2, *val3, *val4, *val5); } bool QMetaMethod_Invoke93(QMetaMethod* self, QObject* object, uintptr_t connectionType, QGenericArgument* val0, QGenericArgument* val1, QGenericArgument* val2, QGenericArgument* val3, QGenericArgument* val4, QGenericArgument* val5, QGenericArgument* val6) { return const_cast(self)->invoke(object, static_cast(connectionType), *val0, *val1, *val2, *val3, *val4, *val5, *val6); } bool QMetaMethod_Invoke103(QMetaMethod* self, QObject* object, uintptr_t connectionType, QGenericArgument* val0, QGenericArgument* val1, QGenericArgument* val2, QGenericArgument* val3, QGenericArgument* val4, QGenericArgument* val5, QGenericArgument* val6, QGenericArgument* val7) { return const_cast(self)->invoke(object, static_cast(connectionType), *val0, *val1, *val2, *val3, *val4, *val5, *val6, *val7); } bool QMetaMethod_Invoke113(QMetaMethod* self, QObject* object, uintptr_t connectionType, QGenericArgument* val0, QGenericArgument* val1, QGenericArgument* val2, QGenericArgument* val3, QGenericArgument* val4, QGenericArgument* val5, QGenericArgument* val6, QGenericArgument* val7, QGenericArgument* val8) { return const_cast(self)->invoke(object, static_cast(connectionType), *val0, *val1, *val2, *val3, *val4, *val5, *val6, *val7, *val8); } bool QMetaMethod_Invoke123(QMetaMethod* self, QObject* object, uintptr_t connectionType, QGenericArgument* val0, QGenericArgument* val1, QGenericArgument* val2, QGenericArgument* val3, QGenericArgument* val4, QGenericArgument* val5, QGenericArgument* val6, QGenericArgument* val7, QGenericArgument* val8, QGenericArgument* val9) { return const_cast(self)->invoke(object, static_cast(connectionType), *val0, *val1, *val2, *val3, *val4, *val5, *val6, *val7, *val8, *val9); } bool QMetaMethod_Invoke22(QMetaMethod* self, QObject* object, QGenericArgument* val0) { return const_cast(self)->invoke(object, *val0); } bool QMetaMethod_Invoke34(QMetaMethod* self, QObject* object, QGenericArgument* val0, QGenericArgument* val1) { return const_cast(self)->invoke(object, *val0, *val1); } bool QMetaMethod_Invoke44(QMetaMethod* self, QObject* object, QGenericArgument* val0, QGenericArgument* val1, QGenericArgument* val2) { return const_cast(self)->invoke(object, *val0, *val1, *val2); } bool QMetaMethod_Invoke54(QMetaMethod* self, QObject* object, QGenericArgument* val0, QGenericArgument* val1, QGenericArgument* val2, QGenericArgument* val3) { return const_cast(self)->invoke(object, *val0, *val1, *val2, *val3); } bool QMetaMethod_Invoke64(QMetaMethod* self, QObject* object, QGenericArgument* val0, QGenericArgument* val1, QGenericArgument* val2, QGenericArgument* val3, QGenericArgument* val4) { return const_cast(self)->invoke(object, *val0, *val1, *val2, *val3, *val4); } bool QMetaMethod_Invoke74(QMetaMethod* self, QObject* object, QGenericArgument* val0, QGenericArgument* val1, QGenericArgument* val2, QGenericArgument* val3, QGenericArgument* val4, QGenericArgument* val5) { return const_cast(self)->invoke(object, *val0, *val1, *val2, *val3, *val4, *val5); } bool QMetaMethod_Invoke84(QMetaMethod* self, QObject* object, QGenericArgument* val0, QGenericArgument* val1, QGenericArgument* val2, QGenericArgument* val3, QGenericArgument* val4, QGenericArgument* val5, QGenericArgument* val6) { return const_cast(self)->invoke(object, *val0, *val1, *val2, *val3, *val4, *val5, *val6); } bool QMetaMethod_Invoke94(QMetaMethod* self, QObject* object, QGenericArgument* val0, QGenericArgument* val1, QGenericArgument* val2, QGenericArgument* val3, QGenericArgument* val4, QGenericArgument* val5, QGenericArgument* val6, QGenericArgument* val7) { return const_cast(self)->invoke(object, *val0, *val1, *val2, *val3, *val4, *val5, *val6, *val7); } bool QMetaMethod_Invoke104(QMetaMethod* self, QObject* object, QGenericArgument* val0, QGenericArgument* val1, QGenericArgument* val2, QGenericArgument* val3, QGenericArgument* val4, QGenericArgument* val5, QGenericArgument* val6, QGenericArgument* val7, QGenericArgument* val8) { return const_cast(self)->invoke(object, *val0, *val1, *val2, *val3, *val4, *val5, *val6, *val7, *val8); } bool QMetaMethod_Invoke114(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 const_cast(self)->invoke(object, *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(QMetaEnum* self) { return (const char*) const_cast(self)->name(); } const char* QMetaEnum_EnumName(QMetaEnum* self) { return (const char*) const_cast(self)->enumName(); } bool QMetaEnum_IsFlag(QMetaEnum* self) { return const_cast(self)->isFlag(); } bool QMetaEnum_IsScoped(QMetaEnum* self) { return const_cast(self)->isScoped(); } int QMetaEnum_KeyCount(QMetaEnum* self) { return const_cast(self)->keyCount(); } const char* QMetaEnum_Key(QMetaEnum* self, int index) { return (const char*) const_cast(self)->key(static_cast(index)); } int QMetaEnum_Value(QMetaEnum* self, int index) { return const_cast(self)->value(static_cast(index)); } const char* QMetaEnum_Scope(QMetaEnum* self) { return (const char*) const_cast(self)->scope(); } int QMetaEnum_KeyToValue(QMetaEnum* self, const char* key) { return const_cast(self)->keyToValue(key); } const char* QMetaEnum_ValueToKey(QMetaEnum* self, int value) { return (const char*) const_cast(self)->valueToKey(static_cast(value)); } int QMetaEnum_KeysToValue(QMetaEnum* self, const char* keys) { return const_cast(self)->keysToValue(keys); } QByteArray* QMetaEnum_ValueToKeys(QMetaEnum* self, int value) { QByteArray ret = const_cast(self)->valueToKeys(static_cast(value)); // Copy-construct value returned type into heap-allocated copy return static_cast(new QByteArray(ret)); } QMetaObject* QMetaEnum_EnclosingMetaObject(QMetaEnum* self) { return (QMetaObject*) const_cast(self)->enclosingMetaObject(); } bool QMetaEnum_IsValid(QMetaEnum* self) { return const_cast(self)->isValid(); } int QMetaEnum_KeyToValue2(QMetaEnum* self, const char* key, bool* ok) { return const_cast(self)->keyToValue(key, ok); } int QMetaEnum_KeysToValue2(QMetaEnum* self, const char* keys, bool* ok) { return const_cast(self)->keysToValue(keys, ok); } void QMetaEnum_Delete(QMetaEnum* self) { delete self; } QMetaProperty* QMetaProperty_new() { return new QMetaProperty(); } const char* QMetaProperty_Name(QMetaProperty* self) { return (const char*) const_cast(self)->name(); } const char* QMetaProperty_TypeName(QMetaProperty* self) { return (const char*) const_cast(self)->typeName(); } uintptr_t QMetaProperty_Type(QMetaProperty* self) { QVariant::Type ret = const_cast(self)->type(); return static_cast(ret); } int QMetaProperty_UserType(QMetaProperty* self) { return const_cast(self)->userType(); } int QMetaProperty_PropertyIndex(QMetaProperty* self) { return const_cast(self)->propertyIndex(); } int QMetaProperty_RelativePropertyIndex(QMetaProperty* self) { return const_cast(self)->relativePropertyIndex(); } bool QMetaProperty_IsReadable(QMetaProperty* self) { return const_cast(self)->isReadable(); } bool QMetaProperty_IsWritable(QMetaProperty* self) { return const_cast(self)->isWritable(); } bool QMetaProperty_IsResettable(QMetaProperty* self) { return const_cast(self)->isResettable(); } bool QMetaProperty_IsDesignable(QMetaProperty* self) { return const_cast(self)->isDesignable(); } bool QMetaProperty_IsScriptable(QMetaProperty* self) { return const_cast(self)->isScriptable(); } bool QMetaProperty_IsStored(QMetaProperty* self) { return const_cast(self)->isStored(); } bool QMetaProperty_IsEditable(QMetaProperty* self) { return const_cast(self)->isEditable(); } bool QMetaProperty_IsUser(QMetaProperty* self) { return const_cast(self)->isUser(); } bool QMetaProperty_IsConstant(QMetaProperty* self) { return const_cast(self)->isConstant(); } bool QMetaProperty_IsFinal(QMetaProperty* self) { return const_cast(self)->isFinal(); } bool QMetaProperty_IsRequired(QMetaProperty* self) { return const_cast(self)->isRequired(); } bool QMetaProperty_IsFlagType(QMetaProperty* self) { return const_cast(self)->isFlagType(); } bool QMetaProperty_IsEnumType(QMetaProperty* self) { return const_cast(self)->isEnumType(); } QMetaEnum* QMetaProperty_Enumerator(QMetaProperty* self) { QMetaEnum ret = const_cast(self)->enumerator(); // Copy-construct value returned type into heap-allocated copy return static_cast(new QMetaEnum(ret)); } bool QMetaProperty_HasNotifySignal(QMetaProperty* self) { return const_cast(self)->hasNotifySignal(); } QMetaMethod* QMetaProperty_NotifySignal(QMetaProperty* self) { QMetaMethod ret = const_cast(self)->notifySignal(); // Copy-construct value returned type into heap-allocated copy return static_cast(new QMetaMethod(ret)); } int QMetaProperty_NotifySignalIndex(QMetaProperty* self) { return const_cast(self)->notifySignalIndex(); } int QMetaProperty_Revision(QMetaProperty* self) { return const_cast(self)->revision(); } QVariant* QMetaProperty_Read(QMetaProperty* self, QObject* obj) { QVariant ret = const_cast(self)->read(obj); // Copy-construct value returned type into heap-allocated copy return static_cast(new QVariant(ret)); } bool QMetaProperty_Write(QMetaProperty* self, QObject* obj, QVariant* value) { return const_cast(self)->write(obj, *value); } bool QMetaProperty_Reset(QMetaProperty* self, QObject* obj) { return const_cast(self)->reset(obj); } bool QMetaProperty_HasStdCppSet(QMetaProperty* self) { return const_cast(self)->hasStdCppSet(); } bool QMetaProperty_IsValid(QMetaProperty* self) { return const_cast(self)->isValid(); } QMetaObject* QMetaProperty_EnclosingMetaObject(QMetaProperty* self) { return (QMetaObject*) const_cast(self)->enclosingMetaObject(); } bool QMetaProperty_IsDesignable1(QMetaProperty* self, QObject* obj) { return const_cast(self)->isDesignable(obj); } bool QMetaProperty_IsScriptable1(QMetaProperty* self, QObject* obj) { return const_cast(self)->isScriptable(obj); } bool QMetaProperty_IsStored1(QMetaProperty* self, QObject* obj) { return const_cast(self)->isStored(obj); } bool QMetaProperty_IsEditable1(QMetaProperty* self, QObject* obj) { return const_cast(self)->isEditable(obj); } bool QMetaProperty_IsUser1(QMetaProperty* self, QObject* obj) { return const_cast(self)->isUser(obj); } void QMetaProperty_Delete(QMetaProperty* self) { delete self; } QMetaClassInfo* QMetaClassInfo_new() { return new QMetaClassInfo(); } const char* QMetaClassInfo_Name(QMetaClassInfo* self) { return (const char*) const_cast(self)->name(); } const char* QMetaClassInfo_Value(QMetaClassInfo* self) { return (const char*) const_cast(self)->value(); } QMetaObject* QMetaClassInfo_EnclosingMetaObject(QMetaClassInfo* self) { return (QMetaObject*) const_cast(self)->enclosingMetaObject(); } void QMetaClassInfo_Delete(QMetaClassInfo* self) { delete self; }