From b2412843cb53e664248ee15b23c84333895414e3 Mon Sep 17 00:00:00 2001 From: Lars Knoll Date: Sun, 24 Jun 2012 22:12:21 +0200 Subject: Fix docs mentioning Q_EXPORT_PLUGIN2 Fix all remaining places where Q_EXPORT_PLUGIN2 was being used in the documentation. Change-Id: I7be67b83c18545d0e74f250b4b26583444b01909 Reviewed-by: Thiago Macieira --- src/sql/doc/src/sql-driver.qdoc | 2 +- src/sql/kernel/qsqldriverplugin.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src/sql') diff --git a/src/sql/doc/src/sql-driver.qdoc b/src/sql/doc/src/sql-driver.qdoc index 97e9adc5b8..2e6dc55b89 100644 --- a/src/sql/doc/src/sql-driver.qdoc +++ b/src/sql/doc/src/sql-driver.qdoc @@ -817,7 +817,7 @@ To implement a Qt SQL driver as a plugin (so that it is recognized and loaded by the Qt library at runtime), the driver - must use the Q_EXPORT_PLUGIN2() macro. Read \l{How to Create Qt + must use the Q_PLUGIN_METADATA() macro. Read \l{How to Create Qt Plugins} for more information on this. You can also check out how this is done in the SQL plugins that are provided with Qt in \c{QTDIR/src/plugins/sqldrivers} and \c{QTDIR/src/sql/drivers}. diff --git a/src/sql/kernel/qsqldriverplugin.cpp b/src/sql/kernel/qsqldriverplugin.cpp index 34772222f9..71797eb69b 100644 --- a/src/sql/kernel/qsqldriverplugin.cpp +++ b/src/sql/kernel/qsqldriverplugin.cpp @@ -83,7 +83,7 @@ QT_BEGIN_NAMESPACE /*! Constructs a SQL driver plugin and sets the parent to \a parent. - This is invoked automatically by the Q_EXPORT_PLUGIN2() macro. + This is invoked automatically by the moc generated code that exports the plugin. */ QSqlDriverPlugin::QSqlDriverPlugin(QObject *parent) -- cgit v1.2.3