summaryrefslogtreecommitdiffstats
path: root/src/bluetooth/qbluetoothtransferreply.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/bluetooth/qbluetoothtransferreply.h')
-rw-r--r--src/bluetooth/qbluetoothtransferreply.h12
1 files changed, 4 insertions, 8 deletions
diff --git a/src/bluetooth/qbluetoothtransferreply.h b/src/bluetooth/qbluetoothtransferreply.h
index 00469881..f9200c05 100644
--- a/src/bluetooth/qbluetoothtransferreply.h
+++ b/src/bluetooth/qbluetoothtransferreply.h
@@ -67,31 +67,27 @@ public:
~QBluetoothTransferReply();
- QVariant attribute(QBluetoothTransferRequest::Attribute code) const;
virtual bool isFinished() const = 0;
virtual bool isRunning() const = 0;
QBluetoothTransferManager *manager() const;
- QBluetoothTransferManager::Operation operation() const;
-
virtual TransferError error() const = 0;
virtual QString errorString() const = 0;
+ QBluetoothTransferRequest request() const;
+
public Q_SLOTS:
void abort();
Q_SIGNALS:
- void downloadProgress(qint64 bytesReceived, qint64 bytesTotal);
void finished(QBluetoothTransferReply *);
- void uploadProgress(qint64 bytesSent, qint64 bytesTotal);
+ void transferProgress(qint64 bytesTransferred, qint64 bytesTotal);
protected:
explicit QBluetoothTransferReply(QObject *parent = 0);
- void setAttribute(QBluetoothTransferRequest::Attribute code, const QVariant &value);
- void setOperation(QBluetoothTransferManager::Operation operation);
void setManager(QBluetoothTransferManager *manager);
-// void setRequest(QBluetoothTransferRequest *request);
+ void setRequest(const QBluetoothTransferRequest &request);
protected:
QBluetoothTransferReplyPrivate *d_ptr;