summaryrefslogtreecommitdiff
path: root/src/script/api
diff options
context:
space:
mode:
Diffstat (limited to 'src/script/api')
-rw-r--r--src/script/api/qscriptextensionplugin.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/script/api/qscriptextensionplugin.cpp b/src/script/api/qscriptextensionplugin.cpp
index 4926ca5..f63cb4f 100644
--- a/src/script/api/qscriptextensionplugin.cpp
+++ b/src/script/api/qscriptextensionplugin.cpp
@@ -41,7 +41,7 @@ QT_BEGIN_NAMESPACE
Writing a script extension plugin is achieved by subclassing this
base class, reimplementing the pure virtual keys() and initialize()
- functions, and exporting the class using the Q_EXPORT_PLUGIN2()
+ functions, and exporting the class using the Q_PLUGIN_METADATA()
macro. See \l {How to Create Qt Plugins} for details.
\sa QScriptEngine::importExtension(), {Creating QtScript Extensions}
@@ -71,7 +71,7 @@ QT_BEGIN_NAMESPACE
Constructs a script 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.
*/
QScriptExtensionPlugin::QScriptExtensionPlugin(QObject *parent)