diff options
author | Alex Blasche <alexander.blasche@theqtcompany.com> | 2015-06-15 16:58:54 +0200 |
---|---|---|
committer | Alex Blasche <alexander.blasche@theqtcompany.com> | 2015-06-17 08:13:47 +0000 |
commit | affa5a5ebfdba54a926c62c6ff4af9a76022d5bb (patch) | |
tree | b2b6c7f705041ea96177ededfc2325539a530b31 /src/bluetooth/qbluetoothserver.cpp | |
parent | 93c13b214bbd5f72d88e537b4833d5d0654830c7 (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/qbluetoothserver.cpp')
-rw-r--r-- | src/bluetooth/qbluetoothserver.cpp | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/src/bluetooth/qbluetoothserver.cpp b/src/bluetooth/qbluetoothserver.cpp index 01f6fc37..7afce73e 100644 --- a/src/bluetooth/qbluetoothserver.cpp +++ b/src/bluetooth/qbluetoothserver.cpp @@ -126,8 +126,6 @@ QT_BEGIN_NAMESPACE Sets the maximum number of pending connections to \a numConnections. If the number of pending sockets exceeds this limit new sockets will be rejected. - QNX platform supports only one device at the time and it will ignore this value. - \sa maxPendingConnections() */ @@ -152,7 +150,7 @@ QT_BEGIN_NAMESPACE /*! \fn quint16 QBluetoothServer::serverPort() const - Returns the server port number. On BlackBerry, this port might not correspond to the real RFCOMM port. + Returns the server port number. */ /*! @@ -253,10 +251,7 @@ bool QBluetoothServer::isListening() const { Q_D(const QBluetoothServer); -#ifdef QT_QNX_BLUETOOTH - if (!d->socket) - return false; -#elif defined(QT_ANDROID_BLUETOOTH) +#ifdef QT_ANDROID_BLUETOOTH return d->isListening(); #endif @@ -284,8 +279,6 @@ int QBluetoothServer::maxPendingConnections() const Android only supports two levels of security (secure and non-secure). If this flag is set to \l QBluetooth::NoSecurity the server object will not employ any authentication or encryption. Any other security flag combination will trigger a secure Bluetooth connection. - - On BlackBerry, security flags are not supported and will be ignored. */ /*! |