Remove defunct calls to KAboutData::pluginInfo
They always return nullptr since the info was never registered.
This commit is contained in:
parent
773e0355b3
commit
fee696ec88
25 changed files with 25 additions and 25 deletions
|
@ -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);
|
||||
|
|
|
@ -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);
|
||||
|
||||
|
|
|
@ -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);
|
||||
|
||||
|
|
|
@ -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);
|
||||
|
||||
|
|
|
@ -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);
|
||||
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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);
|
||||
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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);
|
||||
|
||||
|
|
|
@ -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);
|
||||
|
||||
|
|
|
@ -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);
|
||||
|
||||
|
|
|
@ -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);
|
||||
|
||||
|
|
|
@ -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);
|
||||
|
||||
|
|
|
@ -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);
|
||||
|
||||
|
|
|
@ -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);
|
||||
|
||||
|
|
|
@ -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);
|
||||
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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);
|
||||
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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))
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue