Commit d985e12a authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Use K_PLUGIN_CLASS_WITH_JSON directly

parent 4ac9c749
Pipeline #167743 passed with stage
in 1 minute and 19 seconds
......@@ -6,6 +6,6 @@
#include <KPluginFactory>
#include <config/noteactionconfig.h>
K_PLUGIN_FACTORY_WITH_JSON(NoteActionConfigFactory, "kcm_knote_action.json", registerPlugin<NoteShared::NoteActionConfig>();)
K_PLUGIN_CLASS_WITH_JSON(NoteShared::NoteActionConfig, "kcm_knote_action.json")
#include "kcm_knote_action.moc"
......@@ -6,6 +6,6 @@
#include <KPluginFactory>
#include <config/notenetworkconfig.h>
K_PLUGIN_FACTORY_WITH_JSON(NoteNetworkConfigFactory, "kcm_knote_network.json", registerPlugin<NoteShared::NoteNetworkConfig>();)
K_PLUGIN_CLASS_WITH_JSON(NoteShared::NoteNetworkConfig, "kcm_knote_network.json")
#include "kcm_knote_network.moc"
Supports Markdown
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