webchannel

package
v0.12.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 25, 2025 License: MIT Imports: 5 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func QWebChannelAbstractTransport_Tr

func QWebChannelAbstractTransport_Tr(s string) string

func QWebChannelAbstractTransport_Tr2

func QWebChannelAbstractTransport_Tr2(s string, c string) string

func QWebChannelAbstractTransport_Tr3

func QWebChannelAbstractTransport_Tr3(s string, c string, n int) string

func QWebChannel_Tr

func QWebChannel_Tr(s string) string

func QWebChannel_Tr2

func QWebChannel_Tr2(s string, c string) string

func QWebChannel_Tr3

func QWebChannel_Tr3(s string, c string, n int) string

Types

type QWebChannel

type QWebChannel struct {
	*qt6.QObject
	// contains filtered or unexported fields
}

func NewQWebChannel

func NewQWebChannel() *QWebChannel

NewQWebChannel constructs a new QWebChannel object.

func NewQWebChannel2

func NewQWebChannel2(parent *qt6.QObject) *QWebChannel

NewQWebChannel2 constructs a new QWebChannel object.

func UnsafeNewQWebChannel

func UnsafeNewQWebChannel(h unsafe.Pointer) *QWebChannel

UnsafeNewQWebChannel constructs the type using only unsafe pointers.

func (*QWebChannel) BlockUpdates

func (this *QWebChannel) BlockUpdates() bool

func (*QWebChannel) BlockUpdatesChanged

func (this *QWebChannel) BlockUpdatesChanged(block bool)

func (*QWebChannel) ConnectTo

func (this *QWebChannel) ConnectTo(transport *QWebChannelAbstractTransport)

func (*QWebChannel) Delete

func (this *QWebChannel) Delete()

Delete this object from C++ memory.

func (*QWebChannel) DeregisterObject

func (this *QWebChannel) DeregisterObject(object *qt6.QObject)

func (*QWebChannel) DisconnectFrom

func (this *QWebChannel) DisconnectFrom(transport *QWebChannelAbstractTransport)

func (*QWebChannel) GoGC

func (this *QWebChannel) GoGC()

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 (*QWebChannel) IsSignalConnected added in v0.9.0

func (this *QWebChannel) IsSignalConnected(signal *qt6.QMetaMethod) bool

IsSignalConnected can only be called from a QWebChannel that was directly constructed.

func (*QWebChannel) MetaObject

func (this *QWebChannel) MetaObject() *qt6.QMetaObject

func (*QWebChannel) Metacast

func (this *QWebChannel) Metacast(param1 string) unsafe.Pointer

func (*QWebChannel) OnBlockUpdatesChanged

func (this *QWebChannel) OnBlockUpdatesChanged(slot func(block bool))

func (*QWebChannel) OnChildEvent

func (this *QWebChannel) OnChildEvent(slot func(super func(event *qt6.QChildEvent), event *qt6.QChildEvent))

func (*QWebChannel) OnConnectNotify

func (this *QWebChannel) OnConnectNotify(slot func(super func(signal *qt6.QMetaMethod), signal *qt6.QMetaMethod))

func (*QWebChannel) OnCustomEvent

func (this *QWebChannel) OnCustomEvent(slot func(super func(event *qt6.QEvent), event *qt6.QEvent))

func (*QWebChannel) OnDisconnectNotify

func (this *QWebChannel) OnDisconnectNotify(slot func(super func(signal *qt6.QMetaMethod), signal *qt6.QMetaMethod))

func (*QWebChannel) OnEvent

func (this *QWebChannel) OnEvent(slot func(super func(event *qt6.QEvent) bool, event *qt6.QEvent) bool)

func (*QWebChannel) OnEventFilter

func (this *QWebChannel) OnEventFilter(slot func(super func(watched *qt6.QObject, event *qt6.QEvent) bool, watched *qt6.QObject, event *qt6.QEvent) bool)

func (*QWebChannel) OnTimerEvent

func (this *QWebChannel) OnTimerEvent(slot func(super func(event *qt6.QTimerEvent), event *qt6.QTimerEvent))

func (*QWebChannel) PropertyUpdateInterval

func (this *QWebChannel) PropertyUpdateInterval() int

func (*QWebChannel) Receivers added in v0.9.0

func (this *QWebChannel) Receivers(signal string) int

Receivers can only be called from a QWebChannel that was directly constructed.

func (*QWebChannel) RegisterObject

func (this *QWebChannel) RegisterObject(id string, object *qt6.QObject)

func (*QWebChannel) RegisterObjects

func (this *QWebChannel) RegisterObjects(objects map[string]*qt6.QObject)

func (*QWebChannel) RegisteredObjects

func (this *QWebChannel) RegisteredObjects() map[string]*qt6.QObject

func (*QWebChannel) Sender added in v0.9.0

func (this *QWebChannel) Sender() *qt6.QObject

Sender can only be called from a QWebChannel that was directly constructed.

func (*QWebChannel) SenderSignalIndex added in v0.9.0

func (this *QWebChannel) SenderSignalIndex() int

SenderSignalIndex can only be called from a QWebChannel that was directly constructed.

func (*QWebChannel) SetBlockUpdates

func (this *QWebChannel) SetBlockUpdates(block bool)

