diff options
author | Christian Stenger <christian.stenger@digia.com> | 2012-12-07 10:53:28 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2012-12-07 13:54:33 +0100 |
commit | 1a2fc98242bea4a984e2aaad8c089ed912ee97ba (patch) | |
tree | d8df7f5f21aff43dc2a35aa6ba58927d02174f82 | |
parent | 8a8112429cafaa8532ae4ec5cb711990604de485 (diff) | |
download | qtscript-1a2fc98242bea4a984e2aaad8c089ed912ee97ba.tar.gz |
Doc: Replace outdated macro
Change-Id: I7750e9af3eee8cee5be202094acd1d3efc4b52b0
Reviewed-by: Jerome Pasion <jerome.pasion@digia.com>
-rw-r--r-- | src/script/api/qscriptextensionplugin.cpp | 4 |
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) |