summaryrefslogtreecommitdiffstats
path: root/src/nfc/qndefnfctextrecord.h
diff options
context:
space:
mode:
authorAlex Blasche <alexander.blasche@digia.com>2013-06-19 12:26:48 +0200
committerAlex <alexander.blasche@digia.com>2013-06-20 11:21:58 +0200
commit68c4041d39658fe615cc4366e52ba8a439aae66f (patch)
tree33ca553b1af123a9175d7f36055acd90f861d7d2 /src/nfc/qndefnfctextrecord.h
parentc11663a36b4baceb0af9bd87c6c1df76d69d72ca (diff)
Improve/Fix QtNFC documentation
Fix qdoc warnings, snippet imports and proper documentation versioning Change-Id: Id1799ec67bf0fe6fe44c16b1ca314d8db8892bb1 Reviewed-by: Jerome Pasion <jerome.pasion@digia.com>
Diffstat (limited to 'src/nfc/qndefnfctextrecord.h')
-rw-r--r--src/nfc/qndefnfctextrecord.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/nfc/qndefnfctextrecord.h b/src/nfc/qndefnfctextrecord.h
index 5fe593ba..b56c0cff 100644
--- a/src/nfc/qndefnfctextrecord.h
+++ b/src/nfc/qndefnfctextrecord.h
@@ -47,10 +47,19 @@
QT_BEGIN_NAMESPACE_NFC
+#ifdef Q_QDOC
+// workaround for qdoc parsing error in namespaced classes (see QTBUG-31851)
+class ForcePrivateForQDoc;
+#endif
class Q_NFC_EXPORT QNdefNfcTextRecord : public QNdefRecord
{
public:
+#ifndef Q_QDOC
Q_DECLARE_NDEF_RECORD(QNdefNfcTextRecord, QNdefRecord::NfcRtd, "T", QByteArray(1, char(0)))
+#else
+ QNdefNfcTextRecord();
+ QNdefNfcTextRecord(const QNdefRecord& other);
+#endif
QString locale() const;
void setLocale(const QString &locale);