func (*QWebChannel) SetPropertyUpdateInterval

func (this *QWebChannel) SetPropertyUpdateInterval(ms int)

func (*QWebChannel) UnsafePointer

func (this *QWebChannel) UnsafePointer() unsafe.Pointer

type QWebChannelAbstractTransport

type QWebChannelAbstractTransport struct {
	*qt6.QObject
	// contains filtered or unexported fields
}

func NewQWebChannelAbstractTransport

func NewQWebChannelAbstractTransport() *QWebChannelAbstractTransport

NewQWebChannelAbstractTransport constructs a new QWebChannelAbstractTransport object.

func NewQWebChannelAbstractTransport2

func NewQWebChannelAbstractTransport2(parent *qt6.QObject) *QWebChannelAbstractTransport

NewQWebChannelAbstractTransport2 constructs a new QWebChannelAbstractTransport object.

func UnsafeNewQWebChannelAbstractTransport

func UnsafeNewQWebChannelAbstractTransport(h unsafe.Pointer) *QWebChannelAbstractTransport

UnsafeNewQWebChannelAbstractTransport constructs the type using only unsafe pointers.

func (*QWebChannelAbstractTransport) Delete

func (this *QWebChannelAbstractTransport) Delete()

Delete this object from C++ memory.

func (*QWebChannelAbstractTransport) GoGC

func (this *QWebChannelAbstractTransport) GoGC()

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 (*QWebChannelAbstractTransport) IsSignalConnected added in v0.9.0

func (this *QWebChannelAbstractTransport) IsSignalConnected(signal *qt6.QMetaMethod) bool

IsSignalConnected can only be called from a QWebChannelAbstractTransport that was directly constructed.

func (*QWebChannelAbstractTransport) MessageReceived

func (this *QWebChannelAbstractTransport) MessageReceived(message *qt6.QJsonObject, transport *QWebChannelAbstractTransport)

func (*QWebChannelAbstractTransport) MetaObject

func (this *QWebChannelAbstractTransport) MetaObject() *qt6.QMetaObject

func (*QWebChannelAbstractTransport) Metacast

func (this *QWebChannelAbstractTransport) Metacast(param1 string) unsafe.Pointer

func (*QWebChannelAbstractTransport) OnChildEvent

func (this *QWebChannelAbstractTransport) OnChildEvent(slot func(super func(event *qt6.QChildEvent), event *qt6.QChildEvent))

func (*QWebChannelAbstractTransport) OnConnectNotify

func (this *QWebChannelAbstractTransport) OnConnectNotify(slot func(super func(signal *qt6.QMetaMethod), signal *qt6.QMetaMethod))

func (*QWebChannelAbstractTransport) OnCustomEvent

func (this *QWebChannelAbstractTransport) OnCustomEvent(slot func(super func(event *qt6.QEvent), event *qt6.QEvent))

func (*QWebChannelAbstractTransport) OnDisconnectNotify

func (this *QWebChannelAbstractTransport) OnDisconnectNotify(slot func(super func(signal *qt6.QMetaMethod), signal *qt6.QMetaMethod))

func (*QWebChannelAbstractTransport) OnEvent

func (this *QWebChannelAbstractTransport) OnEvent(slot func(super func(event *qt6.QEvent) bool, event *qt6.QEvent) bool)

func (*QWebChannelAbstractTransport) OnEventFilter

func (this *QWebChannelAbstractTransport) OnEventFilter(slot func(super func(watched *qt6.QObject, event *qt6.QEvent) bool, watched *qt6.QObject, event *qt6.QEvent) bool)

func (*QWebChannelAbstractTransport) OnMessageReceived

func (this *QWebChannelAbstractTransport) OnMessageReceived(slot func(message *qt6.QJsonObject, transport *QWebChannelAbstractTransport))

func (*QWebChannelAbstractTransport) OnSendMessage

func (this *QWebChannelAbstractTransport) OnSendMessage(slot func(message *qt6.QJsonObject))

func (*QWebChannelAbstractTransport) OnTimerEvent

func (this *QWebChannelAbstractTransport) OnTimerEvent(slot func(super func(event *qt6.QTimerEvent), event *qt6.QTimerEvent))

func (*QWebChannelAbstractTransport) Receivers added in v0.9.0

func (this *QWebChannelAbstractTransport) Receivers(signal string) int

Receivers can only be called from a QWebChannelAbstractTransport that was directly constructed.

func (*QWebChannelAbstractTransport) SendMessage

func (this *QWebChannelAbstractTransport) SendMessage(message *qt6.QJsonObject)

func (*QWebChannelAbstractTransport) Sender added in v0.9.0

func (this *QWebChannelAbstractTransport) Sender() *qt6.QObject

Sender can only be called from a QWebChannelAbstractTransport that was directly constructed.

func (*QWebChannelAbstractTransport) SenderSignalIndex added in v0.9.0

func (this *QWebChannelAbstractTransport) SenderSignalIndex() int

SenderSignalIndex can only be called from a QWebChannelAbstractTransport that was directly constructed.

func (*QWebChannelAbstractTransport) UnsafePointer

func (this *QWebChannelAbstractTransport) UnsafePointer() unsafe.Pointer

Directories

Path Synopsis