summaryrefslogtreecommitdiffstats
path: root/src/nfc/qndefnfcurirecord.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/qndefnfcurirecord.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/qndefnfcurirecord.h')
-rw-r--r--src/nfc/qndefnfcurirecord.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/nfc/qndefnfcurirecord.h b/src/nfc/qndefnfcurirecord.h
index 8d852b35..d83967ca 100644
--- a/src/nfc/qndefnfcurirecord.h
+++ b/src/nfc/qndefnfcurirecord.h
@@ -49,10 +49,19 @@ QT_FORWARD_DECLARE_CLASS(QUrl)
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 QNdefNfcUriRecord : public QNdefRecord
{
public:
+#ifndef Q_QDOC
Q_DECLARE_NDEF_RECORD(QNdefNfcUriRecord, QNdefRecord::NfcRtd, "U", QByteArray(0, char(0)))
+#else
+ QNdefNfcUriRecord();
+ QNdefNfcUriRecord(const QNdefRecord& other);
+#endif
QUrl uri() const;
void setUri(const QUrl &uri);