本文整理汇总了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)))
}
}
示例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)))
}
}
示例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))
}
}
示例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))
}
}
示例5: Detach
func (ptr *QScriptEngineDebugger) Detach() {
defer qt.Recovering("QScriptEngineDebugger::detach")
if ptr.Pointer() != nil {
C.QScriptEngineDebugger_Detach(ptr.Pointer())
}
}
示例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))
}
}
示例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))
}
}
示例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))
}
}
示例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))
}
}
示例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))
}
}
示例11: IgnoreSslErrors
func (ptr *QWebSocket) IgnoreSslErrors() {
defer qt.Recovering("QWebSocket::ignoreSslErrors")
if ptr.Pointer() != nil {
C.QWebSocket_IgnoreSslErrors(ptr.Pointer())
}
}
示例12: Disconnected
func (ptr *QWebSocket) Disconnected() {
defer qt.Recovering("QWebSocket::disconnected")
if ptr.Pointer() != nil {
C.QWebSocket_Disconnected(ptr.Pointer())
}
}
示例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))
}
}
示例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))
}
}
示例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))
}
}