summaryrefslogtreecommitdiffstats
path: root/src/bluetooth/qbluetoothlocaldevice_p.h
diff options
context:
space:
mode:
authorAlex Blasche <alexander.blasche@theqtcompany.com>2015-06-15 16:58:54 +0200
committerAlex Blasche <alexander.blasche@theqtcompany.com>2015-06-17 08:13:47 +0000
commitaffa5a5ebfdba54a926c62c6ff4af9a76022d5bb (patch)
treeb2b6c7f705041ea96177ededfc2325539a530b31 /src/bluetooth/qbluetoothlocaldevice_p.h
parent93c13b214bbd5f72d88e537b4833d5d0654830c7 (diff)
Remove QNX/BlackBerry implementation for QtBluetooth
[ChangeLog][QtBluetooth][Platform Specific Changes] Removed support for Blackberry 10. Change-Id: I431c4f34bb10aa3668542df7a8b3403b61bf4705 Reviewed-by: Rafael Roquetto <rafael.roquetto@kdab.com> Reviewed-by: Lars Knoll <lars.knoll@theqtcompany.com>
Diffstat (limited to 'src/bluetooth/qbluetoothlocaldevice_p.h')
-rw-r--r--src/bluetooth/qbluetoothlocaldevice_p.h41
1 files changed, 1 insertions, 40 deletions
diff --git a/src/bluetooth/qbluetoothlocaldevice_p.h b/src/bluetooth/qbluetoothlocaldevice_p.h
index c47ceb9e..1d4db40d 100644
--- a/src/bluetooth/qbluetoothlocaldevice_p.h
+++ b/src/bluetooth/qbluetoothlocaldevice_p.h
@@ -69,11 +69,8 @@ class OrgBluezManagerInterface;
QT_BEGIN_NAMESPACE
class QDBusPendingCallWatcher;
QT_END_NAMESPACE
-
-#elif defined(QT_QNX_BLUETOOTH)
-#include <QSocketNotifier>
-#include "qnx/ppshelpers_p.h"
#endif
+
#ifdef QT_ANDROID_BLUETOOTH
#include <jni.h>
#include <QtAndroidExtras/QAndroidJniEnvironment>
@@ -201,42 +198,6 @@ private:
void initializeAdapter();
void initializeAdapterBluez5();
};
-
-#elif defined(QT_QNX_BLUETOOTH)
-
-class QBluetoothLocalDevicePrivate : public QObject
-{
- Q_OBJECT
- Q_DECLARE_PUBLIC(QBluetoothLocalDevice)
-public:
- QBluetoothLocalDevicePrivate(QBluetoothLocalDevice *);
- ~QBluetoothLocalDevicePrivate();
-
- static QString name();
- static QBluetoothAddress address();
-
- void powerOn();
- void powerOff();
-
- void setHostMode(QBluetoothLocalDevice::HostMode mode);
- QBluetoothLocalDevice::HostMode hostMode() const;
-
- void requestPairing(const QBluetoothAddress &address, QBluetoothLocalDevice::Pairing pairing);
-
- void setAccess(int);
- // This method will be used for emitting signals.
- void connectedDevices();
-
- Q_INVOKABLE void controlReply(ppsResult res);
- Q_INVOKABLE void controlEvent(ppsResult res);
-
- bool isValid() const;
-
-private:
- QBluetoothLocalDevice *q_ptr;
- bool isValidDevice;
- QList<QBluetoothAddress> connectedDevicesSet;
-};
#elif !defined(QT_OSX_BLUETOOTH)
class QBluetoothLocalDevicePrivate : public QObject
{