本文整理汇总了Golang中github.com/therecipe/qt/core.PointerFromQIODevice函数的典型用法代码示例。如果您正苦于以下问题:Golang PointerFromQIODevice函数的具体用法?Golang PointerFromQIODevice怎么用?Golang PointerFromQIODevice使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了PointerFromQIODevice函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Golang代码示例。
示例1: Load
func (ptr *QUiLoader) Load(device core.QIODevice_ITF, parentWidget widgets.QWidget_ITF) *widgets.QWidget {
defer qt.Recovering("QUiLoader::load")
if ptr.Pointer() != nil {
return widgets.NewQWidgetFromPointer(C.QUiLoader_Load(ptr.Pointer(), core.PointerFromQIODevice(device), widgets.PointerFromQWidget(parentWidget)))
}
return nil
}
示例2: SetDevice
func (ptr *QNmeaPositionInfoSource) SetDevice(device core.QIODevice_ITF) {
if ptr.Pointer() != nil {
C.QNmeaPositionInfoSource_SetDevice(ptr.Pointer(), core.PointerFromQIODevice(device))
}
}
示例3: Load3
func (ptr *QMediaPlaylist) Load3(device core.QIODevice_ITF, format string) {
if ptr.Pointer() != nil {
C.QMediaPlaylist_Load3(ptr.Pointer(), core.PointerFromQIODevice(device), C.CString(format))
}
}
示例4: BindVariable5
func (ptr *QXmlQuery) BindVariable5(localName string, device core.QIODevice_ITF) {
if ptr.Pointer() != nil {
C.QXmlQuery_BindVariable5(ptr.Pointer(), C.CString(localName), core.PointerFromQIODevice(device))
}
}
示例5: SetFocus3
func (ptr *QXmlQuery) SetFocus3(document core.QIODevice_ITF) bool {
if ptr.Pointer() != nil {
return C.QXmlQuery_SetFocus3(ptr.Pointer(), core.PointerFromQIODevice(document)) != 0
}
return false
}
示例6: SetBodyDevice
func (ptr *QHttpPart) SetBodyDevice(device core.QIODevice_ITF) {
if ptr.Pointer() != nil {
C.QHttpPart_SetBodyDevice(ptr.Pointer(), core.PointerFromQIODevice(device))
}
}
示例7: Save2
func (ptr *QPixmap) Save2(device core.QIODevice_ITF, format string, quality int) bool {
if ptr.Pointer() != nil {
return C.QPixmap_Save2(ptr.Pointer(), core.PointerFromQIODevice(device), C.CString(format), C.int(quality)) != 0
}
return false
}
示例8: Save2
func (ptr *QPicture) Save2(dev core.QIODevice_ITF, format string) bool {
if ptr.Pointer() != nil {
return C.QPicture_Save2(ptr.Pointer(), core.PointerFromQIODevice(dev), C.CString(format)) != 0
}
return false
}
示例9: Put
func (ptr *QNetworkAccessManager) Put(request QNetworkRequest_ITF, data core.QIODevice_ITF) *QNetworkReply {
if ptr.Pointer() != nil {
return NewQNetworkReplyFromPointer(C.QNetworkAccessManager_Put(ptr.Pointer(), PointerFromQNetworkRequest(request), core.PointerFromQIODevice(data)))
}
return nil
}
示例10: NewQMovie2
func NewQMovie2(device core.QIODevice_ITF, format core.QByteArray_ITF, parent core.QObject_ITF) *QMovie {
return NewQMovieFromPointer(C.QMovie_NewQMovie2(core.PointerFromQIODevice(device), core.PointerFromQByteArray(format), core.PointerFromQObject(parent)))
}
示例11: NewQPdfWriter2
func NewQPdfWriter2(device core.QIODevice_ITF) *QPdfWriter {
return NewQPdfWriterFromPointer(C.QPdfWriter_NewQPdfWriter2(core.PointerFromQIODevice(device)))
}
示例12: SetDevice
func (ptr *QMovie) SetDevice(device core.QIODevice_ITF) {
if ptr.Pointer() != nil {
C.QMovie_SetDevice(ptr.Pointer(), core.PointerFromQIODevice(device))
}
}
示例13: NewQXmlFormatter
func NewQXmlFormatter(query QXmlQuery_ITF, outputDevice core.QIODevice_ITF) *QXmlFormatter {
return NewQXmlFormatterFromPointer(C.QXmlFormatter_NewQXmlFormatter(PointerFromQXmlQuery(query), core.PointerFromQIODevice(outputDevice)))
}
示例14: SetSourceDevice
func (ptr *QAudioDecoder) SetSourceDevice(device core.QIODevice_ITF) {
if ptr.Pointer() != nil {
C.QAudioDecoder_SetSourceDevice(ptr.Pointer(), core.PointerFromQIODevice(device))
}
}
示例15: SetContent7
func (ptr *QDomDocument) SetContent7(dev core.QIODevice_ITF, errorMsg string, errorLine int, errorColumn int) bool {
if ptr.Pointer() != nil {
return C.QDomDocument_SetContent7(ptr.Pointer(), core.PointerFromQIODevice(dev), C.CString(errorMsg), C.int(errorLine), C.int(errorColumn)) != 0
}
return false
}