summaryrefslogtreecommitdiffstats
path: root/src/bluetooth/qbluetoothserver.cpp
diff options
context:
space:
mode:
authorFabian Bumberger <fbumberger@rim.com>2013-09-16 21:44:40 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-09-18 17:24:25 +0200
commit4810f41772cd0b86f04064f556d2c88cdc4a548f (patch)
tree3fd385e167f2fafd3244c098dabee7f1a7b0444b /src/bluetooth/qbluetoothserver.cpp
parent8e86bc19f4be7d2d01181ab45a8cadd4320887ec (diff)
BlackBerry: Add some platform documentation
Change-Id: If2a8d289578f3bc7622cedd9faf35893880a2157 Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
Diffstat (limited to 'src/bluetooth/qbluetoothserver.cpp')
-rw-r--r--src/bluetooth/qbluetoothserver.cpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/bluetooth/qbluetoothserver.cpp b/src/bluetooth/qbluetoothserver.cpp
index ee94e110..5a5144d1 100644
--- a/src/bluetooth/qbluetoothserver.cpp
+++ b/src/bluetooth/qbluetoothserver.cpp
@@ -62,6 +62,8 @@ QT_BEGIN_NAMESPACE
applicable attributes for your service and register it using QBluetoothServiceInfo::registerService().
Call serverPort() to get the channel number that is being used.
+ If the \l QBluetoothServer::ServerType is not supported by a platform, \l listen() will return \c false.
+
\sa QBluetoothServiceInfo, QBluetoothSocket
*/
@@ -70,7 +72,7 @@ QT_BEGIN_NAMESPACE
This enum describes the Bluetooth server type.
- \value L2capServer L2CAP server.
+ \value L2capServer L2CAP server (Not supported on BlackBerry).
\value RfcommServer RFCOMM server.
*/
@@ -131,7 +133,7 @@ QT_BEGIN_NAMESPACE
/*!
\fn quint16 QBluetoothServer::serverPort() const
- Returns the server port number.
+ Returns the server port number. On BlackBerry, this port might not correspond to the real RFCOMM port.
*/
/*!
@@ -241,6 +243,7 @@ int QBluetoothServer::maxPendingConnections() const
/*!
\fn QBluetoothServer::setSecurityFlags(QBluetooth::SecurityFlags security)
Sets the Bluetooth security flags to \a security. This function must be called before calling listen().
+ On BlackBerry, security flags are not supported and will be ignored.
*/
/*!