Adapt to changes in KAboutData.

This commit is contained in:
Andreas Hartmetz 2014-05-14 04:49:33 +02:00
parent 61c631c94e
commit 9c73055a10
6 changed files with 6 additions and 6 deletions

View file

@ -95,7 +95,7 @@ KWinDecorationModule::KWinDecorationModule(QWidget* parent, const QVariantList &
KAboutData *about =
new KAboutData(QStringLiteral("kcmkwindecoration"),
i18n("Window Decoration Control Module"),
QString(), QString(), KAboutData::License_GPL,
QString(), QString(), KAboutLicense::GPL,
i18n("(c) 2001 Karol Szwed"));
about->addAuthor(i18n("Karol Szwed"), QString(), "gallium@kde.org");
setAboutData(about);

View file

@ -571,7 +571,7 @@ void KWinDesktopConfig::slotAboutEffectClicked()
data.displayName,
QStringLiteral(KWIN_VERSION_STRING),
data.comment,
KAboutData::License_GPL_V2);
KAboutLicense::GPL_V2);
aboutData.setProgramIconName(QStringLiteral("preferences-system-windows"));
aboutData.addAuthor(i18n("KWin development team"));
showDialog(aboutData);

View file

@ -100,7 +100,7 @@ KWinOptions::KWinOptions(QWidget *parent, const QVariantList &)
KAboutData *about =
new KAboutData(QStringLiteral("kcmkwinoptions"), i18n("Window Behavior Configuration Module"),
QString(), QString(), KAboutData::License_GPL,
QString(), QString(), KAboutLicense::GPL,
i18n("(c) 1997 - 2002 KWin and KControl Authors"));
about->addAuthor(i18n("Matthias Ettrich"), QString(), "ettrich@kde.org");

View file

@ -48,7 +48,7 @@ KCMRules::KCMRules(QWidget *parent, const QVariantList &)
connect(widget, SIGNAL(changed(bool)), SLOT(moduleChanged(bool)));
KAboutData *about = new KAboutData(QStringLiteral("kcmkwinrules"),
i18n("Window-Specific Settings Configuration Module"),
QString(), QString(), KAboutData::License_GPL, i18n("(c) 2004 KWin and KControl Authors"));
QString(), QString(), KAboutLicense::GPL, i18n("(c) 2004 KWin and KControl Authors"));
about->addAuthor(i18n("Lubos Lunak"), QString(), "l.lunak@kde.org");
setAboutData(about);
}

View file

@ -50,7 +50,7 @@ Module::Module(QWidget *parent, const QVariantList &args) :
i18n("KWin Scripts"),
global_s_versionStringFull,
i18n("Configure KWin scripts"),
KAboutData::License_GPL_V2);
KAboutLicense::GPL_V2);
about->addAuthor(i18n("Tamás Krutki"));
setAboutData(about);

View file

@ -496,7 +496,7 @@ KWIN_EXPORT int kdemain(int argc, char * argv[])
i18n("KWin"), // A displayable program name string
QStringLiteral(KWIN_VERSION_STRING), // The program version string
i18n(description), // Short description of what the app does
KAboutData::License_GPL, // The license this code is released under
KAboutLicense::GPL, // The license this code is released under
i18n("(c) 1999-2013, The KDE Developers")); // Copyright Statement
aboutData.addAuthor(i18n("Matthias Ettrich"), QString(), QStringLiteral("ettrich@kde.org"));