summaryrefslogtreecommitdiffstats
path: root/examples/nfc/annotatedurl/annotatedurl.h
diff options
context:
space:
mode:
authorAndrew O'Doherty <andrew.odoherty@qt.io>2017-12-20 15:38:06 +0100
committerAndrew O'Doherty <andrew.odoherty@qt.io>2018-02-01 11:55:14 +0000
commit1187c4cfcb8b02e499802331b8fe31dc2c17f53e (patch)
tree370426b3997d7875ec42323f2155d195dbacc4b7 /examples/nfc/annotatedurl/annotatedurl.h
parent39a7ba2d666c52c3dd732483619cadf6b7a49d60 (diff)
Revamp Qt NFC examples: annotatedurl example
Align QtNfc Module examples to QML and c++ coding conventions. This commit is focused on the annotatedurl example. Task-number: QTBUG-60644 Change-Id: Ia8e847fe270a677812a75827945a1e85d6c1d1a9 Reviewed-by: Maurice Kalinowski <maurice.kalinowski@qt.io>
Diffstat (limited to 'examples/nfc/annotatedurl/annotatedurl.h')
-rw-r--r--examples/nfc/annotatedurl/annotatedurl.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/examples/nfc/annotatedurl/annotatedurl.h b/examples/nfc/annotatedurl/annotatedurl.h
index f4fe2ab9..e62b9d08 100644
--- a/examples/nfc/annotatedurl/annotatedurl.h
+++ b/examples/nfc/annotatedurl/annotatedurl.h
@@ -51,7 +51,7 @@
#ifndef ANNOTATEDURL_H
#define ANNOTATEDURL_H
-#include <QNdefMessage>
+#include <QtNfc/QNdefMessage>
#include <QtCore/QObject>
@@ -60,8 +60,6 @@ QT_FORWARD_DECLARE_CLASS(QPixmap)
QT_FORWARD_DECLARE_CLASS(QNearFieldManager)
QT_FORWARD_DECLARE_CLASS(QNearFieldTarget)
-QT_USE_NAMESPACE
-
class AnnotatedUrl : public QObject
{
Q_OBJECT