Remove defunct calls to KAboutData::pluginInfo

They always return nullptr since the info was never registered.
This commit is contained in:
Nicolas Fella 2020-10-21 19:03:07 +02:00
parent 773e0355b3
commit fee696ec88
25 changed files with 25 additions and 25 deletions

View file

@ -21,7 +21,7 @@ namespace KWin
{
BlurEffectConfig::BlurEffectConfig(QWidget *parent, const QVariantList &args)
: KCModule(KAboutData::pluginData(QStringLiteral("blur")), parent, args)
: KCModule(parent, args)
{
ui.setupUi(this);
BlurConfig::instance(KWIN_CONFIG);

View file

@ -30,7 +30,7 @@ CoverSwitchEffectConfigForm::CoverSwitchEffectConfigForm(QWidget* parent) : QWid
}
CoverSwitchEffectConfig::CoverSwitchEffectConfig(QWidget* parent, const QVariantList& args) :
KCModule(KAboutData::pluginData(QStringLiteral("coverswitch")), parent, args)
KCModule(parent, args)
{
m_ui = new CoverSwitchEffectConfigForm(this);

View file

@ -38,7 +38,7 @@ CubeEffectConfigForm::CubeEffectConfigForm(QWidget* parent) : QWidget(parent)
}
CubeEffectConfig::CubeEffectConfig(QWidget* parent, const QVariantList& args) :
KCModule(KAboutData::pluginData(QStringLiteral("cube")), parent, args)
KCModule(parent, args)
{
m_ui = new CubeEffectConfigForm(this);

View file

@ -30,7 +30,7 @@ CubeSlideEffectConfigForm::CubeSlideEffectConfigForm(QWidget* parent) : QWidget(
}
CubeSlideEffectConfig::CubeSlideEffectConfig(QWidget* parent, const QVariantList& args) :
KCModule(KAboutData::pluginData(QStringLiteral("cubeslide")), parent, args)
KCModule(parent, args)
{
m_ui = new CubeSlideEffectConfigForm(this);

View file

@ -38,7 +38,7 @@ DesktopGridEffectConfigForm::DesktopGridEffectConfigForm(QWidget* parent) : QWid
}
DesktopGridEffectConfig::DesktopGridEffectConfig(QWidget* parent, const QVariantList& args)
: KCModule(KAboutData::pluginData(QStringLiteral("desktopgrid")), parent, args)
: KCModule(parent, args)
{
m_ui = new DesktopGridEffectConfigForm(this);

View file

@ -27,7 +27,7 @@ namespace KWin
{
DimInactiveEffectConfig::DimInactiveEffectConfig(QWidget *parent, const QVariantList &args)
: KCModule(KAboutData::pluginData(QStringLiteral("diminactive")), parent, args)
: KCModule(parent, args)
{
m_ui.setupUi(this);
DimInactiveConfig::instance(KWIN_CONFIG);

View file

@ -36,7 +36,7 @@ FlipSwitchEffectConfigForm::FlipSwitchEffectConfigForm(QWidget* parent) : QWidge
}
FlipSwitchEffectConfig::FlipSwitchEffectConfig(QWidget* parent, const QVariantList& args) :
KCModule(KAboutData::pluginData(QStringLiteral("flipswitch")), parent, args)
KCModule(parent, args)
{
m_ui = new FlipSwitchEffectConfigForm(this);

View file

@ -22,7 +22,7 @@ namespace KWin
{
GlideEffectConfig::GlideEffectConfig(QWidget *parent, const QVariantList &args)
: KCModule(KAboutData::pluginData(QStringLiteral("glide")), parent, args)
: KCModule(parent, args)
{
ui.setupUi(this);
GlideConfig::instance(KWIN_CONFIG);

View file

@ -29,7 +29,7 @@ namespace KWin
{
InvertEffectConfig::InvertEffectConfig(QWidget* parent, const QVariantList& args) :
KCModule(KAboutData::pluginData(QStringLiteral("invert")), parent, args)
KCModule(parent, args)
{
QVBoxLayout* layout = new QVBoxLayout(this);

View file

@ -40,7 +40,7 @@ LookingGlassEffectConfigForm::LookingGlassEffectConfigForm(QWidget* parent) : QW
}
LookingGlassEffectConfig::LookingGlassEffectConfig(QWidget* parent, const QVariantList& args) :
KCModule(KAboutData::pluginData(QStringLiteral("lookingglass")), parent, args)
KCModule(parent, args)
{
m_ui = new LookingGlassEffectConfigForm(this);

View file

@ -32,7 +32,7 @@ MagicLampEffectConfigForm::MagicLampEffectConfigForm(QWidget* parent) : QWidget(
}
MagicLampEffectConfig::MagicLampEffectConfig(QWidget* parent, const QVariantList& args) :
KCModule(KAboutData::pluginData(QStringLiteral("magiclamp")), parent, args)
KCModule(parent, args)
{
m_ui = new MagicLampEffectConfigForm(this);

View file

@ -39,7 +39,7 @@ MagnifierEffectConfigForm::MagnifierEffectConfigForm(QWidget* parent) : QWidget(
}
MagnifierEffectConfig::MagnifierEffectConfig(QWidget* parent, const QVariantList& args) :
KCModule(KAboutData::pluginData(QStringLiteral("magnifier")), parent, args)
KCModule(parent, args)
{
m_ui = new MagnifierEffectConfigForm(this);

View file

@ -36,7 +36,7 @@ MouseClickEffectConfigForm::MouseClickEffectConfigForm(QWidget* parent) : QWidge
}
MouseClickEffectConfig::MouseClickEffectConfig(QWidget* parent, const QVariantList& args) :
KCModule(KAboutData::pluginData(QStringLiteral("mouseclick")), parent, args)
KCModule(parent, args)
{
m_ui = new MouseClickEffectConfigForm(this);

View file

@ -38,7 +38,7 @@ MouseMarkEffectConfigForm::MouseMarkEffectConfigForm(QWidget* parent) : QWidget(
}
MouseMarkEffectConfig::MouseMarkEffectConfig(QWidget* parent, const QVariantList& args) :
KCModule(KAboutData::pluginData(QStringLiteral("mousemark")), parent, args)
KCModule(parent, args)
{
m_ui = new MouseMarkEffectConfigForm(this);

View file

@ -37,7 +37,7 @@ PresentWindowsEffectConfigForm::PresentWindowsEffectConfigForm(QWidget* parent)
}
PresentWindowsEffectConfig::PresentWindowsEffectConfig(QWidget* parent, const QVariantList& args)
: KCModule(KAboutData::pluginData(QStringLiteral("presentwindows")), parent, args)
: KCModule(parent, args)
{
m_ui = new PresentWindowsEffectConfigForm(this);

View file

@ -31,7 +31,7 @@ ResizeEffectConfigForm::ResizeEffectConfigForm(QWidget* parent) : QWidget(parent
}
ResizeEffectConfig::ResizeEffectConfig(QWidget* parent, const QVariantList& args) :
KCModule(KAboutData::pluginData(QStringLiteral("resize")), parent, args)
KCModule(parent, args)
{
m_ui = new ResizeEffectConfigForm(this);

View file

@ -26,7 +26,7 @@ namespace KWin
{
ShowFpsEffectConfig::ShowFpsEffectConfig(QWidget* parent, const QVariantList& args) :
KCModule(KAboutData::pluginData(QStringLiteral("showfps")), parent, args)
KCModule(parent, args)
{
m_ui = new Ui::ShowFpsEffectConfigForm;
m_ui->setupUi(this);

View file

@ -26,7 +26,7 @@ namespace KWin
{
ShowPaintEffectConfig::ShowPaintEffectConfig(QWidget *parent, const QVariantList &args)
: KCModule(KAboutData::pluginData(QStringLiteral("showpaint")), parent, args)
: KCModule(parent, args)
, m_ui(new Ui::ShowPaintEffectConfig)
{
m_ui->setupUi(this);

View file

@ -25,7 +25,7 @@ namespace KWin
{
SlideEffectConfig::SlideEffectConfig(QWidget *parent, const QVariantList &args)
: KCModule(KAboutData::pluginData(QStringLiteral("slide")), parent, args)
: KCModule(parent, args)
{
m_ui.setupUi(this);
SlideConfig::instance(KWIN_CONFIG);

View file

@ -38,7 +38,7 @@ ThumbnailAsideEffectConfigForm::ThumbnailAsideEffectConfigForm(QWidget* parent)
}
ThumbnailAsideEffectConfig::ThumbnailAsideEffectConfig(QWidget* parent, const QVariantList& args) :
KCModule(KAboutData::pluginData(QStringLiteral("thumbnailaside")), parent, args)
KCModule(parent, args)
{
m_ui = new ThumbnailAsideEffectConfigForm(this);

View file

@ -41,7 +41,7 @@ TrackMouseEffectConfigForm::TrackMouseEffectConfigForm(QWidget* parent) : QWidge
}
TrackMouseEffectConfig::TrackMouseEffectConfig(QWidget* parent, const QVariantList& args) :
KCModule(KAboutData::pluginData(QStringLiteral("trackmouse")), parent, args)
KCModule(parent, args)
{
TrackMouseConfig::instance(KWIN_CONFIG);
m_ui = new TrackMouseEffectConfigForm(this);

View file

@ -34,7 +34,7 @@ WindowGeometryConfigForm::WindowGeometryConfigForm(QWidget* parent) : QWidget(pa
}
WindowGeometryConfig::WindowGeometryConfig(QWidget* parent, const QVariantList& args)
: KCModule(KAboutData::pluginData(QStringLiteral("windowgeometry")), parent, args)
: KCModule(parent, args)
{
WindowGeometryConfiguration::instance(KWIN_CONFIG);
QVBoxLayout* layout = new QVBoxLayout(this);

View file

@ -70,7 +70,7 @@ ParameterSet pset[5] = { set_0, set_1, set_2, set_3, set_4 };
//-----------------------------------------------------------------------------
WobblyWindowsEffectConfig::WobblyWindowsEffectConfig(QWidget* parent, const QVariantList& args) :
KCModule(KAboutData::pluginData(QStringLiteral("wobblywindows")), parent, args)
KCModule(parent, args)
{
WobblyWindowsConfig::instance(KWIN_CONFIG);
m_ui.setupUi(this);

View file

@ -37,7 +37,7 @@ ZoomEffectConfigForm::ZoomEffectConfigForm(QWidget* parent) : QWidget(parent)
}
ZoomEffectConfig::ZoomEffectConfig(QWidget* parent, const QVariantList& args) :
KCModule(KAboutData::pluginData(QStringLiteral("zoom")), parent, args)
KCModule(parent, args)
{
ZoomConfig::instance(KWIN_CONFIG);
m_ui = new ZoomEffectConfigForm(this);

View file

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