summaryrefslogtreecommitdiff
path: root/src/dialogs
diff options
context:
space:
mode:
authorJ-P Nurmi <jpnurmi@qt.io>2016-05-06 13:40:35 +0200
committerJ-P Nurmi <jpnurmi@qt.io>2016-05-06 13:40:45 +0000
commit57a7bc73545b137dccc098bc07aeaf9dd9bf8207 (patch)
tree013fe84078c4eb68405e94a1c12c39bf962c2e8b /src/dialogs
parentf6cbeec9c2ba867eddc103a8c197b3e091092def (diff)
downloadqtquickcontrols-57a7bc73545b137dccc098bc07aeaf9dd9bf8207.tar.gz
Cleanup QQmlExtensionInterface usage
Use the pre-defined macro. Change-Id: I52e362672ff719202d3e40e4245baac2af29f624 Task-number: QTBUG-53208 Reviewed-by: Simon Hausmann <simon.hausmann@theqtcompany.com>
Diffstat (limited to 'src/dialogs')
-rw-r--r--src/dialogs/Private/dialogsprivateplugin.cpp2
-rw-r--r--src/dialogs/plugin.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/dialogs/Private/dialogsprivateplugin.cpp b/src/dialogs/Private/dialogsprivateplugin.cpp
index aabce71f..40aeefff 100644
--- a/src/dialogs/Private/dialogsprivateplugin.cpp
+++ b/src/dialogs/Private/dialogsprivateplugin.cpp
@@ -44,7 +44,7 @@ QT_BEGIN_NAMESPACE
class QtQuick2DialogsPrivatePlugin : public QQmlExtensionPlugin
{
Q_OBJECT
- Q_PLUGIN_METADATA(IID "org.qt-project.Qt.QQmlExtensionInterface/1.0")
+ Q_PLUGIN_METADATA(IID QQmlExtensionInterface_iid)
public:
virtual void registerTypes(const char *uri)
diff --git a/src/dialogs/plugin.cpp b/src/dialogs/plugin.cpp
index 65740024..21284697 100644
--- a/src/dialogs/plugin.cpp
+++ b/src/dialogs/plugin.cpp
@@ -84,7 +84,7 @@ QT_BEGIN_NAMESPACE
class QtQuick2DialogsPlugin : public QQmlExtensionPlugin
{
Q_OBJECT
- Q_PLUGIN_METADATA(IID "org.qt-project.Qt.QQmlExtensionInterface/1.0")
+ Q_PLUGIN_METADATA(IID QQmlExtensionInterface_iid)
public:
QtQuick2DialogsPlugin() : QQmlExtensionPlugin(), m_useResources(true) { }