summaryrefslogtreecommitdiffstats
path: root/src/imports/nfc/plugin.cpp
diff options
context:
space:
mode:
authorSze Howe Koh <szehowe.koh@gmail.com>2013-10-04 21:53:07 +0800
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-10-04 17:36:53 +0200
commit590fa9441c01ec1acf987091929a4d07d744b72b (patch)
treee6a81ffddb4b9689c48ccf4e193270d2db076c95 /src/imports/nfc/plugin.cpp
parenteefe516bd08771d037afafc833764ebaa6ff213e (diff)
Rename QDeclarativeNdefRecord -> QQmlNdefRecord
The QDeclarative* class prefix is associated with the now-deprecated Qt Declarative module (a.k.a. Qt Quick 1). In Qt Quick 2, all QDeclarative* classes have been renamed to QQml* or QQuick* Also rename the example, QDeclarativeNdefFooRecord -> QQmlNdefFooRecord Change-Id: Ie81a9ea2fdda145ad749afb07ef758f791b278d0 Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
Diffstat (limited to 'src/imports/nfc/plugin.cpp')
-rw-r--r--src/imports/nfc/plugin.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/imports/nfc/plugin.cpp b/src/imports/nfc/plugin.cpp
index dd97e296..6be71c73 100644
--- a/src/imports/nfc/plugin.cpp
+++ b/src/imports/nfc/plugin.cpp
@@ -42,7 +42,7 @@
#include <QtQml/QQmlEngine>
#include <QtQml/QQmlExtensionPlugin>
-#include "qdeclarativendefrecord.h"
+#include "qqmlndefrecord.h"
//#include "qdeclarativenearfieldsocket_p.h"
#include "qdeclarativenearfield_p.h"
#include "qdeclarativendeffilter_p.h"
@@ -71,7 +71,7 @@ public:
qmlRegisterType<QDeclarativeNearField>(uri, major, minor, "NearField");
qmlRegisterType<QDeclarativeNdefFilter>(uri, major, minor, "NdefFilter");
- qmlRegisterType<QDeclarativeNdefRecord>(uri, major, minor, "NdefRecord");
+ qmlRegisterType<QQmlNdefRecord>(uri, major, minor, "NdefRecord");
qmlRegisterType<QDeclarativeNdefTextRecord>(uri, major, minor, "NdefTextRecord");
qmlRegisterType<QDeclarativeNdefUriRecord>(uri, major, minor, "NdefUriRecord");
qmlRegisterType<QDeclarativeNdefMimeRecord>(uri, major, minor, "NdefMimeRecord");