summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAlex Blasche <alexander.blasche@qt.io>2017-06-19 13:06:59 +0200
committerAlex Blasche <alexander.blasche@qt.io>2017-06-20 06:05:53 +0000
commit4986d02c7b844f5fe920abf3932b8f9500e345eb (patch)
tree405246319ff67e13d09d2eb338b4eac8b3f73072 /src
parentdeea474efcf5dc7e2206e3f4f39581b31f9e520a (diff)
Improve qmlchat doc describing the BluetoothSocket handling snippet
Change-Id: I1028bd21ed0950b35ef59598a48e0b274a849d89 Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
Diffstat (limited to 'src')
-rw-r--r--src/imports/bluetooth/qdeclarativebluetoothsocket.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/imports/bluetooth/qdeclarativebluetoothsocket.cpp b/src/imports/bluetooth/qdeclarativebluetoothsocket.cpp
index a8b4a80f..7dbb1556 100644
--- a/src/imports/bluetooth/qdeclarativebluetoothsocket.cpp
+++ b/src/imports/bluetooth/qdeclarativebluetoothsocket.cpp
@@ -297,7 +297,9 @@ void QDeclarativeBluetoothSocket::socket_state(QBluetoothSocket::SocketState sta
\li \c{Bound}
\endlist
- The states are derived from \l QBluetoothSocket::SocketState. This property is read-only.
+ The states (except \c{NoServiceSet}) are derived from \l QBluetoothSocket::SocketState. This property is read-only.
+ \c{NoServiceSet} indicates that the socket state is not yet available due to the \l service not being
+ set yet.
*/
QDeclarativeBluetoothSocket::SocketState QDeclarativeBluetoothSocket::state() const
{