package qt /* #cgo CFLAGS: -fPIC #cgo pkg-config: Qt5Widgets #include "gen_qobjectdefs.h" #include */ import "C" import ( "runtime" "unsafe" ) type QGenericArgument struct { h *C.QGenericArgument } func (this *QGenericArgument) cPointer() *C.QGenericArgument { if this == nil { return nil } return this.h } func newQGenericArgument(h *C.QGenericArgument) *QGenericArgument { return &QGenericArgument{h: h} } func newQGenericArgument_U(h unsafe.Pointer) *QGenericArgument { return newQGenericArgument((*C.QGenericArgument)(h)) } // NewQGenericArgument constructs a new QGenericArgument object. func NewQGenericArgument(param1 *QGenericArgument) *QGenericArgument { ret := C.QGenericArgument_new(param1.cPointer()) return newQGenericArgument(ret) } func (this *QGenericArgument) Name() unsafe.Pointer { ret := C.QGenericArgument_Name(this.h) return (unsafe.Pointer)(ret) } func (this *QGenericArgument) Delete() { C.QGenericArgument_Delete(this.h) } type QGenericReturnArgument struct { h *C.QGenericReturnArgument *QGenericArgument } func (this *QGenericReturnArgument) cPointer() *C.QGenericReturnArgument { if this == nil { return nil } return this.h } func newQGenericReturnArgument(h *C.QGenericReturnArgument) *QGenericReturnArgument { return &QGenericReturnArgument{h: h, QGenericArgument: newQGenericArgument_U(unsafe.Pointer(h))} } func newQGenericReturnArgument_U(h unsafe.Pointer) *QGenericReturnArgument { return newQGenericReturnArgument((*C.QGenericReturnArgument)(h)) } // NewQGenericReturnArgument constructs a new QGenericReturnArgument object. func NewQGenericReturnArgument(param1 *QGenericReturnArgument) *QGenericReturnArgument { ret := C.QGenericReturnArgument_new(param1.cPointer()) return newQGenericReturnArgument(ret) } func (this *QGenericReturnArgument) Delete() { C.QGenericReturnArgument_Delete(this.h) } type QMetaObject struct { h *C.QMetaObject } func (this *QMetaObject) cPointer() *C.QMetaObject { if this == nil { return nil } return this.h } func newQMetaObject(h *C.QMetaObject) *QMetaObject { return &QMetaObject{h: h} } func newQMetaObject_U(h unsafe.Pointer) *QMetaObject { return newQMetaObject((*C.QMetaObject)(h)) } // NewQMetaObject constructs a new QMetaObject object. func NewQMetaObject() *QMetaObject { ret := C.QMetaObject_new() return newQMetaObject(ret) } // NewQMetaObject2 constructs a new QMetaObject object. func NewQMetaObject2(param1 *QMetaObject) *QMetaObject { ret := C.QMetaObject_new2(param1.cPointer()) return newQMetaObject(ret) } func (this *QMetaObject) ClassName() unsafe.Pointer { ret := C.QMetaObject_ClassName(this.h) return (unsafe.Pointer)(ret) } func (this *QMetaObject) SuperClass() *QMetaObject { ret := C.QMetaObject_SuperClass(this.h) return newQMetaObject_U(unsafe.Pointer(ret)) } func (this *QMetaObject) Inherits(metaObject *QMetaObject) bool { ret := C.QMetaObject_Inherits(this.h, metaObject.cPointer()) return (bool)(ret) } func (this *QMetaObject) Cast(obj *QObject) *QObject { ret := C.QMetaObject_Cast(this.h, obj.cPointer()) return newQObject_U(unsafe.Pointer(ret)) } func (this *QMetaObject) CastWithObj(obj *QObject) *QObject { ret := C.QMetaObject_CastWithObj(this.h, obj.cPointer()) return newQObject_U(unsafe.Pointer(ret)) } func (this *QMetaObject) Tr(s string, c string) string { s_Cstring := C.CString(s) defer C.free(unsafe.Pointer(s_Cstring)) c_Cstring := C.CString(c) defer C.free(unsafe.Pointer(c_Cstring)) var _out *C.char = nil var _out_Strlen C.int = 0 C.QMetaObject_Tr(this.h, s_Cstring, c_Cstring, &_out, &_out_Strlen) ret := C.GoStringN(_out, _out_Strlen) C.free(unsafe.Pointer(_out)) return ret } func (this *QMetaObject) MethodOffset() int { ret := C.QMetaObject_MethodOffset(this.h) return (int)(ret) } func (this *QMetaObject) EnumeratorOffset() int { ret := C.QMetaObject_EnumeratorOffset(this.h) return (int)(ret) } func (this *QMetaObject) PropertyOffset() int { ret := C.QMetaObject_PropertyOffset(this.h) return (int)(ret) } func (this *QMetaObject) ClassInfoOffset() int { ret := C.QMetaObject_ClassInfoOffset(this.h) return (int)(ret) } func (this *QMetaObject) ConstructorCount() int { ret := C.QMetaObject_ConstructorCount(this.h) return (int)(ret) } func (this *QMetaObject) MethodCount() int { ret := C.QMetaObject_MethodCount(this.h) return (int)(ret) } func (this *QMetaObject) EnumeratorCount() int { ret := C.QMetaObject_EnumeratorCount(this.h) return (int)(ret) } func (this *QMetaObject) PropertyCount() int { ret := C.QMetaObject_PropertyCount(this.h) return (int)(ret) } func (this *QMetaObject) ClassInfoCount() int { ret := C.QMetaObject_ClassInfoCount(this.h) return (int)(ret) } func (this *QMetaObject) IndexOfConstructor(constructor string) int { constructor_Cstring := C.CString(constructor) defer C.free(unsafe.Pointer(constructor_Cstring)) ret := C.QMetaObject_IndexOfConstructor(this.h, constructor_Cstring) return (int)(ret) } func (this *QMetaObject) IndexOfMethod(method string) int { method_Cstring := C.CString(method) defer C.free(unsafe.Pointer(method_Cstring)) ret := C.QMetaObject_IndexOfMethod(this.h, method_Cstring) return (int)(ret) } func (this *QMetaObject) IndexOfSignal(signal string) int { signal_Cstring := C.CString(signal) defer C.free(unsafe.Pointer(signal_Cstring)) ret := C.QMetaObject_IndexOfSignal(this.h, signal_Cstring) return (int)(ret) } func (this *QMetaObject) IndexOfSlot(slot string) int { slot_Cstring := C.CString(slot) defer C.free(unsafe.Pointer(slot_Cstring)) ret := C.QMetaObject_IndexOfSlot(this.h, slot_Cstring) return (int)(ret) } func (this *QMetaObject) IndexOfEnumerator(name string) int { name_Cstring := C.CString(name) defer C.free(unsafe.Pointer(name_Cstring)) ret := C.QMetaObject_IndexOfEnumerator(this.h, name_Cstring) return (int)(ret) } func (this *QMetaObject) IndexOfProperty(name string) int { name_Cstring := C.CString(name) defer C.free(unsafe.Pointer(name_Cstring)) ret := C.QMetaObject_IndexOfProperty(this.h, name_Cstring) return (int)(ret) } func (this *QMetaObject) IndexOfClassInfo(name string) int { name_Cstring := C.CString(name) defer C.free(unsafe.Pointer(name_Cstring)) ret := C.QMetaObject_IndexOfClassInfo(this.h, name_Cstring) return (int)(ret) } func (this *QMetaObject) Constructor(index int) *QMetaMethod { ret := C.QMetaObject_Constructor(this.h, (C.int)(index)) // Qt uses pass-by-value semantics for this type. Mimic with finalizer ret1 := newQMetaMethod(ret) runtime.SetFinalizer(ret1, func(ret2 *QMetaMethod) { ret2.Delete() runtime.KeepAlive(ret2.h) }) return ret1 } func (this *QMetaObject) Method(index int) *QMetaMethod { ret := C.QMetaObject_Method(this.h, (C.int)(index)) // Qt uses pass-by-value semantics for this type. Mimic with finalizer ret1 := newQMetaMethod(ret) runtime.SetFinalizer(ret1, func(ret2 *QMetaMethod) { ret2.Delete() runtime.KeepAlive(ret2.h) }) return ret1 } func (this *QMetaObject) Enumerator(index int) *QMetaEnum { ret := C.QMetaObject_Enumerator(this.h, (C.int)(index)) // Qt uses pass-by-value semantics for this type. Mimic with finalizer ret1 := newQMetaEnum(ret) runtime.SetFinalizer(ret1, func(ret2 *QMetaEnum) { ret2.Delete() runtime.KeepAlive(ret2.h) }) return ret1 } func (this *QMetaObject) Property(index int) *QMetaProperty { ret := C.QMetaObject_Property(this.h, (C.int)(index)) // Qt uses pass-by-value semantics for this type. Mimic with finalizer ret1 := newQMetaProperty(ret) runtime.SetFinalizer(ret1, func(ret2 *QMetaProperty) { ret2.Delete() runtime.KeepAlive(ret2.h) }) return ret1 } func (this *QMetaObject) ClassInfo(index int) *QMetaClassInfo { ret := C.QMetaObject_ClassInfo(this.h, (C.int)(index)) // Qt uses pass-by-value semantics for this type. Mimic with finalizer ret1 := newQMetaClassInfo(ret) runtime.SetFinalizer(ret1, func(ret2 *QMetaClassInfo) { ret2.Delete() runtime.KeepAlive(ret2.h) }) return ret1 } func (this *QMetaObject) UserProperty() *QMetaProperty { ret := C.QMetaObject_UserProperty(this.h) // Qt uses pass-by-value semantics for this type. Mimic with finalizer ret1 := newQMetaProperty(ret) runtime.SetFinalizer(ret1, func(ret2 *QMetaProperty) { ret2.Delete() runtime.KeepAlive(ret2.h) }) return ret1 } func QMetaObject_CheckConnectArgs(signal string, method string) bool { signal_Cstring := C.CString(signal) defer C.free(unsafe.Pointer(signal_Cstring)) method_Cstring := C.CString(method) defer C.free(unsafe.Pointer(method_Cstring)) ret := C.QMetaObject_CheckConnectArgs(signal_Cstring, method_Cstring) return (bool)(ret) } func QMetaObject_CheckConnectArgs2(signal *QMetaMethod, method *QMetaMethod) bool { ret := C.QMetaObject_CheckConnectArgs2(signal.cPointer(), method.cPointer()) return (bool)(ret) } func QMetaObject_NormalizedSignature(method string) *QByteArray { method_Cstring := C.CString(method) defer C.free(unsafe.Pointer(method_Cstring)) ret := C.QMetaObject_NormalizedSignature(method_Cstring) // Qt uses pass-by-value semantics for this type. Mimic with finalizer ret1 := newQByteArray(ret) runtime.SetFinalizer(ret1, func(ret2 *QByteArray) { ret2.Delete() runtime.KeepAlive(ret2.h) }) return ret1 } func QMetaObject_NormalizedType(typeVal string) *QByteArray { typeVal_Cstring := C.CString(typeVal) defer C.free(unsafe.Pointer(typeVal_Cstring)) ret := C.QMetaObject_NormalizedType(typeVal_Cstring) // Qt uses pass-by-value semantics for this type. Mimic with finalizer ret1 := newQByteArray(ret) runtime.SetFinalizer(ret1, func(ret2 *QByteArray) { ret2.Delete() runtime.KeepAlive(ret2.h) }) return ret1 } func QMetaObject_Disconnect(sender *QObject, signal_index int, receiver *QObject, method_index int) bool { ret := C.QMetaObject_Disconnect(sender.cPointer(), (C.int)(signal_index), receiver.cPointer(), (C.int)(method_index)) return (bool)(ret) } func QMetaObject_DisconnectOne(sender *QObject, signal_index int, receiver *QObject, method_index int) bool { ret := C.QMetaObject_DisconnectOne(sender.cPointer(), (C.int)(signal_index), receiver.cPointer(), (C.int)(method_index)) return (bool)(ret) } func QMetaObject_ConnectSlotsByName(o *QObject) { C.QMetaObject_ConnectSlotsByName(o.cPointer()) } func QMetaObject_InvokeMethod(obj *QObject, member string, retVal QGenericReturnArgument) bool { member_Cstring := C.CString(member) defer C.free(unsafe.Pointer(member_Cstring)) ret := C.QMetaObject_InvokeMethod(obj.cPointer(), member_Cstring, retVal.cPointer()) return (bool)(ret) } func QMetaObject_InvokeMethod2(obj *QObject, member string) bool { member_Cstring := C.CString(member) defer C.free(unsafe.Pointer(member_Cstring)) ret := C.QMetaObject_InvokeMethod2(obj.cPointer(), member_Cstring) return (bool)(ret) } func (this *QMetaObject) NewInstance() *QObject { ret := C.QMetaObject_NewInstance(this.h) return newQObject_U(unsafe.Pointer(ret)) } func (this *QMetaObject) Tr3(s string, c string, n int) string { s_Cstring := C.CString(s) defer C.free(unsafe.Pointer(s_Cstring)) c_Cstring := C.CString(c) defer C.free(unsafe.Pointer(c_Cstring)) var _out *C.char = nil var _out_Strlen C.int = 0 C.QMetaObject_Tr3(this.h, s_Cstring, c_Cstring, (C.int)(n), &_out, &_out_Strlen) ret := C.GoStringN(_out, _out_Strlen) C.free(unsafe.Pointer(_out)) return ret } func QMetaObject_InvokeMethod4(obj *QObject, member string, retVal QGenericReturnArgument, val0 QGenericArgument) bool { member_Cstring := C.CString(member) defer C.free(unsafe.Pointer(member_Cstring)) ret := C.QMetaObject_InvokeMethod4(obj.cPointer(), member_Cstring, retVal.cPointer(), val0.cPointer()) return (bool)(ret) } func QMetaObject_InvokeMethod5(obj *QObject, member string, retVal QGenericReturnArgument, val0 QGenericArgument, val1 QGenericArgument) bool { member_Cstring := C.CString(member) defer C.free(unsafe.Pointer(member_Cstring)) ret := C.QMetaObject_InvokeMethod5(obj.cPointer(), member_Cstring, retVal.cPointer(), val0.cPointer(), val1.cPointer()) return (bool)(ret) } func QMetaObject_InvokeMethod6(obj *QObject, member string, retVal QGenericReturnArgument, val0 QGenericArgument, val1 QGenericArgument, val2 QGenericArgument) bool { member_Cstring := C.CString(member) defer C.free(unsafe.Pointer(member_Cstring)) ret := C.QMetaObject_InvokeMethod6(obj.cPointer(), member_Cstring, retVal.cPointer(), val0.cPointer(), val1.cPointer(), val2.cPointer()) return (bool)(ret) } func QMetaObject_InvokeMethod7(obj *QObject, member string, retVal QGenericReturnArgument, val0 QGenericArgument, val1 QGenericArgument, val2 QGenericArgument, val3 QGenericArgument) bool { member_Cstring := C.CString(member) defer C.free(unsafe.Pointer(member_Cstring)) ret := C.QMetaObject_InvokeMethod7(obj.cPointer(), member_Cstring, retVal.cPointer(), val0.cPointer(), val1.cPointer(), val2.cPointer(), val3.cPointer()) return (bool)(ret) } func QMetaObject_InvokeMethod8(obj *QObject, member string, retVal QGenericReturnArgument, val0 QGenericArgument, val1 QGenericArgument, val2 QGenericArgument, val3 QGenericArgument, val4 QGenericArgument) bool { member_Cstring := C.CString(member) defer C.free(unsafe.Pointer(member_Cstring)) ret := C.QMetaObject_InvokeMethod8(obj.cPointer(), member_Cstring, retVal.cPointer(), val0.cPointer(), val1.cPointer(), val2.cPointer(), val3.cPointer(), val4.cPointer()) return (bool)(ret) } func QMetaObject_InvokeMethod9(obj *QObject, member string, retVal QGenericReturnArgument, val0 QGenericArgument, val1 QGenericArgument, val2 QGenericArgument, val3 QGenericArgument, val4 QGenericArgument, val5 QGenericArgument) bool { member_Cstring := C.CString(member) defer C.free(unsafe.Pointer(member_Cstring)) ret := C.QMetaObject_InvokeMethod9(obj.cPointer(), member_Cstring, retVal.cPointer(), val0.cPointer(), val1.cPointer(), val2.cPointer(), val3.cPointer(), val4.cPointer(), val5.cPointer()) return (bool)(ret) } func QMetaObject_InvokeMethod10(obj *QObject, member string, retVal QGenericReturnArgument, val0 QGenericArgument, val1 QGenericArgument, val2 QGenericArgument, val3 QGenericArgument, val4 QGenericArgument, val5 QGenericArgument, val6 QGenericArgument) bool { member_Cstring := C.CString(member) defer C.free(unsafe.Pointer(member_Cstring)) ret := C.QMetaObject_InvokeMethod10(obj.cPointer(), member_Cstring, retVal.cPointer(), val0.cPointer(), val1.cPointer(), val2.cPointer(), val3.cPointer(), val4.cPointer(), val5.cPointer(), val6.cPointer()) return (bool)(ret) } func QMetaObject_InvokeMethod11(obj *QObject, member string, retVal QGenericReturnArgument, val0 QGenericArgument, val1 QGenericArgument, val2 QGenericArgument, val3 QGenericArgument, val4 QGenericArgument, val5 QGenericArgument, val6 QGenericArgument, val7 QGenericArgument) bool { member_Cstring := C.CString(member) defer C.free(unsafe.Pointer(member_Cstring)) ret := C.QMetaObject_InvokeMethod11(obj.cPointer(), member_Cstring, retVal.cPointer(), val0.cPointer(), val1.cPointer(), val2.cPointer(), val3.cPointer(), val4.cPointer(), val5.cPointer(), val6.cPointer(), val7.cPointer()) return (bool)(ret) } func QMetaObject_InvokeMethod12(obj *QObject, member string, retVal QGenericReturnArgument, val0 QGenericArgument, val1 QGenericArgument, val2 QGenericArgument, val3 QGenericArgument, val4 QGenericArgument, val5 QGenericArgument, val6 QGenericArgument, val7 QGenericArgument, val8 QGenericArgument) bool { member_Cstring := C.CString(member) defer C.free(unsafe.Pointer(member_Cstring)) ret := C.QMetaObject_InvokeMethod12(obj.cPointer(), member_Cstring, retVal.cPointer(), val0.cPointer(), val1.cPointer(), val2.cPointer(), val3.cPointer(), val4.cPointer(), val5.cPointer(), val6.cPointer(), val7.cPointer(), val8.cPointer()) return (bool)(ret) } func QMetaObject_InvokeMethod13(obj *QObject, member string, retVal QGenericReturnArgument, val0 QGenericArgument, val1 QGenericArgument, val2 QGenericArgument, val3 QGenericArgument, val4 QGenericArgument, val5 QGenericArgument, val6 QGenericArgument, val7 QGenericArgument, val8 QGenericArgument, val9 QGenericArgument) bool { member_Cstring := C.CString(member) defer C.free(unsafe.Pointer(member_Cstring)) ret := C.QMetaObject_InvokeMethod13(obj.cPointer(), member_Cstring, retVal.cPointer(), val0.cPointer(), val1.cPointer(), val2.cPointer(), val3.cPointer(), val4.cPointer(), val5.cPointer(), val6.cPointer(), val7.cPointer(), val8.cPointer(), val9.cPointer()) return (bool)(ret) } func QMetaObject_InvokeMethod3(obj *QObject, member string, val0 QGenericArgument) bool { member_Cstring := C.CString(member) defer C.free(unsafe.Pointer(member_Cstring)) ret := C.QMetaObject_InvokeMethod3(obj.cPointer(), member_Cstring, val0.cPointer()) return (bool)(ret) } func QMetaObject_InvokeMethod42(obj *QObject, member string, val0 QGenericArgument, val1 QGenericArgument) bool { member_Cstring := C.CString(member) defer C.free(unsafe.Pointer(member_Cstring)) ret := C.QMetaObject_InvokeMethod42(obj.cPointer(), member_Cstring, val0.cPointer(), val1.cPointer()) return (bool)(ret) } func QMetaObject_InvokeMethod52(obj *QObject, member string, val0 QGenericArgument, val1 QGenericArgument, val2 QGenericArgument) bool { member_Cstring := C.CString(member) defer C.free(unsafe.Pointer(member_Cstring)) ret := C.QMetaObject_InvokeMethod52(obj.cPointer(), member_Cstring, val0.cPointer(), val1.cPointer(), val2.cPointer()) return (bool)(ret) } func QMetaObject_InvokeMethod62(obj *QObject, member string, val0 QGenericArgument, val1 QGenericArgument, val2 QGenericArgument, val3 QGenericArgument) bool { member_Cstring := C.CString(member) defer C.free(unsafe.Pointer(member_Cstring)) ret := C.QMetaObject_InvokeMethod62(obj.cPointer(), member_Cstring, val0.cPointer(), val1.cPointer(), val2.cPointer(), val3.cPointer()) return (bool)(ret) } func QMetaObject_InvokeMethod72(obj *QObject, member string, val0 QGenericArgument, val1 QGenericArgument, val2 QGenericArgument, val3 QGenericArgument, val4 QGenericArgument) bool { member_Cstring := C.CString(member) defer C.free(unsafe.Pointer(member_Cstring)) ret := C.QMetaObject_InvokeMethod72(obj.cPointer(), member_Cstring, val0.cPointer(), val1.cPointer(), val2.cPointer(), val3.cPointer(), val4.cPointer()) return (bool)(ret) } func QMetaObject_InvokeMethod82(obj *QObject, member string, val0 QGenericArgument, val1 QGenericArgument, val2 QGenericArgument, val3 QGenericArgument, val4 QGenericArgument, val5 QGenericArgument) bool { member_Cstring := C.CString(member) defer C.free(unsafe.Pointer(member_Cstring)) ret := C.QMetaObject_InvokeMethod82(obj.cPointer(), member_Cstring, val0.cPointer(), val1.cPointer(), val2.cPointer(), val3.cPointer(), val4.cPointer(), val5.cPointer()) return (bool)(ret) } func QMetaObject_InvokeMethod92(obj *QObject, member string, val0 QGenericArgument, val1 QGenericArgument, val2 QGenericArgument, val3 QGenericArgument, val4 QGenericArgument, val5 QGenericArgument, val6 QGenericArgument) bool { member_Cstring := C.CString(member) defer C.free(unsafe.Pointer(member_Cstring)) ret := C.QMetaObject_InvokeMethod92(obj.cPointer(), member_Cstring, val0.cPointer(), val1.cPointer(), val2.cPointer(), val3.cPointer(), val4.cPointer(), val5.cPointer(), val6.cPointer()) return (bool)(ret) } func QMetaObject_InvokeMethod102(obj *QObject, member string, val0 QGenericArgument, val1 QGenericArgument, val2 QGenericArgument, val3 QGenericArgument, val4 QGenericArgument, val5 QGenericArgument, val6 QGenericArgument, val7 QGenericArgument) bool { member_Cstring := C.CString(member) defer C.free(unsafe.Pointer(member_Cstring)) ret := C.QMetaObject_InvokeMethod102(obj.cPointer(), member_Cstring, val0.cPointer(), val1.cPointer(), val2.cPointer(), val3.cPointer(), val4.cPointer(), val5.cPointer(), val6.cPointer(), val7.cPointer()) return (bool)(ret) } func QMetaObject_InvokeMethod112(obj *QObject, member string, val0 QGenericArgument, val1 QGenericArgument, val2 QGenericArgument, val3 QGenericArgument, val4 QGenericArgument, val5 QGenericArgument, val6 QGenericArgument, val7 QGenericArgument, val8 QGenericArgument) bool { member_Cstring := C.CString(member) defer C.free(unsafe.Pointer(member_Cstring)) ret := C.QMetaObject_InvokeMethod112(obj.cPointer(), member_Cstring, val0.cPointer(), val1.cPointer(), val2.cPointer(), val3.cPointer(), val4.cPointer(), val5.cPointer(), val6.cPointer(), val7.cPointer(), val8.cPointer()) return (bool)(ret) } func QMetaObject_InvokeMethod122(obj *QObject, member string, val0 QGenericArgument, val1 QGenericArgument, val2 QGenericArgument, val3 QGenericArgument, val4 QGenericArgument, val5 QGenericArgument, val6 QGenericArgument, val7 QGenericArgument, val8 QGenericArgument, val9 QGenericArgument) bool { member_Cstring := C.CString(member) defer C.free(unsafe.Pointer(member_Cstring)) ret := C.QMetaObject_InvokeMethod122(obj.cPointer(), member_Cstring, val0.cPointer(), val1.cPointer(), val2.cPointer(), val3.cPointer(), val4.cPointer(), val5.cPointer(), val6.cPointer(), val7.cPointer(), val8.cPointer(), val9.cPointer()) return (bool)(ret) } func (this *QMetaObject) NewInstance1(val0 QGenericArgument) *QObject { ret := C.QMetaObject_NewInstance1(this.h, val0.cPointer()) return newQObject_U(unsafe.Pointer(ret)) } func (this *QMetaObject) NewInstance2(val0 QGenericArgument, val1 QGenericArgument) *QObject { ret := C.QMetaObject_NewInstance2(this.h, val0.cPointer(), val1.cPointer()) return newQObject_U(unsafe.Pointer(ret)) } func (this *QMetaObject) NewInstance3(val0 QGenericArgument, val1 QGenericArgument, val2 QGenericArgument) *QObject { ret := C.QMetaObject_NewInstance3(this.h, val0.cPointer(), val1.cPointer(), val2.cPointer()) return newQObject_U(unsafe.Pointer(ret)) } func (this *QMetaObject) NewInstance4(val0 QGenericArgument, val1 QGenericArgument, val2 QGenericArgument, val3 QGenericArgument) *QObject { ret := C.QMetaObject_NewInstance4(this.h, val0.cPointer(), val1.cPointer(), val2.cPointer(), val3.cPointer()) return newQObject_U(unsafe.Pointer(ret)) } func (this *QMetaObject) NewInstance5(val0 QGenericArgument, val1 QGenericArgument, val2 QGenericArgument, val3 QGenericArgument, val4 QGenericArgument) *QObject { ret := C.QMetaObject_NewInstance5(this.h, val0.cPointer(), val1.cPointer(), val2.cPointer(), val3.cPointer(), val4.cPointer()) return newQObject_U(unsafe.Pointer(ret)) } func (this *QMetaObject) NewInstance6(val0 QGenericArgument, val1 QGenericArgument, val2 QGenericArgument, val3 QGenericArgument, val4 QGenericArgument, val5 QGenericArgument) *QObject { ret := C.QMetaObject_NewInstance6(this.h, val0.cPointer(), val1.cPointer(), val2.cPointer(), val3.cPointer(), val4.cPointer(), val5.cPointer()) return newQObject_U(unsafe.Pointer(ret)) } func (this *QMetaObject) NewInstance7(val0 QGenericArgument, val1 QGenericArgument, val2 QGenericArgument, val3 QGenericArgument, val4 QGenericArgument, val5 QGenericArgument, val6 QGenericArgument) *QObject { ret := C.QMetaObject_NewInstance7(this.h, val0.cPointer(), val1.cPointer(), val2.cPointer(), val3.cPointer(), val4.cPointer(), val5.cPointer(), val6.cPointer()) return newQObject_U(unsafe.Pointer(ret)) } func (this *QMetaObject) NewInstance8(val0 QGenericArgument, val1 QGenericArgument, val2 QGenericArgument, val3 QGenericArgument, val4 QGenericArgument, val5 QGenericArgument, val6 QGenericArgument, val7 QGenericArgument) *QObject { ret := C.QMetaObject_NewInstance8(this.h, val0.cPointer(), val1.cPointer(), val2.cPointer(), val3.cPointer(), val4.cPointer(), val5.cPointer(), val6.cPointer(), val7.cPointer()) return newQObject_U(unsafe.Pointer(ret)) } func (this *QMetaObject) NewInstance9(val0 QGenericArgument, val1 QGenericArgument, val2 QGenericArgument, val3 QGenericArgument, val4 QGenericArgument, val5 QGenericArgument, val6 QGenericArgument, val7 QGenericArgument, val8 QGenericArgument) *QObject { ret := C.QMetaObject_NewInstance9(this.h, val0.cPointer(), val1.cPointer(), val2.cPointer(), val3.cPointer(), val4.cPointer(), val5.cPointer(), val6.cPointer(), val7.cPointer(), val8.cPointer()) return newQObject_U(unsafe.Pointer(ret)) } func (this *QMetaObject) NewInstance10(val0 QGenericArgument, val1 QGenericArgument, val2 QGenericArgument, val3 QGenericArgument, val4 QGenericArgument, val5 QGenericArgument, val6 QGenericArgument, val7 QGenericArgument, val8 QGenericArgument, val9 QGenericArgument) *QObject { ret := C.QMetaObject_NewInstance10(this.h, val0.cPointer(), val1.cPointer(), val2.cPointer(), val3.cPointer(), val4.cPointer(), val5.cPointer(), val6.cPointer(), val7.cPointer(), val8.cPointer(), val9.cPointer()) return newQObject_U(unsafe.Pointer(ret)) } func (this *QMetaObject) Delete() { C.QMetaObject_Delete(this.h) }