Commit 4a812aa2 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Use directly K_PLUGIN_CLASS_WITH_JSON

parent 43fc6fc6
Pipeline #61481 canceled with stage
......@@ -6,6 +6,6 @@
#include "kcm_kmail.cpp"
#include <KPluginFactory>
K_PLUGIN_FACTORY_WITH_JSON(KMailAccountsConfigFactory, "kmail_config_accounts.json", registerPlugin<AccountsPage>();)
K_PLUGIN_CLASS_WITH_JSON(AccountsPage, "kmail_config_accounts.json")
#include "kcm_kmail_accounts.moc"
......@@ -6,6 +6,6 @@
#include "kcm_kmail.cpp"
#include <KPluginFactory>
K_PLUGIN_FACTORY_WITH_JSON(KMailAppearenceConfigFactory, "kmail_config_appearance.json", registerPlugin<AppearancePage>();)
K_PLUGIN_CLASS_WITH_JSON(AppearancePage, "kmail_config_appearance.json")
#include "kcm_kmail_appearance.moc"
......@@ -6,6 +6,6 @@
#include "kcm_kmail.cpp"
#include <KPluginFactory>
K_PLUGIN_FACTORY_WITH_JSON(KMailComposerConfigFactory, "kmail_config_composer.json", registerPlugin<ComposerPage>();)
K_PLUGIN_CLASS_WITH_JSON(ComposerPage, "kmail_config_composer.json")
#include "kcm_kmail_composer.moc"
......@@ -6,6 +6,6 @@
#include "kcm_kmail.cpp"
#include <KPluginFactory>
K_PLUGIN_FACTORY_WITH_JSON(KMailMiscConfigFactory, "kmail_config_misc.json", registerPlugin<MiscPage>();)
K_PLUGIN_CLASS_WITH_JSON(MiscPage, "kmail_config_misc.json");
#include "kcm_kmail_misc.moc"
......@@ -6,6 +6,6 @@
#include "kcm_kmail.cpp"
#include <KPluginFactory>
K_PLUGIN_FACTORY_WITH_JSON(KMailPluginConfigFactory, "kmail_config_plugins.json", registerPlugin<ConfigurePluginPage>();)
K_PLUGIN_CLASS_WITH_JSON(ConfigurePluginPage, "kmail_config_plugins.json")
#include "kcm_kmail_plugins.moc"
......@@ -6,6 +6,6 @@
#include "kcm_kmail.cpp"
#include <KPluginFactory>
K_PLUGIN_FACTORY_WITH_JSON(KMailSecurityConfigFactory, "kmail_config_security.json", registerPlugin<SecurityPage>();)
K_PLUGIN_CLASS_WITH_JSON(SecurityPage, "kmail_config_security.json")
#include "kcm_kmail_security.moc"
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