Commit 51f49171 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Use K_PLUGIN_CLASS_WITH_JSON

parent f0e48881
Pipeline #56466 passed with stage
in 54 minutes and 51 seconds
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
#include <KPluginFactory> #include <KPluginFactory>
#include <QDir> #include <QDir>
K_PLUGIN_FACTORY_WITH_JSON(MailAppImporterFactory, "mailappimporter.json", registerPlugin<MailAppImportData>();) K_PLUGIN_CLASS_WITH_JSON(MailAppImporterFactory, "mailappimporter.json")
MailAppImportData::MailAppImportData(QObject *parent, const QList<QVariant> &) MailAppImportData::MailAppImportData(QObject *parent, const QList<QVariant> &)
: LibImportWizard::AbstractImporter(parent) : LibImportWizard::AbstractImporter(parent)
......
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
#include <QDir> #include <QDir>
K_PLUGIN_FACTORY_WITH_JSON(OEImporterFactory, "oeimporter.json", registerPlugin<OeImportData>();) K_PLUGIN_CLASS_WITH_JSON(OEImporterFactory, "oeimporter.json")
OeImportData::OeImportData(QObject *parent, const QList<QVariant> &) OeImportData::OeImportData(QObject *parent, const QList<QVariant> &)
: LibImportWizard::AbstractImporter(parent) : LibImportWizard::AbstractImporter(parent)
......
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
#include <KPluginFactory> #include <KPluginFactory>
#include <QDir> #include <QDir>
K_PLUGIN_FACTORY_WITH_JSON(PMailImporterFactory, "pmailimporter.json", registerPlugin<PMailImportData>();) K_PLUGIN_CLASS_WITH_JSON(PMailImporterFactory, "pmailimporter.json")
PMailImportData::PMailImportData(QObject *parent, const QList<QVariant> &) PMailImportData::PMailImportData(QObject *parent, const QList<QVariant> &)
: LibImportWizard::AbstractImporter(parent) : LibImportWizard::AbstractImporter(parent)
{ {
......
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
#include <QDir> #include <QDir>
K_PLUGIN_FACTORY_WITH_JSON(TheBatImporterFactory, "thebatimporter.json", registerPlugin<TheBatImportData>();) K_PLUGIN_CLASS_WITH_JSON(TheBatImporterFactory, "thebatimporter.json")
TheBatImportData::TheBatImportData(QObject *parent, const QList<QVariant> &) TheBatImportData::TheBatImportData(QObject *parent, const QList<QVariant> &)
: LibImportWizard::AbstractImporter(parent) : LibImportWizard::AbstractImporter(parent)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment