当前位置: 首页>>代码示例>>Golang>>正文


Golang qt.Recovering函数代码示例

本文整理汇总了Golang中github.com/therecipe/qt.Recovering函数的典型用法代码示例。如果您正苦于以下问题:Golang Recovering函数的具体用法?Golang Recovering怎么用?Golang Recovering使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。


在下文中一共展示了Recovering函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Golang代码示例。

示例1: BinaryFrameReceived

func (ptr *QWebSocket) BinaryFrameReceived(frame core.QByteArray_ITF, isLastFrame bool) {
	defer qt.Recovering("QWebSocket::binaryFrameReceived")

	if ptr.Pointer() != nil {
		C.QWebSocket_BinaryFrameReceived(ptr.Pointer(), core.PointerFromQByteArray(frame), C.int(qt.GoBoolToInt(isLastFrame)))
	}
}
开发者ID:mouse225,项目名称:qt,代码行数:7,代码来源:websockets.go

示例2: SetAutoShowStandardWindow

func (ptr *QScriptEngineDebugger) SetAutoShowStandardWindow(autoShow bool) {
	defer qt.Recovering("QScriptEngineDebugger::setAutoShowStandardWindow")

	if ptr.Pointer() != nil {
		C.QScriptEngineDebugger_SetAutoShowStandardWindow(ptr.Pointer(), C.int(qt.GoBoolToInt(autoShow)))
	}
}
开发者ID:mouse225,项目名称:qt,代码行数:7,代码来源:scripttools.go

示例3: ChildEvent

func (ptr *QScriptEngineDebugger) ChildEvent(event core.QChildEvent_ITF) {
	defer qt.Recovering("QScriptEngineDebugger::childEvent")

	if ptr.Pointer() != nil {
		C.QScriptEngineDebugger_ChildEvent(ptr.Pointer(), core.PointerFromQChildEvent(event))
	}
}
开发者ID:mouse225,项目名称:qt,代码行数:7,代码来源:scripttools.go

示例4: CustomEventDefault

func (ptr *QWebSocket) CustomEventDefault(event core.QEvent_ITF) {
	defer qt.Recovering("QWebSocket::customEvent")

	if ptr.Pointer() != nil {
		C.QWebSocket_CustomEventDefault(ptr.Pointer(), core.PointerFromQEvent(event))
	}
}
开发者ID:mouse225,项目名称:qt,代码行数:7,代码来源:websockets.go

示例5: Detach

func (ptr *QScriptEngineDebugger) Detach() {
	defer qt.Recovering("QScriptEngineDebugger::detach")

	if ptr.Pointer() != nil {
		C.QScriptEngineDebugger_Detach(ptr.Pointer())
	}
}
开发者ID:mouse225,项目名称:qt,代码行数:7,代码来源:scripttools.go

示例6: TextMessageReceived

func (ptr *QWebSocket) TextMessageReceived(message string) {
	defer qt.Recovering("QWebSocket::textMessageReceived")

	if ptr.Pointer() != nil {
		C.QWebSocket_TextMessageReceived(ptr.Pointer(), C.CString(message))
	}
}
开发者ID:mouse225,项目名称:qt,代码行数:7,代码来源:websockets.go

示例7: TimerEvent

func (ptr *QMaskGenerator) TimerEvent(event core.QTimerEvent_ITF) {
	defer qt.Recovering("QMaskGenerator::timerEvent")

	if ptr.Pointer() != nil {
		C.QMaskGenerator_TimerEvent(ptr.Pointer(), core.PointerFromQTimerEvent(event))
	}
}
开发者ID:mouse225,项目名称:qt,代码行数:7,代码来源:websockets.go

示例8: Open

func (ptr *QWebSocket) Open(url core.QUrl_ITF) {
	defer qt.Recovering("QWebSocket::open")

	if ptr.Pointer() != nil {
		C.QWebSocket_Open(ptr.Pointer(), core.PointerFromQUrl(url))
	}
}
开发者ID:mouse225,项目名称:qt,代码行数:7,代码来源:websockets.go

示例9: Ping

func (ptr *QWebSocket) Ping(payload core.QByteArray_ITF) {
	defer qt.Recovering("QWebSocket::ping")

	if ptr.Pointer() != nil {
		C.QWebSocket_Ping(ptr.Pointer(), core.PointerFromQByteArray(payload))
	}
}
开发者ID:mouse225,项目名称:qt,代码行数:7,代码来源:websockets.go

示例10: Error2

func (ptr *QWebSocket) Error2(error network.QAbstractSocket__SocketError) {
	defer qt.Recovering("QWebSocket::error")

	if ptr.Pointer() != nil {
		C.QWebSocket_Error2(ptr.Pointer(), C.int(error))
	}
}
开发者ID:mouse225,项目名称:qt,代码行数:7,代码来源:websockets.go

示例11: IgnoreSslErrors

func (ptr *QWebSocket) IgnoreSslErrors() {
	defer qt.Recovering("QWebSocket::ignoreSslErrors")

	if ptr.Pointer() != nil {
		C.QWebSocket_IgnoreSslErrors(ptr.Pointer())
	}
}
开发者ID:mouse225,项目名称:qt,代码行数:7,代码来源:websockets.go

示例12: Disconnected

func (ptr *QWebSocket) Disconnected() {
	defer qt.Recovering("QWebSocket::disconnected")

	if ptr.Pointer() != nil {
		C.QWebSocket_Disconnected(ptr.Pointer())
	}
}
开发者ID:mouse225,项目名称:qt,代码行数:7,代码来源:websockets.go

示例13: BytesWritten

func (ptr *QWebSocket) BytesWritten(bytes int64) {
	defer qt.Recovering("QWebSocket::bytesWritten")

	if ptr.Pointer() != nil {
		C.QWebSocket_BytesWritten(ptr.Pointer(), C.longlong(bytes))
	}
}
开发者ID:mouse225,项目名称:qt,代码行数:7,代码来源:websockets.go

示例14: BinaryMessageReceived

func (ptr *QWebSocket) BinaryMessageReceived(message core.QByteArray_ITF) {
	defer qt.Recovering("QWebSocket::binaryMessageReceived")

	if ptr.Pointer() != nil {
		C.QWebSocket_BinaryMessageReceived(ptr.Pointer(), core.PointerFromQByteArray(message))
	}
}
开发者ID:mouse225,项目名称:qt,代码行数:7,代码来源:websockets.go

示例15: StateChanged

func (ptr *QWebSocket) StateChanged(state network.QAbstractSocket__SocketState) {
	defer qt.Recovering("QWebSocket::stateChanged")

	if ptr.Pointer() != nil {
		C.QWebSocket_StateChanged(ptr.Pointer(), C.int(state))
	}
}
开发者ID:mouse225,项目名称:qt,代码行数:7,代码来源:websockets.go


注:本文中的github.com/therecipe/qt.Recovering函数示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。