summaryrefslogtreecommitdiffstats
path: root/examples/nfc/ndefeditor/mainwindow.h
diff options
context:
space:
mode:
Diffstat (limited to 'examples/nfc/ndefeditor/mainwindow.h')
-rw-r--r--examples/nfc/ndefeditor/mainwindow.h14
1 files changed, 4 insertions, 10 deletions
diff --git a/examples/nfc/ndefeditor/mainwindow.h b/examples/nfc/ndefeditor/mainwindow.h
index e16a44a4..9018cbfb 100644
--- a/examples/nfc/ndefeditor/mainwindow.h
+++ b/examples/nfc/ndefeditor/mainwindow.h
@@ -51,18 +51,12 @@
#ifndef MAINWINDOW_H
#define MAINWINDOW_H
-#include <QMainWindow>
+#include <QtNfc/qnearfieldtarget.h>
-#include <qnfcglobal.h>
+#include <QtWidgets/QMainWindow>
-#include <qnearfieldtarget.h>
-
-QT_BEGIN_NAMESPACE
-class QNearFieldManager;
-class QNdefMessage;
-QT_END_NAMESPACE
-
-QT_USE_NAMESPACE
+QT_FORWARD_DECLARE_CLASS(QNearFieldManager)
+QT_FORWARD_DECLARE_CLASS(QNdefMessage)
QT_BEGIN_NAMESPACE
namespace Ui {