Remove unneeded QVariantList from KCM constructor args

The args are not needed and will be removed later in KF6
This commit is contained in:
Alexander Lohnau 2023-06-10 06:50:27 +02:00
parent 0a7db79e7c
commit d251f3011c
74 changed files with 116 additions and 116 deletions

View file

@ -49,7 +49,7 @@ QObject *GenericScriptedConfigFactory::create(const char *iface, QWidget *parent
}
GenericScriptedConfig::GenericScriptedConfig(const QString &keyword, QWidget *parent, const QVariantList &args)
: KCModule(parent, KPluginMetaData(), args)
: KCModule(parent, KPluginMetaData())
, m_packageName(keyword)
, m_translator(new KLocalizedTranslator(this))
{

View file

@ -11,8 +11,8 @@
#include "kwincompositing_setting.h"
KWinCompositingData::KWinCompositingData(QObject *parent, const QVariantList &args)
: KCModuleData(parent, args)
KWinCompositingData::KWinCompositingData(QObject *parent)
: KCModuleData(parent)
, m_settings(new KWinCompositingSetting(this))
{

View file

@ -20,7 +20,7 @@ class KWinCompositingData : public KCModuleData
Q_OBJECT
public:
explicit KWinCompositingData(QObject *parent = nullptr, const QVariantList &args = QVariantList());
explicit KWinCompositingData(QObject *parent);
bool isDefaults() const override;

View file

@ -34,7 +34,7 @@ class KWinCompositingKCM : public KCModule
{
Q_OBJECT
public:
explicit KWinCompositingKCM(QObject *parent, const KPluginMetaData &data, const QVariantList &args);
explicit KWinCompositingKCM(QObject *parent, const KPluginMetaData &data);
public Q_SLOTS:
void load() override;
@ -62,8 +62,8 @@ bool KWinCompositingKCM::compositingRequired() const
return m_compositingInterface->platformRequiresCompositing();
}
KWinCompositingKCM::KWinCompositingKCM(QObject *parent, const KPluginMetaData &data, const QVariantList &args)
: KCModule(parent, data, args)
KWinCompositingKCM::KWinCompositingKCM(QObject *parent, const KPluginMetaData &data)
: KCModule(parent, data)
, m_compositingInterface(new OrgKdeKwinCompositingInterface(QStringLiteral("org.kde.KWin"), QStringLiteral("/Compositor"), QDBusConnection::sessionBus(), this))
, m_settings(new KWinCompositingSetting(this))
{

View file

@ -34,8 +34,8 @@ namespace
const KDecoration2::BorderSize s_defaultRecommendedBorderSize = KDecoration2::BorderSize::Normal;
}
KCMKWinDecoration::KCMKWinDecoration(QObject *parent, const KPluginMetaData &metaData, const QVariantList &arguments)
: KQuickManagedConfigModule(parent, metaData, arguments)
KCMKWinDecoration::KCMKWinDecoration(QObject *parent, const KPluginMetaData &metaData)
: KQuickManagedConfigModule(parent, metaData)
, m_themesModel(new KDecoration2::Configuration::DecorationsModel(this))
, m_proxyThemesModel(new QSortFilterProxyModel(this))
, m_leftButtonsModel(new KDecoration2::Preview::ButtonsModel(DecorationButtonsList(), this))

View file

@ -47,7 +47,7 @@ class KCMKWinDecoration : public KQuickManagedConfigModule
Q_PROPERTY(QAbstractListModel *availableButtonsModel READ availableButtonsModel CONSTANT)
public:
KCMKWinDecoration(QObject *parent, const KPluginMetaData &metaData, const QVariantList &arguments);
KCMKWinDecoration(QObject *parent, const KPluginMetaData &metaData);
KWinDecorationSettings *settings() const;
QSortFilterProxyModel *themesModel() const;

View file

@ -25,8 +25,8 @@ K_PLUGIN_FACTORY_WITH_JSON(VirtualDesktopsFactory,
namespace KWin
{
VirtualDesktops::VirtualDesktops(QObject *parent, const KPluginMetaData &metaData, const QVariantList &args)
: KQuickManagedConfigModule(parent, metaData, args)
VirtualDesktops::VirtualDesktops(QObject *parent, const KPluginMetaData &metaData)
: KQuickManagedConfigModule(parent, metaData)
, m_data(new VirtualDesktopsData(this))
{
qmlRegisterAnonymousType<VirtualDesktopsSettings>("org.kde.kwin.kcm.desktop", 0);

View file

@ -27,7 +27,7 @@ class VirtualDesktops : public KQuickManagedConfigModule
Q_PROPERTY(VirtualDesktopsSettings *virtualDesktopsSettings READ virtualDesktopsSettings CONSTANT)
public:
explicit VirtualDesktops(QObject *parent, const KPluginMetaData &metaData, const QVariantList &list);
explicit VirtualDesktops(QObject *parent, const KPluginMetaData &metaData);
~VirtualDesktops() override;
QAbstractItemModel *desktopsModel() const;

View file

@ -13,8 +13,8 @@
namespace KWin
{
VirtualDesktopsData::VirtualDesktopsData(QObject *parent, const QVariantList &args)
: KCModuleData(parent, args)
VirtualDesktopsData::VirtualDesktopsData(QObject *parent)
: KCModuleData(parent)
, m_settings(new VirtualDesktopsSettings(this))
, m_desktopsModel(new DesktopsModel(this))
, m_animationsModel(new AnimationsModel(this))

View file

@ -23,7 +23,7 @@ class VirtualDesktopsData : public KCModuleData
Q_OBJECT
public:
explicit VirtualDesktopsData(QObject *parent = nullptr, const QVariantList &args = QVariantList());
explicit VirtualDesktopsData(QObject *parent);
bool isDefaults() const override;

View file

@ -10,8 +10,8 @@
namespace KWin
{
DesktopEffectsData::DesktopEffectsData(QObject *parent, const QVariantList &args)
: KCModuleData(parent, args)
DesktopEffectsData::DesktopEffectsData(QObject *parent)
: KCModuleData(parent)
, m_model(new EffectsModel(this))
{

View file

@ -19,7 +19,7 @@ class DesktopEffectsData : public KCModuleData
Q_OBJECT
public:
explicit DesktopEffectsData(QObject *parent = nullptr, const QVariantList &args = QVariantList());
explicit DesktopEffectsData(QObject *parent);
~DesktopEffectsData() override;
bool isDefaults() const override;

View file

@ -23,8 +23,8 @@ K_PLUGIN_FACTORY_WITH_JSON(DesktopEffectsKCMFactory,
namespace KWin
{
DesktopEffectsKCM::DesktopEffectsKCM(QObject *parent, const KPluginMetaData &metaData, const QVariantList &args)
: KQuickConfigModule(parent, metaData, args)
DesktopEffectsKCM::DesktopEffectsKCM(QObject *parent, const KPluginMetaData &metaData)
: KQuickConfigModule(parent, metaData)
, m_model(new EffectsModel(this))
{
qmlRegisterType<EffectsFilterProxyModel>("org.kde.private.kcms.kwin.effects", 1, 0, "EffectsFilterProxyModel");

View file

@ -22,7 +22,7 @@ class DesktopEffectsKCM : public KQuickConfigModule
Q_PROPERTY(QAbstractItemModel *effectsModel READ effectsModel CONSTANT)
public:
explicit DesktopEffectsKCM(QObject *parent, const KPluginMetaData &metaData, const QVariantList &list);
explicit DesktopEffectsKCM(QObject *parent, const KPluginMetaData &metaData);
~DesktopEffectsKCM() override;
QAbstractItemModel *effectsModel() const;

View file

@ -57,8 +57,8 @@ public:
}
};
KWinOptions::KWinOptions(QObject *parent, const KPluginMetaData &data, const QVariantList &args)
: KCModule(parent, data, args)
KWinOptions::KWinOptions(QObject *parent, const KPluginMetaData &data)
: KCModule(parent, data)
{
mSettings = new KWinOptionsSettings(this);
@ -163,8 +163,8 @@ void KWinOptions::updateUnmanagedState()
unmanagedWidgetDefaultState(isDefault);
}
KActionsOptions::KActionsOptions(QObject *parent, const KPluginMetaData &data, const QVariantList &args)
: KCModule(parent, data, args)
KActionsOptions::KActionsOptions(QObject *parent, const KPluginMetaData &data)
: KCModule(parent, data)
{
mSettings = new KWinOptionsSettings(this);

View file

@ -27,7 +27,7 @@ class KWinOptions : public KCModule
Q_OBJECT
public:
explicit KWinOptions(QObject *parent, const KPluginMetaData &data, const QVariantList &args);
explicit KWinOptions(QObject *parent, const KPluginMetaData &data);
void load() override;
void save() override;
@ -53,7 +53,7 @@ class KActionsOptions : public KCModule
Q_OBJECT
public:
KActionsOptions(QObject *parent, const KPluginMetaData &data, const QVariantList &args);
KActionsOptions(QObject *parent, const KPluginMetaData &data);
void load() override;
void save() override;

View file

@ -25,7 +25,7 @@ KWinActionsConfigForm::KWinActionsConfigForm(QWidget *parent)
}
KTitleBarActionsConfig::KTitleBarActionsConfig(bool _standAlone, KWinOptionsSettings *settings, QWidget *parent)
: KCModule(parent, KPluginMetaData(), QVariantList())
: KCModule(parent, KPluginMetaData())
, standAlone(_standAlone)
, m_ui(new KWinMouseConfigForm(widget()))
{
@ -63,7 +63,7 @@ bool KTitleBarActionsConfig::isSaveNeeded() const
}
KWindowActionsConfig::KWindowActionsConfig(bool _standAlone, KWinOptionsSettings *settings, QWidget *parent)
: KCModule(parent, KPluginMetaData(), QVariantList())
: KCModule(parent, KPluginMetaData())
, standAlone(_standAlone)
, m_ui(new KWinActionsConfigForm(widget()))
{

View file

@ -48,7 +48,7 @@ KWinFocusConfigForm::KWinFocusConfigForm(QWidget *parent)
}
KFocusConfig::KFocusConfig(bool _standAlone, KWinOptionsSettings *settings, QWidget *parent)
: KCModule(parent, KPluginMetaData(), QVariantList())
: KCModule(parent, KPluginMetaData())
, standAlone(_standAlone)
, m_ui(new KWinFocusConfigForm(widget()))
{
@ -219,7 +219,7 @@ KWinAdvancedConfigForm::KWinAdvancedConfigForm(QWidget *parent)
}
KAdvancedConfig::KAdvancedConfig(bool _standAlone, KWinOptionsSettings *settings, KWinOptionsKDEGlobalsSettings *globalSettings, QWidget *parent)
: KCModule(parent, KPluginMetaData(), QVariantList())
: KCModule(parent, KPluginMetaData())
, standAlone(_standAlone)
, m_ui(new KWinAdvancedConfigForm(widget()))
{
@ -281,7 +281,7 @@ KWinMovingConfigForm::KWinMovingConfigForm(QWidget *parent)
}
KMovingConfig::KMovingConfig(bool _standAlone, KWinOptionsSettings *settings, QWidget *parent)
: KCModule(parent, KPluginMetaData(), QVariantList())
: KCModule(parent, KPluginMetaData())
, standAlone(_standAlone)
, m_ui(new KWinMovingConfigForm(widget()))
{

View file

@ -19,7 +19,7 @@ namespace KWin
{
KCMKWinRules::KCMKWinRules(QObject *parent, const KPluginMetaData &metaData, const QVariantList &arguments)
: KQuickConfigModule(parent, metaData, arguments)
: KQuickConfigModule(parent, metaData)
, m_ruleBookModel(new RuleBookModel(this))
, m_rulesModel(new RulesModel(this))
{

View file

@ -31,8 +31,8 @@ K_PLUGIN_FACTORY_WITH_JSON(KWinScreenEdgesConfigFactory, "kcm_kwinscreenedges.js
namespace KWin
{
KWinScreenEdgesConfig::KWinScreenEdgesConfig(QObject *parent, const KPluginMetaData &data, const QVariantList &args)
: KCModule(parent, data, args)
KWinScreenEdgesConfig::KWinScreenEdgesConfig(QObject *parent, const KPluginMetaData &data)
: KCModule(parent, data)
, m_form(new KWinScreenEdgesConfigForm(widget()))
, m_config(KSharedConfig::openConfig("kwinrc"))
, m_data(new KWinScreenEdgeData(this))

View file

@ -27,7 +27,7 @@ class KWinScreenEdgesConfig : public KCModule
Q_OBJECT
public:
explicit KWinScreenEdgesConfig(QObject *parent, const KPluginMetaData &data, const QVariantList &args);
explicit KWinScreenEdgesConfig(QObject *parent, const KPluginMetaData &data);
~KWinScreenEdgesConfig() override;
public Q_SLOTS:

View file

@ -31,8 +31,8 @@ K_PLUGIN_FACTORY_WITH_JSON(KWinScreenEdgesConfigFactory, "kcm_kwintouchscreen.js
namespace KWin
{
KWinScreenEdgesConfig::KWinScreenEdgesConfig(QObject *parent, const KPluginMetaData &data, const QVariantList &args)
: KCModule(parent, data, args)
KWinScreenEdgesConfig::KWinScreenEdgesConfig(QObject *parent, const KPluginMetaData &data)
: KCModule(parent, data)
, m_form(new KWinTouchScreenEdgeConfigForm(widget()))
, m_config(KSharedConfig::openConfig("kwinrc"))
, m_data(new KWinTouchScreenData(this))

View file

@ -29,7 +29,7 @@ class KWinScreenEdgesConfig : public KCModule
Q_OBJECT
public:
explicit KWinScreenEdgesConfig(QObject *parent, const KPluginMetaData &data, const QVariantList &args);
explicit KWinScreenEdgesConfig(QObject *parent, const KPluginMetaData &data);
~KWinScreenEdgesConfig() override;
public Q_SLOTS:

View file

@ -12,8 +12,8 @@
#include <KPackage/PackageStructure>
#include <KPluginFactory>
KWinScriptsData::KWinScriptsData(QObject *parent, const QVariantList &args)
: KCModuleData(parent, args)
KWinScriptsData::KWinScriptsData(QObject *parent)
: KCModuleData(parent)
, m_kwinConfig(KSharedConfig::openConfig("kwinrc"))
{
}

View file

@ -18,7 +18,7 @@ class KWinScriptsData : public KCModuleData
Q_OBJECT
public:
KWinScriptsData(QObject *parent = nullptr, const QVariantList &args = QVariantList());
KWinScriptsData(QObject *parent);
bool isDefaults() const override;

View file

@ -23,8 +23,8 @@
#include "config-kwin.h"
#include "kwinscriptsdata.h"
Module::Module(QObject *parent, const KPluginMetaData &data, const QVariantList &args)
: KQuickConfigModule(parent, data, args)
Module::Module(QObject *parent, const KPluginMetaData &data)
: KQuickConfigModule(parent, data)
, m_kwinScriptsData(new KWinScriptsData(this))
, m_model(new KPluginModel(this))
{

View file

@ -25,7 +25,7 @@ class Module : public KQuickConfigModule
Q_PROPERTY(QString errorMessage READ errorMessage NOTIFY messageChanged)
Q_PROPERTY(QString infoMessage READ infoMessage NOTIFY messageChanged)
public:
explicit Module(QObject *parent, const KPluginMetaData &data, const QVariantList &args);
explicit Module(QObject *parent, const KPluginMetaData &data);
void load() override;
void save() override;

View file

@ -19,8 +19,8 @@ namespace KWin
namespace TabBox
{
KWinTabboxData::KWinTabboxData(QObject *parent, const QVariantList &args)
: KCModuleData(parent, args)
KWinTabboxData::KWinTabboxData(QObject *parent)
: KCModuleData(parent)
, m_tabBoxConfig(new TabBoxSettings(QStringLiteral("TabBox"), this))
, m_tabBoxAlternativeConfig(new TabBoxSettings(QStringLiteral("TabBoxAlternative"), this))
, m_pluginsConfig(new PluginsSettings(this))

View file

@ -27,7 +27,7 @@ class KWinTabboxData : public KCModuleData
Q_OBJECT
public:
explicit KWinTabboxData(QObject *parent = nullptr, const QVariantList &args = QVariantList());
explicit KWinTabboxData(QObject *parent);
TabBoxSettings *tabBoxConfig() const;
TabBoxSettings *tabBoxAlternativeConfig() const;

View file

@ -49,8 +49,8 @@ namespace KWin
using namespace TabBox;
KWinTabBoxConfig::KWinTabBoxConfig(QObject *parent, const KPluginMetaData &data, const QVariantList &args)
: KCModule(parent, data, args)
KWinTabBoxConfig::KWinTabBoxConfig(QObject *parent, const KPluginMetaData &data)
: KCModule(parent, data)
, m_config(KSharedConfig::openConfig("kwinrc"))
, m_data(new KWinTabboxData(this))
{

View file

@ -29,7 +29,7 @@ class KWinTabBoxConfig : public KCModule
Q_OBJECT
public:
explicit KWinTabBoxConfig(QObject *parent, const KPluginMetaData &data, const QVariantList &args);
explicit KWinTabBoxConfig(QObject *parent, const KPluginMetaData &data);
~KWinTabBoxConfig() override;
public Q_SLOTS:

View file

@ -17,8 +17,8 @@
K_PLUGIN_FACTORY_WITH_JSON(KcmVirtualKeyboardFactory, "kcm_virtualkeyboard.json", registerPlugin<KcmVirtualKeyboard>(); registerPlugin<VirtualKeyboardData>();)
KcmVirtualKeyboard::KcmVirtualKeyboard(QObject *parent, const KPluginMetaData &metaData, const QVariantList &args)
: KQuickManagedConfigModule(parent, metaData, args)
KcmVirtualKeyboard::KcmVirtualKeyboard(QObject *parent, const KPluginMetaData &metaData)
: KQuickManagedConfigModule(parent, metaData)
, m_data(new VirtualKeyboardData(this))
, m_model(new VirtualKeyboardsModel(this))
{

View file

@ -42,7 +42,7 @@ class KcmVirtualKeyboard : public KQuickManagedConfigModule
Q_PROPERTY(QAbstractItemModel *model READ keyboardsModel CONSTANT)
public:
explicit KcmVirtualKeyboard(QObject *parent, const KPluginMetaData &metaData, const QVariantList &list);
explicit KcmVirtualKeyboard(QObject *parent, const KPluginMetaData &metaData);
~KcmVirtualKeyboard() override;
VirtualKeyboardSettings *settings() const;

View file

@ -16,8 +16,8 @@
K_PLUGIN_FACTORY_WITH_JSON(KcmXwaylandFactory, "kcm_kwinxwayland.json", registerPlugin<KcmXwayland>(); registerPlugin<KWinXwaylandData>();)
KcmXwayland::KcmXwayland(QObject *parent, const KPluginMetaData &metaData, const QVariantList &args)
: KQuickManagedConfigModule(parent, metaData, args)
KcmXwayland::KcmXwayland(QObject *parent, const KPluginMetaData &metaData)
: KQuickManagedConfigModule(parent, metaData)
, m_data(new KWinXwaylandData(this))
, m_settings(new KWinXwaylandSettings(m_data))
{

View file

@ -19,7 +19,7 @@ class KcmXwayland : public KQuickManagedConfigModule
Q_PROPERTY(KWinXwaylandSettings *settings READ settings CONSTANT)
public:
explicit KcmXwayland(QObject *parent, const KPluginMetaData &metaData, const QVariantList &list);
explicit KcmXwayland(QObject *parent, const KPluginMetaData &metaData);
~KcmXwayland() override;
KWinXwaylandSettings *settings() const

View file

@ -18,8 +18,8 @@ K_PLUGIN_CLASS(KWin::BlurEffectConfig)
namespace KWin
{
BlurEffectConfig::BlurEffectConfig(QObject *parent, const KPluginMetaData &data, const QVariantList &args)
: KCModule(parent, data, args)
BlurEffectConfig::BlurEffectConfig(QObject *parent, const KPluginMetaData &data)
: KCModule(parent, data)
{
ui.setupUi(widget());
BlurConfig::instance(KWIN_CONFIG);

View file

@ -17,7 +17,7 @@ class BlurEffectConfig : public KCModule
Q_OBJECT
public:
explicit BlurEffectConfig(QObject *parent, const KPluginMetaData &data, const QVariantList &args);
explicit BlurEffectConfig(QObject *parent, const KPluginMetaData &data);
~BlurEffectConfig() override;
void save() override;

View file

@ -36,8 +36,8 @@ DesktopGridEffectConfigForm::DesktopGridEffectConfigForm(QWidget *parent)
setupUi(this);
}
DesktopGridEffectConfig::DesktopGridEffectConfig(QObject *parent, const KPluginMetaData &data, const QVariantList &args)
: KCModule(parent, data, args)
DesktopGridEffectConfig::DesktopGridEffectConfig(QObject *parent, const KPluginMetaData &data)
: KCModule(parent, data)
, m_ui(widget())
{
QVBoxLayout *layout = new QVBoxLayout(widget());

View file

@ -29,7 +29,7 @@ class DesktopGridEffectConfig : public KCModule
{
Q_OBJECT
public:
explicit DesktopGridEffectConfig(QObject *parent, const KPluginMetaData &data, const QVariantList &args);
explicit DesktopGridEffectConfig(QObject *parent, const KPluginMetaData &data);
~DesktopGridEffectConfig() override;
public Q_SLOTS:

View file

@ -23,8 +23,8 @@ K_PLUGIN_CLASS(KWin::DimInactiveEffectConfig)
namespace KWin
{
DimInactiveEffectConfig::DimInactiveEffectConfig(QObject *parent, const KPluginMetaData &data, const QVariantList &args)
: KCModule(parent, data, args)
DimInactiveEffectConfig::DimInactiveEffectConfig(QObject *parent, const KPluginMetaData &data)
: KCModule(parent, data)
{
m_ui.setupUi(widget());
DimInactiveConfig::instance(KWIN_CONFIG);

View file

@ -22,7 +22,7 @@ class DimInactiveEffectConfig : public KCModule
Q_OBJECT
public:
explicit DimInactiveEffectConfig(QObject *parent, const KPluginMetaData &data, const QVariantList &args);
explicit DimInactiveEffectConfig(QObject *parent, const KPluginMetaData &data);
~DimInactiveEffectConfig() override;
void save() override;

View file

@ -19,8 +19,8 @@ K_PLUGIN_CLASS(KWin::GlideEffectConfig)
namespace KWin
{
GlideEffectConfig::GlideEffectConfig(QObject *parent, const KPluginMetaData &data, const QVariantList &args)
: KCModule(parent, data, args)
GlideEffectConfig::GlideEffectConfig(QObject *parent, const KPluginMetaData &data)
: KCModule(parent, data)
{
ui.setupUi(widget());
GlideConfig::instance(KWIN_CONFIG);

View file

@ -18,7 +18,7 @@ class GlideEffectConfig : public KCModule
Q_OBJECT
public:
explicit GlideEffectConfig(QObject *parent, const KPluginMetaData &data, const QVariantList &args);
explicit GlideEffectConfig(QObject *parent, const KPluginMetaData &data);
~GlideEffectConfig() override;
void save() override;

View file

@ -25,8 +25,8 @@ K_PLUGIN_CLASS(KWin::InvertEffectConfig)
namespace KWin
{
InvertEffectConfig::InvertEffectConfig(QObject *parent, const KPluginMetaData &data, const QVariantList &args)
: KCModule(parent, data, args)
InvertEffectConfig::InvertEffectConfig(QObject *parent, const KPluginMetaData &data)
: KCModule(parent, data)
{
QVBoxLayout *layout = new QVBoxLayout(widget());

View file

@ -20,7 +20,7 @@ class InvertEffectConfig : public KCModule
{
Q_OBJECT
public:
explicit InvertEffectConfig(QObject *parent, const KPluginMetaData &data, const QVariantList &args);
explicit InvertEffectConfig(QObject *parent, const KPluginMetaData &data);
~InvertEffectConfig() override;
public Q_SLOTS:

View file

@ -596,8 +596,8 @@ QQuickItem *Decoration::item() const
return m_item.get();
}
ThemeProvider::ThemeProvider(QObject *parent, const KPluginMetaData &data, const QVariantList &args)
: KDecoration2::DecorationThemeProvider(parent, data, args)
ThemeProvider::ThemeProvider(QObject *parent, const KPluginMetaData &data)
: KDecoration2::DecorationThemeProvider(parent)
, m_data(data)
{
init();

View file

@ -85,7 +85,7 @@ class ThemeProvider : public KDecoration2::DecorationThemeProvider
{
Q_OBJECT
public:
explicit ThemeProvider(QObject *parent, const KPluginMetaData &data, const QVariantList &args);
explicit ThemeProvider(QObject *parent, const KPluginMetaData &data);
QList<KDecoration2::DecorationThemeMetaData> themes() const override
{

View file

@ -21,7 +21,7 @@ namespace Aurorae
{
ConfigurationModule::ConfigurationModule(QObject *parent, const KPluginMetaData &data, const QVariantList &args)
: KCModule(parent, data, args)
: KCModule(parent, data)
, m_theme(findTheme(args))
, m_buttonSize(int(KDecoration2::BorderSize::Normal) - s_indexMapper)
{

View file

@ -31,8 +31,8 @@ MagicLampEffectConfigForm::MagicLampEffectConfigForm(QWidget *parent)
setupUi(this);
}
MagicLampEffectConfig::MagicLampEffectConfig(QObject *parent, const KPluginMetaData &data, const QVariantList &args)
: KCModule(parent, data, args)
MagicLampEffectConfig::MagicLampEffectConfig(QObject *parent, const KPluginMetaData &data)
: KCModule(parent, data)
, m_ui(widget())
{
QVBoxLayout *layout = new QVBoxLayout(widget());

View file

@ -27,7 +27,7 @@ class MagicLampEffectConfig : public KCModule
{
Q_OBJECT
public:
explicit MagicLampEffectConfig(QObject *parent, const KPluginMetaData &data, const QVariantList &args);
explicit MagicLampEffectConfig(QObject *parent, const KPluginMetaData &data);
public Q_SLOTS:
void save() override;

View file

@ -37,8 +37,8 @@ MagnifierEffectConfigForm::MagnifierEffectConfigForm(QWidget *parent)
setupUi(this);
}
MagnifierEffectConfig::MagnifierEffectConfig(QObject *parent, const KPluginMetaData &data, const QVariantList &args)
: KCModule(parent, data, args)
MagnifierEffectConfig::MagnifierEffectConfig(QObject *parent, const KPluginMetaData &data)
: KCModule(parent, data)
, m_ui(widget())
{
QVBoxLayout *layout = new QVBoxLayout(widget());

View file

@ -29,7 +29,7 @@ class MagnifierEffectConfig : public KCModule
{
Q_OBJECT
public:
explicit MagnifierEffectConfig(QObject *parent, const KPluginMetaData &data, const QVariantList &args);
explicit MagnifierEffectConfig(QObject *parent, const KPluginMetaData &data);
~MagnifierEffectConfig() override;
void save() override;

View file

@ -34,8 +34,8 @@ MouseClickEffectConfigForm::MouseClickEffectConfigForm(QWidget *parent)
setupUi(this);
}
MouseClickEffectConfig::MouseClickEffectConfig(QObject *parent, const KPluginMetaData &data, const QVariantList &args)
: KCModule(parent, data, args)
MouseClickEffectConfig::MouseClickEffectConfig(QObject *parent, const KPluginMetaData &data)
: KCModule(parent, data)
, m_ui(widget())
{
QVBoxLayout *layout = new QVBoxLayout(widget());

View file

@ -29,7 +29,7 @@ class MouseClickEffectConfig : public KCModule
{
Q_OBJECT
public:
explicit MouseClickEffectConfig(QObject *parent, const KPluginMetaData &data, const QVariantList &args);
explicit MouseClickEffectConfig(QObject *parent, const KPluginMetaData &data);
~MouseClickEffectConfig() override;
void save() override;

View file

@ -35,8 +35,8 @@ MouseMarkEffectConfigForm::MouseMarkEffectConfigForm(QWidget *parent)
setupUi(this);
}
MouseMarkEffectConfig::MouseMarkEffectConfig(QObject *parent, const KPluginMetaData &data, const QVariantList &args)
: KCModule(parent, data, args)
MouseMarkEffectConfig::MouseMarkEffectConfig(QObject *parent, const KPluginMetaData &data)
: KCModule(parent, data)
, m_ui(widget())
{
QVBoxLayout *layout = new QVBoxLayout(widget());

View file

@ -29,7 +29,7 @@ class MouseMarkEffectConfig : public KCModule
{
Q_OBJECT
public:
explicit MouseMarkEffectConfig(QObject *parent, const KPluginMetaData &data, const QVariantList &args);
explicit MouseMarkEffectConfig(QObject *parent, const KPluginMetaData &data);
~MouseMarkEffectConfig() override;
void load() override;

View file

@ -23,8 +23,8 @@ K_PLUGIN_CLASS(KWin::OverviewEffectConfig)
namespace KWin
{
OverviewEffectConfig::OverviewEffectConfig(QObject *parent, const KPluginMetaData &data, const QVariantList &args)
: KCModule(parent, data, args)
OverviewEffectConfig::OverviewEffectConfig(QObject *parent, const KPluginMetaData &data)
: KCModule(parent, data)
{
ui.setupUi(widget());
OverviewConfig::instance(KWIN_CONFIG);

View file

@ -18,7 +18,7 @@ class OverviewEffectConfig : public KCModule
Q_OBJECT
public:
explicit OverviewEffectConfig(QObject *parent, const KPluginMetaData &data, const QVariantList &args);
explicit OverviewEffectConfig(QObject *parent, const KPluginMetaData &data);
~OverviewEffectConfig() override;
public Q_SLOTS:

View file

@ -22,8 +22,8 @@ K_PLUGIN_CLASS(KWin::ShowPaintEffectConfig)
namespace KWin
{
ShowPaintEffectConfig::ShowPaintEffectConfig(QObject *parent, const KPluginMetaData &data, const QVariantList &args)
: KCModule(parent, data, args)
ShowPaintEffectConfig::ShowPaintEffectConfig(QObject *parent, const KPluginMetaData &data)
: KCModule(parent, data)
, m_ui(std::make_unique<Ui::ShowPaintEffectConfig>())
{
m_ui->setupUi(widget());

View file

@ -21,7 +21,7 @@ class ShowPaintEffectConfig : public KCModule
Q_OBJECT
public:
explicit ShowPaintEffectConfig(QObject *parent, const KPluginMetaData &data, const QVariantList &args);
explicit ShowPaintEffectConfig(QObject *parent, const KPluginMetaData &data);
~ShowPaintEffectConfig() override;
public Q_SLOTS:

View file

@ -22,8 +22,8 @@ K_PLUGIN_CLASS(KWin::SlideEffectConfig)
namespace KWin
{
SlideEffectConfig::SlideEffectConfig(QObject *parent, const KPluginMetaData &data, const QVariantList &args)
: KCModule(parent, data, args)
SlideEffectConfig::SlideEffectConfig(QObject *parent, const KPluginMetaData &data)
: KCModule(parent, data)
{
m_ui.setupUi(widget());
SlideConfig::instance(KWIN_CONFIG);

View file

@ -20,7 +20,7 @@ class SlideEffectConfig : public KCModule
Q_OBJECT
public:
explicit SlideEffectConfig(QObject *parent, const KPluginMetaData &data, const QVariantList &args);
explicit SlideEffectConfig(QObject *parent, const KPluginMetaData &data);
~SlideEffectConfig() override;
void save() override;

View file

@ -36,8 +36,8 @@ ThumbnailAsideEffectConfigForm::ThumbnailAsideEffectConfigForm(QWidget *parent)
setupUi(this);
}
ThumbnailAsideEffectConfig::ThumbnailAsideEffectConfig(QObject *parent, const KPluginMetaData &data, const QVariantList &args)
: KCModule(parent, data, args)
ThumbnailAsideEffectConfig::ThumbnailAsideEffectConfig(QObject *parent, const KPluginMetaData &data)
: KCModule(parent, data)
, m_ui(widget())
{
QVBoxLayout *layout = new QVBoxLayout(widget());

View file

@ -29,7 +29,7 @@ class ThumbnailAsideEffectConfig : public KCModule
{
Q_OBJECT
public:
explicit ThumbnailAsideEffectConfig(QObject *parent, const KPluginMetaData &data, const QVariantList &args);
explicit ThumbnailAsideEffectConfig(QObject *parent, const KPluginMetaData &data);
~ThumbnailAsideEffectConfig() override;
void save() override;

View file

@ -21,8 +21,8 @@ K_PLUGIN_CLASS(KWin::TilesEditorEffectConfig)
namespace KWin
{
TilesEditorEffectConfig::TilesEditorEffectConfig(QObject *parent, const KPluginMetaData &data, const QVariantList &args)
: KCModule(parent, data, args)
TilesEditorEffectConfig::TilesEditorEffectConfig(QObject *parent, const KPluginMetaData &data)
: KCModule(parent, data)
{
ui.setupUi(widget());

View file

@ -18,7 +18,7 @@ class TilesEditorEffectConfig : public KCModule
Q_OBJECT
public:
explicit TilesEditorEffectConfig(QObject *parent, const KPluginMetaData &data, const QVariantList &args);
explicit TilesEditorEffectConfig(QObject *parent, const KPluginMetaData &data);
~TilesEditorEffectConfig() override;
public Q_SLOTS:

View file

@ -38,8 +38,8 @@ TrackMouseEffectConfigForm::TrackMouseEffectConfigForm(QWidget *parent)
setupUi(this);
}
TrackMouseEffectConfig::TrackMouseEffectConfig(QObject *parent, const KPluginMetaData &data, const QVariantList &args)
: KCModule(parent, data, args)
TrackMouseEffectConfig::TrackMouseEffectConfig(QObject *parent, const KPluginMetaData &data)
: KCModule(parent, data)
{
TrackMouseConfig::instance(KWIN_CONFIG);
m_ui = new TrackMouseEffectConfigForm(widget());

View file

@ -30,7 +30,7 @@ class TrackMouseEffectConfig : public KCModule
{
Q_OBJECT
public:
explicit TrackMouseEffectConfig(QObject *parent, const KPluginMetaData &data, const QVariantList &args);
explicit TrackMouseEffectConfig(QObject *parent, const KPluginMetaData &data);
~TrackMouseEffectConfig() override;
public Q_SLOTS:

View file

@ -24,8 +24,8 @@ K_PLUGIN_CLASS(KWin::WindowViewEffectConfig)
namespace KWin
{
WindowViewEffectConfig::WindowViewEffectConfig(QObject *parent, const KPluginMetaData &data, const QVariantList &args)
: KCModule(parent, data, args)
WindowViewEffectConfig::WindowViewEffectConfig(QObject *parent, const KPluginMetaData &data)
: KCModule(parent, data)
{
ui.setupUi(widget());
WindowViewConfig::instance(KWIN_CONFIG);

View file

@ -18,7 +18,7 @@ class WindowViewEffectConfig : public KCModule
Q_OBJECT
public:
explicit WindowViewEffectConfig(QObject *parent, const KPluginMetaData &data, const QVariantList &args);
explicit WindowViewEffectConfig(QObject *parent, const KPluginMetaData &data);
~WindowViewEffectConfig() override;
public Q_SLOTS:

View file

@ -63,8 +63,8 @@ ParameterSet pset[5] = {set_0, set_1, set_2, set_3, set_4};
//-----------------------------------------------------------------------------
WobblyWindowsEffectConfig::WobblyWindowsEffectConfig(QObject *parent, const KPluginMetaData &data, const QVariantList &args)
: KCModule(parent, data, args)
WobblyWindowsEffectConfig::WobblyWindowsEffectConfig(QObject *parent, const KPluginMetaData &data)
: KCModule(parent, data)
{
WobblyWindowsConfig::instance(KWIN_CONFIG);
m_ui.setupUi(widget());

View file

@ -21,7 +21,7 @@ class WobblyWindowsEffectConfig : public KCModule
{
Q_OBJECT
public:
explicit WobblyWindowsEffectConfig(QObject *parent, const KPluginMetaData &data, const QVariantList &args);
explicit WobblyWindowsEffectConfig(QObject *parent, const KPluginMetaData &data);
~WobblyWindowsEffectConfig() override;
public Q_SLOTS:

View file

@ -35,8 +35,8 @@ ZoomEffectConfigForm::ZoomEffectConfigForm(QWidget *parent)
setupUi(this);
}
ZoomEffectConfig::ZoomEffectConfig(QObject *parent, const KPluginMetaData &data, const QVariantList &args)
: KCModule(parent, data, args)
ZoomEffectConfig::ZoomEffectConfig(QObject *parent, const KPluginMetaData &data)
: KCModule(parent, data)
{
ZoomConfig::instance(KWIN_CONFIG);
m_ui = new ZoomEffectConfigForm(widget());

View file

@ -28,7 +28,7 @@ class ZoomEffectConfig : public KCModule
{
Q_OBJECT
public:
explicit ZoomEffectConfig(QObject *parent, const KPluginMetaData &data, const QVariantList &args);
explicit ZoomEffectConfig(QObject *parent, const KPluginMetaData &data);
~ZoomEffectConfig() override;
public Q_SLOTS: