miqt/qt/gen_qmetatype.go

753 lines
28 KiB
Go
Raw Normal View History

package qt
/*
#include "gen_qmetatype.h"
#include <stdlib.h>
*/
import "C"
import (
2024-08-29 07:01:51 +00:00
"runtime"
"unsafe"
)
2024-09-04 06:54:22 +00:00
type QtMetaTypePrivate__IteratorCapability int
const (
2024-09-20 07:13:26 +00:00
QtMetaTypePrivate__ForwardCapability QtMetaTypePrivate__IteratorCapability = 1
QtMetaTypePrivate__BiDirectionalCapability QtMetaTypePrivate__IteratorCapability = 2
QtMetaTypePrivate__RandomAccessCapability QtMetaTypePrivate__IteratorCapability = 4
2024-09-04 06:54:22 +00:00
)
type QtMetaTypePrivate__ContainerCapability int
const (
2024-09-20 07:13:26 +00:00
QtMetaTypePrivate__ContainerIsAppendable QtMetaTypePrivate__ContainerCapability = 1
2024-09-04 06:54:22 +00:00
)
type QMetaType__Type int
const (
2024-09-20 07:13:26 +00:00
QMetaType__Void QMetaType__Type = 43
QMetaType__Bool QMetaType__Type = 1
QMetaType__Int QMetaType__Type = 2
QMetaType__UInt QMetaType__Type = 3
QMetaType__LongLong QMetaType__Type = 4
QMetaType__ULongLong QMetaType__Type = 5
QMetaType__Double QMetaType__Type = 6
QMetaType__Long QMetaType__Type = 32
QMetaType__Short QMetaType__Type = 33
QMetaType__Char QMetaType__Type = 34
QMetaType__ULong QMetaType__Type = 35
QMetaType__UShort QMetaType__Type = 36
QMetaType__UChar QMetaType__Type = 37
QMetaType__Float QMetaType__Type = 38
QMetaType__SChar QMetaType__Type = 40
QMetaType__Nullptr QMetaType__Type = 51
QMetaType__QCborSimpleType QMetaType__Type = 52
QMetaType__VoidStar QMetaType__Type = 31
QMetaType__QChar QMetaType__Type = 7
QMetaType__QString QMetaType__Type = 10
QMetaType__QStringList QMetaType__Type = 11
QMetaType__QByteArray QMetaType__Type = 12
QMetaType__QBitArray QMetaType__Type = 13
QMetaType__QDate QMetaType__Type = 14
QMetaType__QTime QMetaType__Type = 15
QMetaType__QDateTime QMetaType__Type = 16
QMetaType__QUrl QMetaType__Type = 17
QMetaType__QLocale QMetaType__Type = 18
QMetaType__QRect QMetaType__Type = 19
QMetaType__QRectF QMetaType__Type = 20
QMetaType__QSize QMetaType__Type = 21
QMetaType__QSizeF QMetaType__Type = 22
QMetaType__QLine QMetaType__Type = 23
QMetaType__QLineF QMetaType__Type = 24
QMetaType__QPoint QMetaType__Type = 25
QMetaType__QPointF QMetaType__Type = 26
QMetaType__QRegExp QMetaType__Type = 27
QMetaType__QEasingCurve QMetaType__Type = 29
QMetaType__QUuid QMetaType__Type = 30
QMetaType__QVariant QMetaType__Type = 41
QMetaType__QRegularExpression QMetaType__Type = 44
QMetaType__QJsonValue QMetaType__Type = 45
QMetaType__QJsonObject QMetaType__Type = 46
QMetaType__QJsonArray QMetaType__Type = 47
QMetaType__QJsonDocument QMetaType__Type = 48
QMetaType__QCborValue QMetaType__Type = 53
QMetaType__QCborArray QMetaType__Type = 54
QMetaType__QCborMap QMetaType__Type = 55
QMetaType__QModelIndex QMetaType__Type = 42
QMetaType__QPersistentModelIndex QMetaType__Type = 50
QMetaType__QObjectStar QMetaType__Type = 39
QMetaType__QVariantMap QMetaType__Type = 8
QMetaType__QVariantList QMetaType__Type = 9
QMetaType__QVariantHash QMetaType__Type = 28
QMetaType__QByteArrayList QMetaType__Type = 49
QMetaType__QFont QMetaType__Type = 64
QMetaType__QPixmap QMetaType__Type = 65
QMetaType__QBrush QMetaType__Type = 66
QMetaType__QColor QMetaType__Type = 67
QMetaType__QPalette QMetaType__Type = 68
QMetaType__QIcon QMetaType__Type = 69
QMetaType__QImage QMetaType__Type = 70
QMetaType__QPolygon QMetaType__Type = 71
QMetaType__QRegion QMetaType__Type = 72
QMetaType__QBitmap QMetaType__Type = 73
QMetaType__QCursor QMetaType__Type = 74
QMetaType__QKeySequence QMetaType__Type = 75
QMetaType__QPen QMetaType__Type = 76
QMetaType__QTextLength QMetaType__Type = 77
QMetaType__QTextFormat QMetaType__Type = 78
QMetaType__QMatrix QMetaType__Type = 79
QMetaType__QTransform QMetaType__Type = 80
QMetaType__QMatrix4x4 QMetaType__Type = 81
QMetaType__QVector2D QMetaType__Type = 82
QMetaType__QVector3D QMetaType__Type = 83
QMetaType__QVector4D QMetaType__Type = 84
QMetaType__QQuaternion QMetaType__Type = 85
QMetaType__QPolygonF QMetaType__Type = 86
QMetaType__QColorSpace QMetaType__Type = 87
QMetaType__QSizePolicy QMetaType__Type = 121
QMetaType__FirstCoreType QMetaType__Type = 1
QMetaType__LastCoreType QMetaType__Type = 55
QMetaType__FirstGuiType QMetaType__Type = 64
QMetaType__LastGuiType QMetaType__Type = 87
QMetaType__FirstWidgetsType QMetaType__Type = 121
QMetaType__LastWidgetsType QMetaType__Type = 121
QMetaType__HighestInternalId QMetaType__Type = 121
QMetaType__QReal QMetaType__Type = 6
QMetaType__UnknownType QMetaType__Type = 0
QMetaType__User QMetaType__Type = 1024
2024-09-04 06:54:22 +00:00
)
type QMetaType__TypeFlag int
const (
2024-09-20 07:13:26 +00:00
QMetaType__NeedsConstruction QMetaType__TypeFlag = 1
QMetaType__NeedsDestruction QMetaType__TypeFlag = 2
QMetaType__MovableType QMetaType__TypeFlag = 4
QMetaType__PointerToQObject QMetaType__TypeFlag = 8
QMetaType__IsEnumeration QMetaType__TypeFlag = 16
QMetaType__SharedPointerToQObject QMetaType__TypeFlag = 32
QMetaType__WeakPointerToQObject QMetaType__TypeFlag = 64
QMetaType__TrackingPointerToQObject QMetaType__TypeFlag = 128
QMetaType__WasDeclaredAsMetaType QMetaType__TypeFlag = 256
QMetaType__IsGadget QMetaType__TypeFlag = 512
QMetaType__PointerToGadget QMetaType__TypeFlag = 1024
2024-09-04 06:54:22 +00:00
)
type QtMetaTypePrivate__QSequentialIterableImpl__Position int
const (
2024-09-20 07:13:26 +00:00
QtMetaTypePrivate__QSequentialIterableImpl__ToBegin QtMetaTypePrivate__QSequentialIterableImpl__Position = 0
QtMetaTypePrivate__QSequentialIterableImpl__ToEnd QtMetaTypePrivate__QSequentialIterableImpl__Position = 1
2024-09-04 06:54:22 +00:00
)
2024-08-29 07:01:51 +00:00
type QtPrivate__AbstractDebugStreamFunction struct {
h *C.QtPrivate__AbstractDebugStreamFunction
}
func (this *QtPrivate__AbstractDebugStreamFunction) cPointer() *C.QtPrivate__AbstractDebugStreamFunction {
if this == nil {
return nil
}
return this.h
}
func newQtPrivate__AbstractDebugStreamFunction(h *C.QtPrivate__AbstractDebugStreamFunction) *QtPrivate__AbstractDebugStreamFunction {
2024-09-01 02:23:55 +00:00
if h == nil {
return nil
}
2024-08-29 07:01:51 +00:00
return &QtPrivate__AbstractDebugStreamFunction{h: h}
}
func newQtPrivate__AbstractDebugStreamFunction_U(h unsafe.Pointer) *QtPrivate__AbstractDebugStreamFunction {
return newQtPrivate__AbstractDebugStreamFunction((*C.QtPrivate__AbstractDebugStreamFunction)(h))
}
// NewQtPrivate__AbstractDebugStreamFunction constructs a new QtPrivate::AbstractDebugStreamFunction object.
func NewQtPrivate__AbstractDebugStreamFunction() *QtPrivate__AbstractDebugStreamFunction {
ret := C.QtPrivate__AbstractDebugStreamFunction_new()
return newQtPrivate__AbstractDebugStreamFunction(ret)
}
// Delete this object from C++ memory.
2024-08-29 07:01:51 +00:00
func (this *QtPrivate__AbstractDebugStreamFunction) Delete() {
C.QtPrivate__AbstractDebugStreamFunction_Delete(this.h)
}
// GoGC adds a Go Finalizer to this pointer, so that it will be deleted
// from C++ memory once it is unreachable from Go memory.
func (this *QtPrivate__AbstractDebugStreamFunction) GoGC() {
runtime.SetFinalizer(this, func(this *QtPrivate__AbstractDebugStreamFunction) {
this.Delete()
runtime.KeepAlive(this.h)
})
}
2024-08-29 07:01:51 +00:00
type QtPrivate__AbstractComparatorFunction struct {
h *C.QtPrivate__AbstractComparatorFunction
}
func (this *QtPrivate__AbstractComparatorFunction) cPointer() *C.QtPrivate__AbstractComparatorFunction {
if this == nil {
return nil
}
return this.h
}
func newQtPrivate__AbstractComparatorFunction(h *C.QtPrivate__AbstractComparatorFunction) *QtPrivate__AbstractComparatorFunction {
2024-09-01 02:23:55 +00:00
if h == nil {
return nil
}
2024-08-29 07:01:51 +00:00
return &QtPrivate__AbstractComparatorFunction{h: h}
}
func newQtPrivate__AbstractComparatorFunction_U(h unsafe.Pointer) *QtPrivate__AbstractComparatorFunction {
return newQtPrivate__AbstractComparatorFunction((*C.QtPrivate__AbstractComparatorFunction)(h))
}
// NewQtPrivate__AbstractComparatorFunction constructs a new QtPrivate::AbstractComparatorFunction object.
func NewQtPrivate__AbstractComparatorFunction() *QtPrivate__AbstractComparatorFunction {
ret := C.QtPrivate__AbstractComparatorFunction_new()
return newQtPrivate__AbstractComparatorFunction(ret)
}
// Delete this object from C++ memory.
2024-08-29 07:01:51 +00:00
func (this *QtPrivate__AbstractComparatorFunction) Delete() {
C.QtPrivate__AbstractComparatorFunction_Delete(this.h)
}
// GoGC adds a Go Finalizer to this pointer, so that it will be deleted
// from C++ memory once it is unreachable from Go memory.
func (this *QtPrivate__AbstractComparatorFunction) GoGC() {
runtime.SetFinalizer(this, func(this *QtPrivate__AbstractComparatorFunction) {
this.Delete()
runtime.KeepAlive(this.h)
})
}
2024-08-29 07:01:51 +00:00
type QtPrivate__AbstractConverterFunction struct {
h *C.QtPrivate__AbstractConverterFunction
}
func (this *QtPrivate__AbstractConverterFunction) cPointer() *C.QtPrivate__AbstractConverterFunction {
if this == nil {
return nil
}
return this.h
}
func newQtPrivate__AbstractConverterFunction(h *C.QtPrivate__AbstractConverterFunction) *QtPrivate__AbstractConverterFunction {
2024-09-01 02:23:55 +00:00
if h == nil {
return nil
}
2024-08-29 07:01:51 +00:00
return &QtPrivate__AbstractConverterFunction{h: h}
}
func newQtPrivate__AbstractConverterFunction_U(h unsafe.Pointer) *QtPrivate__AbstractConverterFunction {
return newQtPrivate__AbstractConverterFunction((*C.QtPrivate__AbstractConverterFunction)(h))
}
// NewQtPrivate__AbstractConverterFunction constructs a new QtPrivate::AbstractConverterFunction object.
func NewQtPrivate__AbstractConverterFunction() *QtPrivate__AbstractConverterFunction {
ret := C.QtPrivate__AbstractConverterFunction_new()
return newQtPrivate__AbstractConverterFunction(ret)
}
// Delete this object from C++ memory.
2024-08-29 07:01:51 +00:00
func (this *QtPrivate__AbstractConverterFunction) Delete() {
C.QtPrivate__AbstractConverterFunction_Delete(this.h)
}
// GoGC adds a Go Finalizer to this pointer, so that it will be deleted
// from C++ memory once it is unreachable from Go memory.
func (this *QtPrivate__AbstractConverterFunction) GoGC() {
runtime.SetFinalizer(this, func(this *QtPrivate__AbstractConverterFunction) {
this.Delete()
runtime.KeepAlive(this.h)
})
}
type QMetaType struct {
h *C.QMetaType
}
func (this *QMetaType) cPointer() *C.QMetaType {
if this == nil {
return nil
}
return this.h
}
func newQMetaType(h *C.QMetaType) *QMetaType {
2024-09-01 02:23:55 +00:00
if h == nil {
return nil
}
return &QMetaType{h: h}
}
func newQMetaType_U(h unsafe.Pointer) *QMetaType {
return newQMetaType((*C.QMetaType)(h))
}
// NewQMetaType constructs a new QMetaType object.
func NewQMetaType() *QMetaType {
ret := C.QMetaType_new()
return newQMetaType(ret)
}
// NewQMetaType2 constructs a new QMetaType object.
func NewQMetaType2(typeVal int) *QMetaType {
ret := C.QMetaType_new2((C.int)(typeVal))
return newQMetaType(ret)
}
func QMetaType_UnregisterType(typeVal int) bool {
return (bool)(C.QMetaType_UnregisterType((C.int)(typeVal)))
}
func QMetaType_RegisterTypedef(typeName string, aliasId int) int {
typeName_Cstring := C.CString(typeName)
defer C.free(unsafe.Pointer(typeName_Cstring))
return (int)(C.QMetaType_RegisterTypedef(typeName_Cstring, (C.int)(aliasId)))
}
2024-08-29 07:01:51 +00:00
func QMetaType_RegisterNormalizedTypedef(normalizedTypeName *QByteArray, aliasId int) int {
return (int)(C.QMetaType_RegisterNormalizedTypedef(normalizedTypeName.cPointer(), (C.int)(aliasId)))
2024-08-29 07:01:51 +00:00
}
func QMetaType_Type(typeName string) int {
typeName_Cstring := C.CString(typeName)
defer C.free(unsafe.Pointer(typeName_Cstring))
return (int)(C.QMetaType_Type(typeName_Cstring))
}
2024-08-29 07:01:51 +00:00
func QMetaType_TypeWithTypeName(typeName *QByteArray) int {
return (int)(C.QMetaType_TypeWithTypeName(typeName.cPointer()))
2024-08-29 07:01:51 +00:00
}
func QMetaType_TypeName(typeVal int) unsafe.Pointer {
_ret := C.QMetaType_TypeName((C.int)(typeVal))
return (unsafe.Pointer)(_ret)
}
func QMetaType_SizeOf(typeVal int) int {
return (int)(C.QMetaType_SizeOf((C.int)(typeVal)))
}
func QMetaType_TypeFlags(typeVal int) QMetaType__TypeFlag {
return (QMetaType__TypeFlag)(C.QMetaType_TypeFlags((C.int)(typeVal)))
2024-08-29 07:01:51 +00:00
}
func QMetaType_MetaObjectForType(typeVal int) *QMetaObject {
return newQMetaObject_U(unsafe.Pointer(C.QMetaType_MetaObjectForType((C.int)(typeVal))))
}
func QMetaType_IsRegistered(typeVal int) bool {
return (bool)(C.QMetaType_IsRegistered((C.int)(typeVal)))
}
func (this *QMetaType) IsValid() bool {
return (bool)(C.QMetaType_IsValid(this.h))
}
func (this *QMetaType) IsRegistered2() bool {
return (bool)(C.QMetaType_IsRegistered2(this.h))
}
func (this *QMetaType) Id() int {
return (int)(C.QMetaType_Id(this.h))
}
func (this *QMetaType) SizeOf2() int {
return (int)(C.QMetaType_SizeOf2(this.h))
}
func (this *QMetaType) Flags() QMetaType__TypeFlag {
return (QMetaType__TypeFlag)(C.QMetaType_Flags(this.h))
2024-08-29 07:01:51 +00:00
}
func (this *QMetaType) MetaObject() *QMetaObject {
return newQMetaObject_U(unsafe.Pointer(C.QMetaType_MetaObject(this.h)))
}
2024-08-29 07:01:51 +00:00
func (this *QMetaType) Name() *QByteArray {
_ret := C.QMetaType_Name(this.h)
_goptr := newQByteArray(_ret)
_goptr.GoGC() // Qt uses pass-by-value semantics for this type. Mimic with finalizer
return _goptr
2024-08-29 07:01:51 +00:00
}
func QMetaType_HasRegisteredComparators(typeId int) bool {
return (bool)(C.QMetaType_HasRegisteredComparators((C.int)(typeId)))
}
func QMetaType_HasRegisteredDebugStreamOperator(typeId int) bool {
return (bool)(C.QMetaType_HasRegisteredDebugStreamOperator((C.int)(typeId)))
}
func QMetaType_HasRegisteredConverterFunction(fromTypeId int, toTypeId int) bool {
return (bool)(C.QMetaType_HasRegisteredConverterFunction((C.int)(fromTypeId), (C.int)(toTypeId)))
}
// Delete this object from C++ memory.
func (this *QMetaType) Delete() {
C.QMetaType_Delete(this.h)
}
2024-08-29 07:01:51 +00:00
// GoGC adds a Go Finalizer to this pointer, so that it will be deleted
// from C++ memory once it is unreachable from Go memory.
func (this *QMetaType) GoGC() {
runtime.SetFinalizer(this, func(this *QMetaType) {
this.Delete()
runtime.KeepAlive(this.h)
})
}
2024-08-29 07:01:51 +00:00
type QtMetaTypePrivate__VariantData struct {
h *C.QtMetaTypePrivate__VariantData
}
func (this *QtMetaTypePrivate__VariantData) cPointer() *C.QtMetaTypePrivate__VariantData {
if this == nil {
return nil
}
return this.h
}
func newQtMetaTypePrivate__VariantData(h *C.QtMetaTypePrivate__VariantData) *QtMetaTypePrivate__VariantData {
2024-09-01 02:23:55 +00:00
if h == nil {
return nil
}
2024-08-29 07:01:51 +00:00
return &QtMetaTypePrivate__VariantData{h: h}
}
func newQtMetaTypePrivate__VariantData_U(h unsafe.Pointer) *QtMetaTypePrivate__VariantData {
return newQtMetaTypePrivate__VariantData((*C.QtMetaTypePrivate__VariantData)(h))
}
// NewQtMetaTypePrivate__VariantData constructs a new QtMetaTypePrivate::VariantData object.
func NewQtMetaTypePrivate__VariantData(other *QtMetaTypePrivate__VariantData) *QtMetaTypePrivate__VariantData {
ret := C.QtMetaTypePrivate__VariantData_new(other.cPointer())
return newQtMetaTypePrivate__VariantData(ret)
}
// Delete this object from C++ memory.
2024-08-29 07:01:51 +00:00
func (this *QtMetaTypePrivate__VariantData) Delete() {
C.QtMetaTypePrivate__VariantData_Delete(this.h)
}
// GoGC adds a Go Finalizer to this pointer, so that it will be deleted
// from C++ memory once it is unreachable from Go memory.
func (this *QtMetaTypePrivate__VariantData) GoGC() {
runtime.SetFinalizer(this, func(this *QtMetaTypePrivate__VariantData) {
this.Delete()
runtime.KeepAlive(this.h)
})
}
2024-08-29 07:01:51 +00:00
type QtMetaTypePrivate__VectorBoolElements struct {
h *C.QtMetaTypePrivate__VectorBoolElements
}
func (this *QtMetaTypePrivate__VectorBoolElements) cPointer() *C.QtMetaTypePrivate__VectorBoolElements {
if this == nil {
return nil
}
return this.h
}
func newQtMetaTypePrivate__VectorBoolElements(h *C.QtMetaTypePrivate__VectorBoolElements) *QtMetaTypePrivate__VectorBoolElements {
2024-09-01 02:23:55 +00:00
if h == nil {
return nil
}
2024-08-29 07:01:51 +00:00
return &QtMetaTypePrivate__VectorBoolElements{h: h}
}
func newQtMetaTypePrivate__VectorBoolElements_U(h unsafe.Pointer) *QtMetaTypePrivate__VectorBoolElements {
return newQtMetaTypePrivate__VectorBoolElements((*C.QtMetaTypePrivate__VectorBoolElements)(h))
}
// Delete this object from C++ memory.
2024-08-29 07:01:51 +00:00
func (this *QtMetaTypePrivate__VectorBoolElements) Delete() {
C.QtMetaTypePrivate__VectorBoolElements_Delete(this.h)
}
// GoGC adds a Go Finalizer to this pointer, so that it will be deleted
// from C++ memory once it is unreachable from Go memory.
func (this *QtMetaTypePrivate__VectorBoolElements) GoGC() {
runtime.SetFinalizer(this, func(this *QtMetaTypePrivate__VectorBoolElements) {
this.Delete()
runtime.KeepAlive(this.h)
})
}
2024-08-29 07:01:51 +00:00
type QtMetaTypePrivate__QSequentialIterableImpl struct {
h *C.QtMetaTypePrivate__QSequentialIterableImpl
}
func (this *QtMetaTypePrivate__QSequentialIterableImpl) cPointer() *C.QtMetaTypePrivate__QSequentialIterableImpl {
if this == nil {
return nil
}
return this.h
}
func newQtMetaTypePrivate__QSequentialIterableImpl(h *C.QtMetaTypePrivate__QSequentialIterableImpl) *QtMetaTypePrivate__QSequentialIterableImpl {
2024-09-01 02:23:55 +00:00
if h == nil {
return nil
}
2024-08-29 07:01:51 +00:00
return &QtMetaTypePrivate__QSequentialIterableImpl{h: h}
}
func newQtMetaTypePrivate__QSequentialIterableImpl_U(h unsafe.Pointer) *QtMetaTypePrivate__QSequentialIterableImpl {
return newQtMetaTypePrivate__QSequentialIterableImpl((*C.QtMetaTypePrivate__QSequentialIterableImpl)(h))
}
// NewQtMetaTypePrivate__QSequentialIterableImpl constructs a new QtMetaTypePrivate::QSequentialIterableImpl object.
func NewQtMetaTypePrivate__QSequentialIterableImpl() *QtMetaTypePrivate__QSequentialIterableImpl {
ret := C.QtMetaTypePrivate__QSequentialIterableImpl_new()
return newQtMetaTypePrivate__QSequentialIterableImpl(ret)
}
// NewQtMetaTypePrivate__QSequentialIterableImpl2 constructs a new QtMetaTypePrivate::QSequentialIterableImpl object.
func NewQtMetaTypePrivate__QSequentialIterableImpl2(param1 *QtMetaTypePrivate__QSequentialIterableImpl) *QtMetaTypePrivate__QSequentialIterableImpl {
ret := C.QtMetaTypePrivate__QSequentialIterableImpl_new2(param1.cPointer())
return newQtMetaTypePrivate__QSequentialIterableImpl(ret)
}
2024-09-04 06:54:22 +00:00
func (this *QtMetaTypePrivate__QSequentialIterableImpl) IteratorCapabilities() QtMetaTypePrivate__IteratorCapability {
return (QtMetaTypePrivate__IteratorCapability)(C.QtMetaTypePrivate__QSequentialIterableImpl_IteratorCapabilities(this.h))
2024-08-29 07:01:51 +00:00
}
func (this *QtMetaTypePrivate__QSequentialIterableImpl) Revision() uint {
return (uint)(C.QtMetaTypePrivate__QSequentialIterableImpl_Revision(this.h))
2024-08-29 07:01:51 +00:00
}
func (this *QtMetaTypePrivate__QSequentialIterableImpl) ContainerCapabilities() uint {
return (uint)(C.QtMetaTypePrivate__QSequentialIterableImpl_ContainerCapabilities(this.h))
2024-08-29 07:01:51 +00:00
}
func (this *QtMetaTypePrivate__QSequentialIterableImpl) MoveToBegin() {
C.QtMetaTypePrivate__QSequentialIterableImpl_MoveToBegin(this.h)
}
func (this *QtMetaTypePrivate__QSequentialIterableImpl) MoveToEnd() {
C.QtMetaTypePrivate__QSequentialIterableImpl_MoveToEnd(this.h)
}
func (this *QtMetaTypePrivate__QSequentialIterableImpl) Equal(other *QtMetaTypePrivate__QSequentialIterableImpl) bool {
return (bool)(C.QtMetaTypePrivate__QSequentialIterableImpl_Equal(this.h, other.cPointer()))
2024-08-29 07:01:51 +00:00
}
func (this *QtMetaTypePrivate__QSequentialIterableImpl) Advance(i int) *QtMetaTypePrivate__QSequentialIterableImpl {
return newQtMetaTypePrivate__QSequentialIterableImpl_U(unsafe.Pointer(C.QtMetaTypePrivate__QSequentialIterableImpl_Advance(this.h, (C.int)(i))))
}
2024-08-29 07:01:51 +00:00
func (this *QtMetaTypePrivate__QSequentialIterableImpl) GetCurrent() *QtMetaTypePrivate__VariantData {
_ret := C.QtMetaTypePrivate__QSequentialIterableImpl_GetCurrent(this.h)
_goptr := newQtMetaTypePrivate__VariantData(_ret)
_goptr.GoGC() // Qt uses pass-by-value semantics for this type. Mimic with finalizer
return _goptr
2024-08-29 07:01:51 +00:00
}
func (this *QtMetaTypePrivate__QSequentialIterableImpl) At(idx int) *QtMetaTypePrivate__VariantData {
_ret := C.QtMetaTypePrivate__QSequentialIterableImpl_At(this.h, (C.int)(idx))
_goptr := newQtMetaTypePrivate__VariantData(_ret)
_goptr.GoGC() // Qt uses pass-by-value semantics for this type. Mimic with finalizer
return _goptr
2024-08-29 07:01:51 +00:00
}
func (this *QtMetaTypePrivate__QSequentialIterableImpl) Size() int {
return (int)(C.QtMetaTypePrivate__QSequentialIterableImpl_Size(this.h))
2024-08-29 07:01:51 +00:00
}
func (this *QtMetaTypePrivate__QSequentialIterableImpl) DestroyIter() {
C.QtMetaTypePrivate__QSequentialIterableImpl_DestroyIter(this.h)
}
func (this *QtMetaTypePrivate__QSequentialIterableImpl) Copy(other *QtMetaTypePrivate__QSequentialIterableImpl) {
C.QtMetaTypePrivate__QSequentialIterableImpl_Copy(this.h, other.cPointer())
}
func (this *QtMetaTypePrivate__QSequentialIterableImpl) OperatorAssign(param1 *QtMetaTypePrivate__QSequentialIterableImpl) {
C.QtMetaTypePrivate__QSequentialIterableImpl_OperatorAssign(this.h, param1.cPointer())
}
// Delete this object from C++ memory.
2024-08-29 07:01:51 +00:00
func (this *QtMetaTypePrivate__QSequentialIterableImpl) Delete() {
C.QtMetaTypePrivate__QSequentialIterableImpl_Delete(this.h)
}
// GoGC adds a Go Finalizer to this pointer, so that it will be deleted
// from C++ memory once it is unreachable from Go memory.
func (this *QtMetaTypePrivate__QSequentialIterableImpl) GoGC() {
runtime.SetFinalizer(this, func(this *QtMetaTypePrivate__QSequentialIterableImpl) {
this.Delete()
runtime.KeepAlive(this.h)
})
}
2024-08-29 07:01:51 +00:00
type QtMetaTypePrivate__QAssociativeIterableImpl struct {
h *C.QtMetaTypePrivate__QAssociativeIterableImpl
}
func (this *QtMetaTypePrivate__QAssociativeIterableImpl) cPointer() *C.QtMetaTypePrivate__QAssociativeIterableImpl {
if this == nil {
return nil
}
return this.h
}
func newQtMetaTypePrivate__QAssociativeIterableImpl(h *C.QtMetaTypePrivate__QAssociativeIterableImpl) *QtMetaTypePrivate__QAssociativeIterableImpl {
2024-09-01 02:23:55 +00:00
if h == nil {
return nil
}
2024-08-29 07:01:51 +00:00
return &QtMetaTypePrivate__QAssociativeIterableImpl{h: h}
}
func newQtMetaTypePrivate__QAssociativeIterableImpl_U(h unsafe.Pointer) *QtMetaTypePrivate__QAssociativeIterableImpl {
return newQtMetaTypePrivate__QAssociativeIterableImpl((*C.QtMetaTypePrivate__QAssociativeIterableImpl)(h))
}
// NewQtMetaTypePrivate__QAssociativeIterableImpl constructs a new QtMetaTypePrivate::QAssociativeIterableImpl object.
func NewQtMetaTypePrivate__QAssociativeIterableImpl() *QtMetaTypePrivate__QAssociativeIterableImpl {
ret := C.QtMetaTypePrivate__QAssociativeIterableImpl_new()
return newQtMetaTypePrivate__QAssociativeIterableImpl(ret)
}
// NewQtMetaTypePrivate__QAssociativeIterableImpl2 constructs a new QtMetaTypePrivate::QAssociativeIterableImpl object.
func NewQtMetaTypePrivate__QAssociativeIterableImpl2(param1 *QtMetaTypePrivate__QAssociativeIterableImpl) *QtMetaTypePrivate__QAssociativeIterableImpl {
ret := C.QtMetaTypePrivate__QAssociativeIterableImpl_new2(param1.cPointer())
return newQtMetaTypePrivate__QAssociativeIterableImpl(ret)
}
func (this *QtMetaTypePrivate__QAssociativeIterableImpl) Begin() {
C.QtMetaTypePrivate__QAssociativeIterableImpl_Begin(this.h)
}
func (this *QtMetaTypePrivate__QAssociativeIterableImpl) End() {
C.QtMetaTypePrivate__QAssociativeIterableImpl_End(this.h)
}
func (this *QtMetaTypePrivate__QAssociativeIterableImpl) Equal(other *QtMetaTypePrivate__QAssociativeIterableImpl) bool {
return (bool)(C.QtMetaTypePrivate__QAssociativeIterableImpl_Equal(this.h, other.cPointer()))
2024-08-29 07:01:51 +00:00
}
func (this *QtMetaTypePrivate__QAssociativeIterableImpl) Advance(i int) *QtMetaTypePrivate__QAssociativeIterableImpl {
return newQtMetaTypePrivate__QAssociativeIterableImpl_U(unsafe.Pointer(C.QtMetaTypePrivate__QAssociativeIterableImpl_Advance(this.h, (C.int)(i))))
}
2024-08-29 07:01:51 +00:00
func (this *QtMetaTypePrivate__QAssociativeIterableImpl) DestroyIter() {
C.QtMetaTypePrivate__QAssociativeIterableImpl_DestroyIter(this.h)
}
func (this *QtMetaTypePrivate__QAssociativeIterableImpl) GetCurrentKey() *QtMetaTypePrivate__VariantData {
_ret := C.QtMetaTypePrivate__QAssociativeIterableImpl_GetCurrentKey(this.h)
_goptr := newQtMetaTypePrivate__VariantData(_ret)
_goptr.GoGC() // Qt uses pass-by-value semantics for this type. Mimic with finalizer
return _goptr
2024-08-29 07:01:51 +00:00
}
func (this *QtMetaTypePrivate__QAssociativeIterableImpl) GetCurrentValue() *QtMetaTypePrivate__VariantData {
_ret := C.QtMetaTypePrivate__QAssociativeIterableImpl_GetCurrentValue(this.h)
_goptr := newQtMetaTypePrivate__VariantData(_ret)
_goptr.GoGC() // Qt uses pass-by-value semantics for this type. Mimic with finalizer
return _goptr
2024-08-29 07:01:51 +00:00
}
func (this *QtMetaTypePrivate__QAssociativeIterableImpl) Find(key *QtMetaTypePrivate__VariantData) {
C.QtMetaTypePrivate__QAssociativeIterableImpl_Find(this.h, key.cPointer())
}
func (this *QtMetaTypePrivate__QAssociativeIterableImpl) Size() int {
return (int)(C.QtMetaTypePrivate__QAssociativeIterableImpl_Size(this.h))
2024-08-29 07:01:51 +00:00
}
func (this *QtMetaTypePrivate__QAssociativeIterableImpl) Copy(other *QtMetaTypePrivate__QAssociativeIterableImpl) {
C.QtMetaTypePrivate__QAssociativeIterableImpl_Copy(this.h, other.cPointer())
}
func (this *QtMetaTypePrivate__QAssociativeIterableImpl) OperatorAssign(param1 *QtMetaTypePrivate__QAssociativeIterableImpl) {
C.QtMetaTypePrivate__QAssociativeIterableImpl_OperatorAssign(this.h, param1.cPointer())
}
// Delete this object from C++ memory.
2024-08-29 07:01:51 +00:00
func (this *QtMetaTypePrivate__QAssociativeIterableImpl) Delete() {
C.QtMetaTypePrivate__QAssociativeIterableImpl_Delete(this.h)
}
// GoGC adds a Go Finalizer to this pointer, so that it will be deleted
// from C++ memory once it is unreachable from Go memory.
func (this *QtMetaTypePrivate__QAssociativeIterableImpl) GoGC() {
runtime.SetFinalizer(this, func(this *QtMetaTypePrivate__QAssociativeIterableImpl) {
this.Delete()
runtime.KeepAlive(this.h)
})
}
2024-08-29 07:01:51 +00:00
type QtMetaTypePrivate__QPairVariantInterfaceImpl struct {
h *C.QtMetaTypePrivate__QPairVariantInterfaceImpl
}
func (this *QtMetaTypePrivate__QPairVariantInterfaceImpl) cPointer() *C.QtMetaTypePrivate__QPairVariantInterfaceImpl {
if this == nil {
return nil
}
return this.h
}
func newQtMetaTypePrivate__QPairVariantInterfaceImpl(h *C.QtMetaTypePrivate__QPairVariantInterfaceImpl) *QtMetaTypePrivate__QPairVariantInterfaceImpl {
2024-09-01 02:23:55 +00:00
if h == nil {
return nil
}
2024-08-29 07:01:51 +00:00
return &QtMetaTypePrivate__QPairVariantInterfaceImpl{h: h}
}
func newQtMetaTypePrivate__QPairVariantInterfaceImpl_U(h unsafe.Pointer) *QtMetaTypePrivate__QPairVariantInterfaceImpl {
return newQtMetaTypePrivate__QPairVariantInterfaceImpl((*C.QtMetaTypePrivate__QPairVariantInterfaceImpl)(h))
}
// NewQtMetaTypePrivate__QPairVariantInterfaceImpl constructs a new QtMetaTypePrivate::QPairVariantInterfaceImpl object.
func NewQtMetaTypePrivate__QPairVariantInterfaceImpl() *QtMetaTypePrivate__QPairVariantInterfaceImpl {
ret := C.QtMetaTypePrivate__QPairVariantInterfaceImpl_new()
return newQtMetaTypePrivate__QPairVariantInterfaceImpl(ret)
}
// NewQtMetaTypePrivate__QPairVariantInterfaceImpl2 constructs a new QtMetaTypePrivate::QPairVariantInterfaceImpl object.
func NewQtMetaTypePrivate__QPairVariantInterfaceImpl2(param1 *QtMetaTypePrivate__QPairVariantInterfaceImpl) *QtMetaTypePrivate__QPairVariantInterfaceImpl {
ret := C.QtMetaTypePrivate__QPairVariantInterfaceImpl_new2(param1.cPointer())
return newQtMetaTypePrivate__QPairVariantInterfaceImpl(ret)
}
func (this *QtMetaTypePrivate__QPairVariantInterfaceImpl) First() *QtMetaTypePrivate__VariantData {
_ret := C.QtMetaTypePrivate__QPairVariantInterfaceImpl_First(this.h)
_goptr := newQtMetaTypePrivate__VariantData(_ret)
_goptr.GoGC() // Qt uses pass-by-value semantics for this type. Mimic with finalizer
return _goptr
2024-08-29 07:01:51 +00:00
}
func (this *QtMetaTypePrivate__QPairVariantInterfaceImpl) Second() *QtMetaTypePrivate__VariantData {
_ret := C.QtMetaTypePrivate__QPairVariantInterfaceImpl_Second(this.h)
_goptr := newQtMetaTypePrivate__VariantData(_ret)
_goptr.GoGC() // Qt uses pass-by-value semantics for this type. Mimic with finalizer
return _goptr
2024-08-29 07:01:51 +00:00
}
// Delete this object from C++ memory.
2024-08-29 07:01:51 +00:00
func (this *QtMetaTypePrivate__QPairVariantInterfaceImpl) Delete() {
C.QtMetaTypePrivate__QPairVariantInterfaceImpl_Delete(this.h)
}
// GoGC adds a Go Finalizer to this pointer, so that it will be deleted
// from C++ memory once it is unreachable from Go memory.
func (this *QtMetaTypePrivate__QPairVariantInterfaceImpl) GoGC() {
runtime.SetFinalizer(this, func(this *QtMetaTypePrivate__QPairVariantInterfaceImpl) {
this.Delete()
runtime.KeepAlive(this.h)
})
}