本文整理汇总了Golang中github.com/therecipe/qt/core.PointerFromQIODevice函数的典型用法代码示例。如果您正苦于以下问题:Golang PointerFromQIODevice函数的具体用法?Golang PointerFromQIODevice怎么用?Golang PointerFromQIODevice使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了PointerFromQIODevice函数的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的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
}
开发者ID:mouse225,项目名称:qt,代码行数:8,代码来源:uitools.go
示例2: SetDevice
func (ptr *QNmeaPositionInfoSource) SetDevice(device core.QIODevice_ITF) {
if ptr.Pointer() != nil {
C.QNmeaPositionInfoSource_SetDevice(ptr.Pointer(), core.PointerFromQIODevice(device))
}
}
开发者ID:xland,项目名称:qt,代码行数:5,代码来源:qnmeapositioninfosource.go
示例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))
}
}
开发者ID:xland,项目名称:qt,代码行数:5,代码来源:qmediaplaylist.go
示例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))
}
}
开发者ID:xland,项目名称:qt,代码行数:5,代码来源:qxmlquery.go
示例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
}
开发者ID:xland,项目名称:qt,代码行数:6,代码来源:qxmlquery.go
示例6: SetBodyDevice
func (ptr *QHttpPart) SetBodyDevice(device core.QIODevice_ITF) {
if ptr.Pointer() != nil {
C.QHttpPart_SetBodyDevice(ptr.Pointer(), core.PointerFromQIODevice(device))
}
}
开发者ID:xland,项目名称:qt,代码行数:5,代码来源:qhttppart.go
示例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
}
开发者ID:xland,项目名称:qt,代码行数:6,代码来源:qpixmap.go
示例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
}
开发者ID:xland,项目名称:qt,代码行数:6,代码来源:qpicture.go
示例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
}
开发者ID:xland,项目名称:qt,代码行数:6,代码来源:qnetworkaccessmanager.go
示例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)))
}
开发者ID:xland,项目名称:qt,代码行数:3,代码来源:qmovie.go
示例11: NewQPdfWriter2
func NewQPdfWriter2(device core.QIODevice_ITF) *QPdfWriter {
return NewQPdfWriterFromPointer(C.QPdfWriter_NewQPdfWriter2(core.PointerFromQIODevice(device)))
}
开发者ID:xland,项目名称:qt,代码行数:3,代码来源:qpdfwriter.go
示例12: SetDevice
func (ptr *QMovie) SetDevice(device core.QIODevice_ITF) {
if ptr.Pointer() != nil {
C.QMovie_SetDevice(ptr.Pointer(), core.PointerFromQIODevice(device))
}
}
开发者ID:xland,项目名称:qt,代码行数:5,代码来源:qmovie.go
示例13: NewQXmlFormatter
func NewQXmlFormatter(query QXmlQuery_ITF, outputDevice core.QIODevice_ITF) *QXmlFormatter {
return NewQXmlFormatterFromPointer(C.QXmlFormatter_NewQXmlFormatter(PointerFromQXmlQuery(query), core.PointerFromQIODevice(outputDevice)))
}
开发者ID:xland,项目名称:qt,代码行数:3,代码来源:qxmlformatter.go
示例14: SetSourceDevice
func (ptr *QAudioDecoder) SetSourceDevice(device core.QIODevice_ITF) {
if ptr.Pointer() != nil {
C.QAudioDecoder_SetSourceDevice(ptr.Pointer(), core.PointerFromQIODevice(device))
}
}
开发者ID:xland,项目名称:qt,代码行数:5,代码来源:qaudiodecoder.go
示例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
}
开发者ID:xland,项目名称:qt,代码行数:6,代码来源:qdomdocument.go
示例16: SendCustomRequest
func (ptr *QNetworkAccessManager) SendCustomRequest(request QNetworkRequest_ITF, verb core.QByteArray_ITF, data core.QIODevice_ITF) *QNetworkReply {
if ptr.Pointer() != nil {
return NewQNetworkReplyFromPointer(C.QNetworkAccessManager_SendCustomRequest(ptr.Pointer(), PointerFromQNetworkRequest(request), core.PointerFromQByteArray(verb), core.PointerFromQIODevice(data)))
}
return nil
}
开发者ID:xland,项目名称:qt,代码行数:6,代码来源:qnetworkaccessmanager.go
示例17: SetContent3
func (ptr *QDomDocument) SetContent3(dev core.QIODevice_ITF, namespaceProcessing bool, errorMsg string, errorLine int, errorColumn int) bool {
if ptr.Pointer() != nil {
return C.QDomDocument_SetContent3(ptr.Pointer(), core.PointerFromQIODevice(dev), C.int(qt.GoBoolToInt(namespaceProcessing)), C.CString(errorMsg), C.int(errorLine), C.int(errorColumn)) != 0
}
return false
}
开发者ID:xland,项目名称:qt,代码行数:6,代码来源:qdomdocument.go
示例18: QImageReader_ImageFormat3
func QImageReader_ImageFormat3(device core.QIODevice_ITF) *core.QByteArray {
return core.NewQByteArrayFromPointer(C.QImageReader_QImageReader_ImageFormat3(core.PointerFromQIODevice(device)))
}
开发者ID:xland,项目名称:qt,代码行数:3,代码来源:qimagereader.go
示例19: Put
func (ptr *QBluetoothTransferManager) Put(request QBluetoothTransferRequest_ITF, data core.QIODevice_ITF) *QBluetoothTransferReply {
if ptr.Pointer() != nil {
return NewQBluetoothTransferReplyFromPointer(C.QBluetoothTransferManager_Put(ptr.Pointer(), PointerFromQBluetoothTransferRequest(request), core.PointerFromQIODevice(data)))
}
return nil
}
开发者ID:xland,项目名称:qt,代码行数:6,代码来源:qbluetoothtransfermanager.go
示例20: SetDevice
func (ptr *QImageReader) SetDevice(device core.QIODevice_ITF) {
if ptr.Pointer() != nil {
C.QImageReader_SetDevice(ptr.Pointer(), core.PointerFromQIODevice(device))
}
}
开发者ID:xland,项目名称:qt,代码行数:5,代码来源:qimagereader.go
注:本文中的github.com/therecipe/qt/core.PointerFromQIODevice函数示例由纯净天空整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论