CT: kaboutdata, as requested by the kcontrol maintainer

svn path=/trunk/kdebase/kwin/; revision=132574
icc-effect-5.14.5
Cristian Tibirna 2002-01-19 18:19:38 +00:00
parent 1b8f28362f
commit 6c4f1cb61f
2 changed files with 23 additions and 0 deletions

View File

@ -26,6 +26,7 @@
#include <klocale.h>
#include <kconfig.h>
#include <kgenericfactory.h>
#include <kaboutdata.h>
#include "mouse.h"
#include "windows.h"
@ -114,6 +115,26 @@ QString KWinOptions::quickHelp() const
" for how to customize window behavior.");
}
const KAboutData* KWinOptions::aboutData() const
{
KAboutData *about =
new KAboutData(I18N_NOOP("kcmkwinoptions"), I18N_NOOP("Kwin Options Control Module"),
0, 0, KAboutData::License_GPL,
I18N_NOOP("(c) 1997 - 2002 KWin and KControl Authors"));
about->addAuthor("Matthias Ettrich",0,"ettrich@kde.org");
about->addAuthor("Waldo Bastian",0,"bastian@kde.org");
about->addAuthor("Cristian Tibirna",0,"tibirna@kde.org");
about->addAuthor("Matthias Kalle Dalheimer",0,"kalle@kde.org");
about->addAuthor("Daniel Molkentin",0,"molkentin@kde.org");
about->addAuthor("Wynn Wilkes",0,"wynnw@caldera.com");
about->addAuthor("Pat Dowler",0,"dowler@pt1B1106.FSH.UVic.CA");
about->addAuthor("Bernd Wuebben",0,"wuebben@kde.org");
about->addAuthor("Matthias Hoelzer-Kluepfel",0,"hoelzer@kde.org");
return about;
}
void KWinOptions::moduleChanged(bool state)
{
emit changed(state);

View File

@ -32,6 +32,7 @@ class KConfig;
class KFocusConfig;
class KActionsConfig;
class KAdvancedConfig;
class KAboutData;
class KWinOptions : public KCModule
{
@ -45,6 +46,7 @@ public:
void save();
void defaults();
QString quickHelp() const;
const KAboutData* aboutData() const;
protected slots: