summaryrefslogtreecommitdiffstats
path: root/src/bluetooth/qbluetoothlocaldevice_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/bluetooth/qbluetoothlocaldevice_p.h')
-rw-r--r--src/bluetooth/qbluetoothlocaldevice_p.h29
1 files changed, 29 insertions, 0 deletions
diff --git a/src/bluetooth/qbluetoothlocaldevice_p.h b/src/bluetooth/qbluetoothlocaldevice_p.h
index e69f9e87..b20f0bc5 100644
--- a/src/bluetooth/qbluetoothlocaldevice_p.h
+++ b/src/bluetooth/qbluetoothlocaldevice_p.h
@@ -59,6 +59,9 @@ QT_BEGIN_NAMESPACE
class QDBusPendingCallWatcher;
QT_END_NAMESPACE
+#elif defined(QTM_QNX_BLUETOOTH)
+#include <QSocketNotifier>
+#include "qnx/ppshelpers_p.h"
#endif
QT_BEGIN_HEADER
@@ -109,6 +112,32 @@ private:
void initializeAdapter();
};
+#elif defined(QTM_QNX_BLUETOOTH)
+
+class QBluetoothLocalDevicePrivate : public QObject
+{
+ Q_OBJECT
+ Q_DECLARE_PUBLIC(QBluetoothLocalDevice)
+public:
+ QBluetoothLocalDevicePrivate();
+ ~QBluetoothLocalDevicePrivate();
+
+ static QString name();
+ static QBluetoothAddress address();
+
+ void powerOn();
+ void powerOff();
+
+ void setHostMode(QBluetoothLocalDevice::HostMode mode);
+ QBluetoothLocalDevice::HostMode hostMode() const;
+
+ void setAccess(int);
+
+ Q_INVOKABLE void controlReply(ppsResult res);
+
+private:
+ QBluetoothLocalDevice *q_ptr;
+};
#else
class QBluetoothLocalDevicePrivate : public QObject
{