diff options
author | Andrew Stanley-Jones <andrew.stanley-jones@nokia.com> | 2010-12-09 11:24:34 +1000 |
---|---|---|
committer | Andrew Stanley-Jones <andrew.stanley-jones@nokia.com> | 2010-12-16 16:32:56 +1000 |
commit | 81b281d27af5230ee628307b87eccd7c2a80c8ca (patch) | |
tree | 743d8f4806fec0990231472d5e43daa24a31be5c /src/connectivity/bluetooth/qbluetoothtransferreply.h | |
parent | 53c068645e0776ec3ac223897bc7d89220c7529a (diff) |
Improve discovery, add OPP bluez
Diffstat (limited to 'src/connectivity/bluetooth/qbluetoothtransferreply.h')
-rw-r--r-- | src/connectivity/bluetooth/qbluetoothtransferreply.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/connectivity/bluetooth/qbluetoothtransferreply.h b/src/connectivity/bluetooth/qbluetoothtransferreply.h index 39e27e091e..b0334f98bc 100644 --- a/src/connectivity/bluetooth/qbluetoothtransferreply.h +++ b/src/connectivity/bluetooth/qbluetoothtransferreply.h @@ -60,13 +60,13 @@ public: NoError = 0, UnknownError, FileNotFoundError, - HostNotFoundError + HostNotFoundError, + UserCancelledTransferError }; ~QBluetoothTransferReply(); - virtual void abort() = 0; QVariant attribute(QBluetoothTransferRequest::Attribute code) const; virtual bool isFinished() const = 0; virtual bool isRunning() const = 0; @@ -83,6 +83,9 @@ public: virtual TransferError error() const = 0; virtual QString errorString() const = 0; +public Q_SLOTS: + void abort(); + signals: void downloadProgress(qint64 bytesReceived, qint64 bytesTotal); void finished(QBluetoothTransferReply *); |