Verified Commit 9f5e65a8 authored by Alexander Lohnau's avatar Alexander Lohnau 💬
Browse files

configuration: Use JSON metadata for KCMs

parent 3a59f94d
......@@ -43,6 +43,7 @@ install(TARGETS akregator_config_appearance DESTINATION ${KDE_INSTALL_PLUGINDIR}
########### next target ###############
add_library(akregator_config_archive MODULE)
kcoreaddons_desktop_to_json(akregator_config_archive akregator_config_archive.desktop SERVICE_TYPES kcmodule.desktop)
target_sources(akregator_config_archive PRIVATE akregator_config_archive.cpp)
ki18n_wrap_ui(akregator_config_archive ui/settings_archive.ui)
......
......@@ -16,7 +16,7 @@
using namespace Akregator;
K_PLUGIN_FACTORY(KCMAkregatorArchiveConfigFactory, registerPlugin<KCMAkregatorArchiveConfig>();)
K_PLUGIN_CLASS_WITH_JSON(KCMAkregatorArchiveConfig, "akregator_config_archive.json")
KCMAkregatorArchiveConfig::KCMAkregatorArchiveConfig(QWidget *parent, const QVariantList &args)
: KCModule(parent, args)
......
......@@ -18,7 +18,7 @@
using namespace Akregator;
K_PLUGIN_FACTORY(KCMAkregatorGeneralConfigFactory, registerPlugin<KCMAkregatorGeneralConfig>();)
K_PLUGIN_CLASS_WITH_JSON(KCMAkregatorGeneralConfig, "akregator_config_general.json")
KCMAkregatorGeneralConfig::KCMAkregatorGeneralConfig(QWidget *parent, const QVariantList &args)
: KCModule(parent, args)
......
......@@ -15,7 +15,7 @@
#include <QHBoxLayout>
using namespace Akregator;
K_PLUGIN_FACTORY(KCMAkregatorPluginsConfigFactory, registerPlugin<KCMAkregatorPluginsConfig>();)
K_PLUGIN_CLASS_WITH_JSON(KCMAkregatorPluginsConfig, "akregator_config_plugins.json")
KCMAkregatorPluginsConfig::KCMAkregatorPluginsConfig(QWidget *parent, const QVariantList &args)
: KCModule(parent, args)
......
......@@ -13,7 +13,7 @@
#include <QHBoxLayout>
using namespace Akregator;
K_PLUGIN_FACTORY(KCMAkregatorSecurityConfigFactory, registerPlugin<KCMAkregatorSecurityConfig>();)
K_PLUGIN_CLASS_WITH_JSON(KCMAkregatorSecurityConfig, "akregator_config_security.json")
KCMAkregatorSecurityConfig::KCMAkregatorSecurityConfig(QWidget *parent, const QVariantList &args)
: KCModule(parent, args)
......
......@@ -16,7 +16,7 @@
using namespace Akregator;
K_PLUGIN_FACTORY(KCMAkregatorUserFeedBackConfigFactory, registerPlugin<KCMAkregatorUserFeedBackConfig>();)
K_PLUGIN_CLASS_WITH_JSON(KCMAkregatorUserFeedBackConfig, "akregator_config_userfeedback.json")
KCMAkregatorUserFeedBackConfig::KCMAkregatorUserFeedBackConfig(QWidget *parent, const QVariantList &args)
: KCModule(parent, args)
......
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