More information will be added here shortly. For now, you'll find more extensive information about this class in the Qt reference for QBluetoothTransferReply
The QBluetoothTransferReply class contains the data and headers for a request sent with QBluetoothTranferManager.
QBluetoothTransferReply is a sequential-access QIODevice, which means that once data is read from the object, it no longer kept by the device. It is therefore the application's responsibility to keep this data if it needs to. Whenever more data is received and processed, the readyRead() signal is emitted.
The downloadProgress() signal is also emitted when data is received, but the number of bytes contained in it may not represent the actual bytes received, if any transformation is done to the contents (for example, decompressing and removing the protocol overhead).
Even though QBluetoothTransferReply is a QIODevice connected to the contents of the reply, it also emits the uploadProgress() signal, which indicates the progress of the upload for operations that have such content.
Public Types Index
Protected Attributes Index
Public Functions Index
|QVariant||attribute (QBluetoothTransferRequest::Attribute code) const|
|TransferError||error () const =0|
|QString||errorString () const =0|
|bool||isFinished () const =0|
|bool||isRunning () const =0|
|QBluetoothTransferManager *||manager () const|
|QBluetoothTransferManager::Operation||operation () const|
Protected Functions Index
Public Slots Index
This enum describes the type of error that occurred.
NoError No error. UnknownError Unknown error, no better enum available FileNotFoundError Unable to open the file specified HostNotFoundError Unable to connect to the target host UserCanceledTransferError User terminated the transfer
- NoError 0
Returns the attribute associated with the code code.
If the attribute has not been set, it returns an invalid QVariant.
String describing the error.
Can be displayed to the user.
Returns true if this reply has finished; otherwise returns false.
Returns true if this reply is running; otherwise returns false.
Returns the type of operation that this reply is for.
Aborts this reply.
This signal is emitted whenever data is received.
The bytesReceived parameter contains the total number of bytes received so far out of bytesTotal expected for the entire transfer.
This signal is emitted when the transfer is complete for reply.
This signal is emitted whenever data is sent.
The bytesSent parameter contains the total number of bytes sent so far out of bytesTotal.
© 2013 Digia Plc and/or its subsidiaries. Documentation contributions included herein are the copyrights of their respective owners.
The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation.
Documentation sources may be obtained from www.qt-project.org.