summaryrefslogtreecommitdiffstats
path: root/src/nfc
diff options
context:
space:
mode:
authorAlex Blasche <alexander.blasche@qt.io>2017-04-06 11:13:55 +0200
committerAlex Blasche <alexander.blasche@qt.io>2017-04-06 14:21:31 +0000
commit3d8a43250cf8293578b29b329c2a91d22e2fae79 (patch)
tree020d1eff727185645ff260c65ebed7f804e1de7a /src/nfc
parent94bab4a4a8b42248c44c5de014aa8c8922eec35e (diff)
Fix undocumented parameter warning from qdoc
Undocumented parameter 'isPersistent' in QNearFieldTarget::setKeepConnection() Change-Id: I8959af52d1f966c2951c17528776ef2c8183fc07 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
Diffstat (limited to 'src/nfc')
-rw-r--r--src/nfc/qnearfieldtarget.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/nfc/qnearfieldtarget.cpp b/src/nfc/qnearfieldtarget.cpp
index dff00a0b..e642824b 100644
--- a/src/nfc/qnearfieldtarget.cpp
+++ b/src/nfc/qnearfieldtarget.cpp
@@ -317,10 +317,11 @@ bool QNearFieldTarget::keepConnection() const
/*!
\since 5.9
- Causes QNearFieldTarget to keep the connection after processing a command
- or reading/writing NDEF messages. A call of this function is only needed once.
+ Preserves the connection to the target device after processing a command or
+ reading/writing NDEF messages if \a isPersistent is \c true.
+ By default, this behavior is not enabled.
- Returns true if enabling this feature was successful. A possible
+ Returns \c true if enabling this feature was successful. A possible
reason for a failure is the lack of support on the used platform.
Enabling this feature requires to use the disconnect() function too, to close the