aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/qml/qqmlextensionplugin.cpp
diff options
context:
space:
mode:
authorChristian Stenger <christian.stenger@digia.com>2013-01-17 09:17:58 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-01-24 09:00:30 +0100
commit1cdbd299884a2978a76d5d4bd4fccf4d64b1d708 (patch)
tree3570abff1aaf9e63eb016bc877c90db23be7172e /src/qml/qml/qqmlextensionplugin.cpp
parent8a4829ef1559787726b576a210dfd0c86b91b249 (diff)
Remove outdated macro usage
Change-Id: I4b58f3d74d7dec9a95a07b907c500990630e7762 Reviewed-by: Jerome Pasion <jerome.pasion@digia.com> Reviewed-by: Kai Koehne <kai.koehne@digia.com>
Diffstat (limited to 'src/qml/qml/qqmlextensionplugin.cpp')
-rw-r--r--src/qml/qml/qqmlextensionplugin.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/qml/qml/qqmlextensionplugin.cpp b/src/qml/qml/qqmlextensionplugin.cpp
index 9f2272a04e..291292fbbe 100644
--- a/src/qml/qml/qqmlextensionplugin.cpp
+++ b/src/qml/qml/qqmlextensionplugin.cpp
@@ -58,8 +58,8 @@ QT_BEGIN_NAMESPACE
To write a QML extension plugin:
\list
- \li Subclass QQmlExtensionPlugin, implement registerTypes() method
- to register types using qmlRegisterType(), and export the class using the Q_EXPORT_PLUGIN2() macro
+ \li Subclass QQmlExtensionPlugin, implement registerTypes() method to register types
+ using qmlRegisterType(), and export the class using the Q_PLUGIN_METADATA() macro
\li Write an appropriate project file for the plugin
\li Create a \l{Module Definition qmldir Files}{qmldir file} to describe the plugin
\endlist
@@ -140,7 +140,7 @@ QT_BEGIN_NAMESPACE
Constructs a QML extension plugin with the given \a parent.
Note that this constructor is invoked automatically by the
- Q_EXPORT_PLUGIN2() macro, so there is no need for calling it
+ Q_PLUGIN_METADATA() macro, so there is no need for calling it
explicitly.
*/
QQmlExtensionPlugin::QQmlExtensionPlugin(QObject *parent)