summaryrefslogtreecommitdiffstats
path: root/src/bluetooth/qbluetoothtransferreply_bluez_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/bluetooth/qbluetoothtransferreply_bluez_p.h')
-rw-r--r--src/bluetooth/qbluetoothtransferreply_bluez_p.h19
1 files changed, 6 insertions, 13 deletions
diff --git a/src/bluetooth/qbluetoothtransferreply_bluez_p.h b/src/bluetooth/qbluetoothtransferreply_bluez_p.h
index a3556bea..941b024c 100644
--- a/src/bluetooth/qbluetoothtransferreply_bluez_p.h
+++ b/src/bluetooth/qbluetoothtransferreply_bluez_p.h
@@ -61,27 +61,22 @@ class Q_BLUETOOTH_EXPORT QBluetoothTransferReplyBluez : public QBluetoothTransfe
Q_OBJECT
public:
- explicit QBluetoothTransferReplyBluez(QIODevice *input, QObject *parent = 0);
+ explicit QBluetoothTransferReplyBluez(QIODevice *input, const QBluetoothTransferRequest &request,
+ QObject *parent = 0);
~QBluetoothTransferReplyBluez();
- QVariant attribute(QBluetoothTransferRequest::Attribute code) const;
bool isFinished() const;
bool isRunning() const;
- bool start();
-
- void startOPP(QString filename);
-
- void setAddress(const QBluetoothAddress &address);
-
QBluetoothTransferReply::TransferError error() const;
QString errorString() const;
-protected:
- qint64 readData(char*, qint64);
- qint64 writeData(const char*, qint64);
+private Q_SLOTS:
+ bool start();
private:
+ void startOPP(QString filename);
+
OrgOpenobexClientInterface *client;
OrgOpenobexManagerInterface *manager;
AgentAdaptor *agent;
@@ -94,8 +89,6 @@ private:
quint64 m_size;
- QBluetoothAddress address;
-
QBluetoothTransferReply::TransferError m_error;
QString m_errorStr;