miqt/qt/gen_qmetatype.go

753 lines
29 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 (
QtMetaTypePrivate__IteratorCapability__ForwardCapability QtMetaTypePrivate__IteratorCapability = 1
QtMetaTypePrivate__IteratorCapability__BiDirectionalCapability QtMetaTypePrivate__IteratorCapability = 2
QtMetaTypePrivate__IteratorCapability__RandomAccessCapability QtMetaTypePrivate__IteratorCapability = 4
)
type QtMetaTypePrivate__ContainerCapability int
const (
QtMetaTypePrivate__ContainerCapability__ContainerIsAppendable QtMetaTypePrivate__ContainerCapability = 1
)
type QMetaType__Type int
const (
QMetaType__Type__Void QMetaType__Type = 43
QMetaType__Type__Bool QMetaType__Type = 1
QMetaType__Type__Int QMetaType__Type = 2
QMetaType__Type__UInt QMetaType__Type = 3
QMetaType__Type__LongLong QMetaType__Type = 4
QMetaType__Type__ULongLong QMetaType__Type = 5
QMetaType__Type__Double QMetaType__Type = 6
QMetaType__Type__Long QMetaType__Type = 32
QMetaType__Type__Short QMetaType__Type = 33
QMetaType__Type__Char QMetaType__Type = 34
QMetaType__Type__ULong QMetaType__Type = 35
QMetaType__Type__UShort QMetaType__Type = 36
QMetaType__Type__UChar QMetaType__Type = 37
QMetaType__Type__Float QMetaType__Type = 38
QMetaType__Type__SChar QMetaType__Type = 40
QMetaType__Type__Nullptr QMetaType__Type = 51
QMetaType__Type__QCborSimpleType QMetaType__Type = 52
QMetaType__Type__VoidStar QMetaType__Type = 31
QMetaType__Type__QChar QMetaType__Type = 7
QMetaType__Type__QString QMetaType__Type = 10
QMetaType__Type__QStringList QMetaType__Type = 11
QMetaType__Type__QByteArray QMetaType__Type = 12
QMetaType__Type__QBitArray QMetaType__Type = 13
QMetaType__Type__QDate QMetaType__Type = 14
QMetaType__Type__QTime QMetaType__Type = 15
QMetaType__Type__QDateTime QMetaType__Type = 16
QMetaType__Type__QUrl QMetaType__Type = 17
QMetaType__Type__QLocale QMetaType__Type = 18
QMetaType__Type__QRect QMetaType__Type = 19
QMetaType__Type__QRectF QMetaType__Type = 20
QMetaType__Type__QSize QMetaType__Type = 21
QMetaType__Type__QSizeF QMetaType__Type = 22
QMetaType__Type__QLine QMetaType__Type = 23
QMetaType__Type__QLineF QMetaType__Type = 24
QMetaType__Type__QPoint QMetaType__Type = 25
QMetaType__Type__QPointF QMetaType__Type = 26
QMetaType__Type__QRegExp QMetaType__Type = 27
QMetaType__Type__QEasingCurve QMetaType__Type = 29
QMetaType__Type__QUuid QMetaType__Type = 30
QMetaType__Type__QVariant QMetaType__Type = 41
QMetaType__Type__QRegularExpression QMetaType__Type = 44
QMetaType__Type__QJsonValue QMetaType__Type = 45
QMetaType__Type__QJsonObject QMetaType__Type = 46
QMetaType__Type__QJsonArray QMetaType__Type = 47
QMetaType__Type__QJsonDocument QMetaType__Type = 48
QMetaType__Type__QCborValue QMetaType__Type = 53
QMetaType__Type__QCborArray QMetaType__Type = 54
QMetaType__Type__QCborMap QMetaType__Type = 55
QMetaType__Type__QModelIndex QMetaType__Type = 42
QMetaType__Type__QPersistentModelIndex QMetaType__Type = 50
QMetaType__Type__QObjectStar QMetaType__Type = 39
QMetaType__Type__QVariantMap QMetaType__Type = 8
QMetaType__Type__QVariantList QMetaType__Type = 9
QMetaType__Type__QVariantHash QMetaType__Type = 28
QMetaType__Type__QByteArrayList QMetaType__Type = 49
QMetaType__Type__QFont QMetaType__Type = 64
QMetaType__Type__QPixmap QMetaType__Type = 65
QMetaType__Type__QBrush QMetaType__Type = 66
QMetaType__Type__QColor QMetaType__Type = 67
QMetaType__Type__QPalette QMetaType__Type = 68
QMetaType__Type__QIcon QMetaType__Type = 69
QMetaType__Type__QImage QMetaType__Type = 70
QMetaType__Type__QPolygon QMetaType__Type = 71
QMetaType__Type__QRegion QMetaType__Type = 72
QMetaType__Type__QBitmap QMetaType__Type = 73
QMetaType__Type__QCursor QMetaType__Type = 74
QMetaType__Type__QKeySequence QMetaType__Type = 75
QMetaType__Type__QPen QMetaType__Type = 76
QMetaType__Type__QTextLength QMetaType__Type = 77
QMetaType__Type__QTextFormat QMetaType__Type = 78
QMetaType__Type__QMatrix QMetaType__Type = 79
QMetaType__Type__QTransform QMetaType__Type = 80
QMetaType__Type__QMatrix4x4 QMetaType__Type = 81
QMetaType__Type__QVector2D QMetaType__Type = 82
QMetaType__Type__QVector3D QMetaType__Type = 83
QMetaType__Type__QVector4D QMetaType__Type = 84
QMetaType__Type__QQuaternion QMetaType__Type = 85
QMetaType__Type__QPolygonF QMetaType__Type = 86
QMetaType__Type__QColorSpace QMetaType__Type = 87
QMetaType__Type__QSizePolicy QMetaType__Type = 121
QMetaType__Type__FirstCoreType QMetaType__Type = 1
QMetaType__Type__LastCoreType QMetaType__Type = 55
QMetaType__Type__FirstGuiType QMetaType__Type = 64
QMetaType__Type__LastGuiType QMetaType__Type = 87
QMetaType__Type__FirstWidgetsType QMetaType__Type = 121
QMetaType__Type__LastWidgetsType QMetaType__Type = 121
QMetaType__Type__HighestInternalId QMetaType__Type = 121
QMetaType__Type__QReal QMetaType__Type = 6
QMetaType__Type__UnknownType QMetaType__Type = 0
QMetaType__Type__User QMetaType__Type = 1024
)
type QMetaType__TypeFlag int
const (
QMetaType__TypeFlag__NeedsConstruction QMetaType__TypeFlag = 1
QMetaType__TypeFlag__NeedsDestruction QMetaType__TypeFlag = 2
QMetaType__TypeFlag__MovableType QMetaType__TypeFlag = 4
QMetaType__TypeFlag__PointerToQObject QMetaType__TypeFlag = 8
QMetaType__TypeFlag__IsEnumeration QMetaType__TypeFlag = 16
QMetaType__TypeFlag__SharedPointerToQObject QMetaType__TypeFlag = 32
QMetaType__TypeFlag__WeakPointerToQObject QMetaType__TypeFlag = 64
QMetaType__TypeFlag__TrackingPointerToQObject QMetaType__TypeFlag = 128
QMetaType__TypeFlag__WasDeclaredAsMetaType QMetaType__TypeFlag = 256
QMetaType__TypeFlag__IsGadget QMetaType__TypeFlag = 512
QMetaType__TypeFlag__PointerToGadget QMetaType__TypeFlag = 1024
)
type QtMetaTypePrivate__QSequentialIterableImpl__Position int
const (
QtMetaTypePrivate__QSequentialIterableImpl__Position__ToBegin QtMetaTypePrivate__QSequentialIterableImpl__Position = 0
QtMetaTypePrivate__QSequentialIterableImpl__Position__ToEnd QtMetaTypePrivate__QSequentialIterableImpl__Position = 1
)
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)))
}
2024-08-29 07:01:51 +00:00
func QMetaType_TypeFlags(typeVal int) int {
return (int)(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))
}
2024-08-29 07:01:51 +00:00
func (this *QMetaType) Flags() int {
return (int)(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)
})
}