generic: prepare for Katie changes

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
Ivailo Monev 2022-11-14 15:50:30 +02:00
parent 8611f36591
commit 8e5dd5ea50
8 changed files with 8 additions and 8 deletions

View file

@ -74,7 +74,7 @@ KComponentData name::componentData() \
* \relates KPluginLoader
* This macro exports the main object of the plugin. Most times, this will be a KPluginFactory
* or derived class, but any QObject derived class can be used.
* Take a look at the documentation of Q_EXPORT_PLUGIN2 for some details.
* Take a look at the documentation of Q_EXPORT_PLUGIN for some details.
*
* @ingroup KDEMacros
*/

View file

@ -38,7 +38,7 @@ static const char collClassDef[] = "class %CollName : public QCustomWidgetPlugin
"private:\n"
" QList<QCustomWidget*> m_plugins;\n"
"};\n\n"
"Q_EXPORT_PLUGIN2(%CollName, %CollName)\n\n";
"Q_EXPORT_PLUGIN(%CollName)\n\n";
static const char collClassImpl[] = "%CollName::%CollName(QObject *parent)\n"
" : QCustomWidgetPlugin(parent)"

View file

@ -437,4 +437,4 @@ QImageIOHandler *ICOPlugin::create(QIODevice *device, const QByteArray &format)
return handler;
}
Q_EXPORT_PLUGIN2(ico, ICOPlugin)
Q_EXPORT_PLUGIN(ICOPlugin)

View file

@ -326,4 +326,4 @@ QImageIOHandler *JP2Plugin::create(QIODevice *device, const QByteArray &format)
return handler;
}
Q_EXPORT_PLUGIN2(jp2, JP2Plugin)
Q_EXPORT_PLUGIN(JP2Plugin)

View file

@ -277,4 +277,4 @@ QImageIOHandler *JPGPlugin::create(QIODevice *device, const QByteArray &format)
return handler;
}
Q_EXPORT_PLUGIN2(jpg, JPGPlugin)
Q_EXPORT_PLUGIN(JPGPlugin)

View file

@ -341,4 +341,4 @@ QImageIOHandler *RAWPlugin::create(QIODevice *device, const QByteArray &format)
return handler;
}
Q_EXPORT_PLUGIN2(raw, RAWPlugin)
Q_EXPORT_PLUGIN(RAWPlugin)

View file

@ -301,4 +301,4 @@ QImageIOHandler *TIFFPlugin::create(QIODevice *device, const QByteArray &format)
return handler;
}
Q_EXPORT_PLUGIN2(tiff, TIFFPlugin)
Q_EXPORT_PLUGIN(TIFFPlugin)

View file

@ -324,4 +324,4 @@ QImageIOHandler *WebPPlugin::create(QIODevice *device, const QByteArray &format)
return handler;
}
Q_EXPORT_PLUGIN2(webp, WebPPlugin)
Q_EXPORT_PLUGIN(WebPPlugin)