summaryrefslogtreecommitdiffstats
path: root/src/nfc/qndefrecord.cpp
diff options
context:
space:
mode:
authorMichael Zanetti <michael.zanetti@nokia.com>2011-12-09 15:27:12 +0100
committerQt by Nokia <qt-info@nokia.com>2012-01-23 15:57:18 +0100
commitebd7a5d2935b5ab9dd7910dfb104a9e0c0819677 (patch)
tree2bc160feb75abdf72d29591efe301c55ba9b3132 /src/nfc/qndefrecord.cpp
parentf54bd71301325f7e5681be49d81823986f5cbfcd (diff)
added documentation and examples
Change-Id: Ia99e5f8f9579c189379bce1a22de3d58b12ce5fc Reviewed-by: Alex <alex.blasche@nokia.com> Sanity-Review: Alex <alex.blasche@nokia.com>
Diffstat (limited to 'src/nfc/qndefrecord.cpp')
-rw-r--r--src/nfc/qndefrecord.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/nfc/qndefrecord.cpp b/src/nfc/qndefrecord.cpp
index 4d165075..3a2d6734 100644
--- a/src/nfc/qndefrecord.cpp
+++ b/src/nfc/qndefrecord.cpp
@@ -52,8 +52,7 @@ QTNFC_BEGIN_NAMESPACE
\brief The QNdefRecord class provides an NFC NDEF record.
\ingroup connectivity-nfc
- \inmodule QtConnectivity
- \since 5.0
+ \inmodule QtNfc
QNdefRecord and derived classes are used to parse the contents of
\l {QNdefMessage}{NDEF messages} and create new NDEF messages.
@@ -73,7 +72,7 @@ QTNFC_BEGIN_NAMESPACE
to test if a conversion is possible. The following example shows how to test if a QNdefRecord
is an NFC RTD Text record and extract the text information from it.
- \snippet snippets/connectivity/nfc.cpp Record conversion
+ \snippet ../doc/src/snippets/nfc.cpp Record conversion
\section1 Creating specialized NDEF record classes
@@ -82,7 +81,7 @@ QTNFC_BEGIN_NAMESPACE
declaration of the hypothetical \i {example.com:f} record type that encapsulates a single int
property foo.
- \snippet snippets/connectivity/nfc.cpp Specialized class definition
+ \snippet ../doc/src/snippets/nfc.cpp Specialized class definition
The developer only needs to provide implementations for the \c {foo()} and \c {setFoo()}
functions that parse and set the contents of the NDEF record's payload.