本文整理汇总了Golang中github.com/therecipe/qt.ConnectSignal函数的典型用法代码示例。如果您正苦于以下问题:Golang ConnectSignal函数的具体用法?Golang ConnectSignal怎么用?Golang ConnectSignal使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了ConnectSignal函数的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的Golang代码示例。
示例1: ConnectMessageReceived
func (ptr *QWebChannelAbstractTransport) ConnectMessageReceived(f func(message *core.QJsonObject, transport *QWebChannelAbstractTransport)) {
defer qt.Recovering("connect QWebChannelAbstractTransport::messageReceived")
if ptr.Pointer() != nil {
C.QWebChannelAbstractTransport_ConnectMessageReceived(ptr.Pointer())
qt.ConnectSignal(ptr.ObjectName(), "messageReceived", f)
}
}
开发者ID:mouse225,项目名称:qt,代码行数:8,代码来源:webchannel.go
示例2: ConnectBinaryMessageReceived
func (ptr *QWebSocket) ConnectBinaryMessageReceived(f func(message *core.QByteArray)) {
defer qt.Recovering("connect QWebSocket::binaryMessageReceived")
if ptr.Pointer() != nil {
C.QWebSocket_ConnectBinaryMessageReceived(ptr.Pointer())
qt.ConnectSignal(ptr.ObjectName(), "binaryMessageReceived", f)
}
}
开发者ID:mouse225,项目名称:qt,代码行数:8,代码来源:websockets.go
示例3: ConnectBytesWritten
func (ptr *QWebSocket) ConnectBytesWritten(f func(bytes int64)) {
defer qt.Recovering("connect QWebSocket::bytesWritten")
if ptr.Pointer() != nil {
C.QWebSocket_ConnectBytesWritten(ptr.Pointer())
qt.ConnectSignal(ptr.ObjectName(), "bytesWritten", f)
}
}
开发者ID:mouse225,项目名称:qt,代码行数:8,代码来源:websockets.go
示例4: ConnectCustomEvent
func (ptr *QWebSocket) ConnectCustomEvent(f func(event *core.QEvent)) {
defer qt.Recovering("connect QWebSocket::customEvent")
if ptr.Pointer() != nil {
qt.ConnectSignal(ptr.ObjectName(), "customEvent", f)
}
}
开发者ID:mouse225,项目名称:qt,代码行数:8,代码来源:websockets.go
示例5: ConnectCustomEvent
func (ptr *QScriptEngineDebugger) ConnectCustomEvent(f func(event *core.QEvent)) {
defer qt.Recovering("connect QScriptEngineDebugger::customEvent")
if ptr.Pointer() != nil {
qt.ConnectSignal(ptr.ObjectName(), "customEvent", f)
}
}
开发者ID:mouse225,项目名称:qt,代码行数:8,代码来源:scripttools.go
示例6: ConnectTimerEvent
func (ptr *QMaskGenerator) ConnectTimerEvent(f func(event *core.QTimerEvent)) {
defer qt.Recovering("connect QMaskGenerator::timerEvent")
if ptr.Pointer() != nil {
qt.ConnectSignal(ptr.ObjectName(), "timerEvent", f)
}
}
开发者ID:mouse225,项目名称:qt,代码行数:8,代码来源:websockets.go
示例7: ConnectTextFrameReceived
func (ptr *QWebSocket) ConnectTextFrameReceived(f func(frame string, isLastFrame bool)) {
defer qt.Recovering("connect QWebSocket::textFrameReceived")
if ptr.Pointer() != nil {
C.QWebSocket_ConnectTextFrameReceived(ptr.Pointer())
qt.ConnectSignal(ptr.ObjectName(), "textFrameReceived", f)
}
}
开发者ID:mouse225,项目名称:qt,代码行数:8,代码来源:websockets.go
示例8: ConnectClosed
func (ptr *QWebSocketServer) ConnectClosed(f func()) {
defer qt.Recovering("connect QWebSocketServer::closed")
if ptr.Pointer() != nil {
C.QWebSocketServer_ConnectClosed(ptr.Pointer())
qt.ConnectSignal(ptr.ObjectName(), "closed", f)
}
}
开发者ID:mouse225,项目名称:qt,代码行数:8,代码来源:websockets.go
示例9: ConnectNewConnection
func (ptr *QWebSocketServer) ConnectNewConnection(f func()) {
defer qt.Recovering("connect QWebSocketServer::newConnection")
if ptr.Pointer() != nil {
C.QWebSocketServer_ConnectNewConnection(ptr.Pointer())
qt.ConnectSignal(ptr.ObjectName(), "newConnection", f)
}
}
开发者ID:mouse225,项目名称:qt,代码行数:8,代码来源:websockets.go
示例10: ConnectCustomEvent
func (ptr *QMacToolBarItem) ConnectCustomEvent(f func(event *core.QEvent)) {
defer qt.Recovering("connect QMacToolBarItem::customEvent")
if ptr.Pointer() != nil {
qt.ConnectSignal(ptr.ObjectName(), "customEvent", f)
}
}
开发者ID:mouse225,项目名称:qt,代码行数:8,代码来源:macextras.go
示例11: ConnectAcceptError
func (ptr *QWebSocketServer) ConnectAcceptError(f func(socketError network.QAbstractSocket__SocketError)) {
defer qt.Recovering("connect QWebSocketServer::acceptError")
if ptr.Pointer() != nil {
C.QWebSocketServer_ConnectAcceptError(ptr.Pointer())
qt.ConnectSignal(ptr.ObjectName(), "acceptError", f)
}
}
开发者ID:mouse225,项目名称:qt,代码行数:8,代码来源:websockets.go
示例12: ConnectActivated
func (ptr *QMacToolBarItem) ConnectActivated(f func()) {
defer qt.Recovering("connect QMacToolBarItem::activated")
if ptr.Pointer() != nil {
C.QMacToolBarItem_ConnectActivated(ptr.Pointer())
qt.ConnectSignal(ptr.ObjectName(), "activated", f)
}
}
开发者ID:mouse225,项目名称:qt,代码行数:8,代码来源:macextras.go
示例13: ConnectBlockUpdatesChanged
func (ptr *QWebChannel) ConnectBlockUpdatesChanged(f func(block bool)) {
defer qt.Recovering("connect QWebChannel::blockUpdatesChanged")
if ptr.Pointer() != nil {
C.QWebChannel_ConnectBlockUpdatesChanged(ptr.Pointer())
qt.ConnectSignal(ptr.ObjectName(), "blockUpdatesChanged", f)
}
}
开发者ID:mouse225,项目名称:qt,代码行数:8,代码来源:webchannel.go
示例14: ConnectCustomEvent
func (ptr *QWebChannelAbstractTransport) ConnectCustomEvent(f func(event *core.QEvent)) {
defer qt.Recovering("connect QWebChannelAbstractTransport::customEvent")
if ptr.Pointer() != nil {
qt.ConnectSignal(ptr.ObjectName(), "customEvent", f)
}
}
开发者ID:mouse225,项目名称:qt,代码行数:8,代码来源:webchannel.go
示例15: ConnectError2
func (ptr *QWebSocket) ConnectError2(f func(error network.QAbstractSocket__SocketError)) {
defer qt.Recovering("connect QWebSocket::error")
if ptr.Pointer() != nil {
C.QWebSocket_ConnectError2(ptr.Pointer())
qt.ConnectSignal(ptr.ObjectName(), "error2", f)
}
}
开发者ID:mouse225,项目名称:qt,代码行数:8,代码来源:websockets.go
示例16: ConnectOriginAuthenticationRequired
func (ptr *QWebSocketServer) ConnectOriginAuthenticationRequired(f func(authenticator *QWebSocketCorsAuthenticator)) {
defer qt.Recovering("connect QWebSocketServer::originAuthenticationRequired")
if ptr.Pointer() != nil {
C.QWebSocketServer_ConnectOriginAuthenticationRequired(ptr.Pointer())
qt.ConnectSignal(ptr.ObjectName(), "originAuthenticationRequired", f)
}
}
开发者ID:mouse225,项目名称:qt,代码行数:8,代码来源:websockets.go
示例17: ConnectReadChannelFinished
func (ptr *QWebSocket) ConnectReadChannelFinished(f func()) {
defer qt.Recovering("connect QWebSocket::readChannelFinished")
if ptr.Pointer() != nil {
C.QWebSocket_ConnectReadChannelFinished(ptr.Pointer())
qt.ConnectSignal(ptr.ObjectName(), "readChannelFinished", f)
}
}
开发者ID:mouse225,项目名称:qt,代码行数:8,代码来源:websockets.go
示例18: ConnectChildEvent
func (ptr *QWebSocketServer) ConnectChildEvent(f func(event *core.QChildEvent)) {
defer qt.Recovering("connect QWebSocketServer::childEvent")
if ptr.Pointer() != nil {
qt.ConnectSignal(ptr.ObjectName(), "childEvent", f)
}
}
开发者ID:mouse225,项目名称:qt,代码行数:8,代码来源:websockets.go
示例19: ConnectStateChanged
func (ptr *QWebSocket) ConnectStateChanged(f func(state network.QAbstractSocket__SocketState)) {
defer qt.Recovering("connect QWebSocket::stateChanged")
if ptr.Pointer() != nil {
C.QWebSocket_ConnectStateChanged(ptr.Pointer())
qt.ConnectSignal(ptr.ObjectName(), "stateChanged", f)
}
}
开发者ID:mouse225,项目名称:qt,代码行数:8,代码来源:websockets.go
示例20: ConnectAboutToClose
func (ptr *QWebSocket) ConnectAboutToClose(f func()) {
defer qt.Recovering("connect QWebSocket::aboutToClose")
if ptr.Pointer() != nil {
C.QWebSocket_ConnectAboutToClose(ptr.Pointer())
qt.ConnectSignal(ptr.ObjectName(), "aboutToClose", f)
}
}
开发者ID:mouse225,项目名称:qt,代码行数:8,代码来源:websockets.go
注:本文中的github.com/therecipe/qt.ConnectSignal函数示例由纯净天空整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论