summaryrefslogtreecommitdiffstats
path: root/src/imports/nfc/qdeclarativendeftextrecord.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/imports/nfc/qdeclarativendeftextrecord.cpp')
-rw-r--r--src/imports/nfc/qdeclarativendeftextrecord.cpp11
1 files changed, 5 insertions, 6 deletions
diff --git a/src/imports/nfc/qdeclarativendeftextrecord.cpp b/src/imports/nfc/qdeclarativendeftextrecord.cpp
index 7542edf0..bd63aa2b 100644
--- a/src/imports/nfc/qdeclarativendeftextrecord.cpp
+++ b/src/imports/nfc/qdeclarativendeftextrecord.cpp
@@ -45,17 +45,16 @@
/*!
\qmltype NdefTextRecord
- \brief The NdefTextRecord type represents an NFC RTD-Text NDEF record.
+ \since 5.2
+ \brief Represents an NFC RTD-Text NDEF record.
\ingroup nfc-qml
- \inqmlmodule QtNfc 5.0
+ \inqmlmodule QtNfc
\inherits NdefRecord
\sa QNdefNfcTextRecord
- The NdefTextRecord type was introduced in \b {QtNfc 5.0}.
-
The NdefTextRecord type contains a localized piece of text that can be display to the user.
An NDEF message may contain many text records for different locales, it is up to the
application to select the most appropriate one to display to the user. The localeMatch
@@ -108,12 +107,12 @@
Q_DECLARE_NDEFRECORD(QDeclarativeNdefTextRecord, QNdefRecord::NfcRtd, "T")
QDeclarativeNdefTextRecord::QDeclarativeNdefTextRecord(QObject *parent)
-: QDeclarativeNdefRecord(QNdefNfcTextRecord(), parent)
+: QQmlNdefRecord(QNdefNfcTextRecord(), parent)
{
}
QDeclarativeNdefTextRecord::QDeclarativeNdefTextRecord(const QNdefRecord &record, QObject *parent)
-: QDeclarativeNdefRecord(QNdefNfcTextRecord(record), parent)
+: QQmlNdefRecord(QNdefNfcTextRecord(record), parent)
{
}