summaryrefslogtreecommitdiffstats
path: root/src/bluetooth/qbluetoothtransferreply_qnx_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/bluetooth/qbluetoothtransferreply_qnx_p.h')
-rw-r--r--src/bluetooth/qbluetoothtransferreply_qnx_p.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/bluetooth/qbluetoothtransferreply_qnx_p.h b/src/bluetooth/qbluetoothtransferreply_qnx_p.h
index 4522c8bf..903545c2 100644
--- a/src/bluetooth/qbluetoothtransferreply_qnx_p.h
+++ b/src/bluetooth/qbluetoothtransferreply_qnx_p.h
@@ -50,11 +50,12 @@
#include "qbluetoothtransferreply.h"
-#include <QTemporaryFile>
#include <QSocketNotifier>
#include "qnx/ppshelpers_p.h"
+QT_FORWARD_DECLARE_CLASS(QFile)
+
QT_BEGIN_NAMESPACE
class Q_BLUETOOTH_EXPORT QBluetoothTransferReplyQnx : public QBluetoothTransferReply
@@ -80,7 +81,8 @@ private Q_SLOTS:
private:
void startOPP(QString filename);
- QTemporaryFile *tempfile;
+ void removeTempFile();
+ QFile *tempfile;
QIODevice *source;
bool m_running;