mirror of
https://invent.kde.org/system/dolphin
synced 2024-11-05 18:47:12 +00:00
More KCModule that now use setAboutData so we avoid leaking of mem
svn path=/trunk/kdebase/kdepasswd/; revision=330728
This commit is contained in:
parent
07d1d08d48
commit
6174b1c022
2 changed files with 17 additions and 25 deletions
|
@ -81,7 +81,24 @@ KCMUserAccount::KCMUserAccount( QWidget *parent, const char *name,
|
|||
|
||||
setButtons( KCModule::Ok|KCModule::Apply);
|
||||
load();
|
||||
|
||||
KAboutData *about = new KAboutData(I18N_NOOP("kcm_useraccount"),
|
||||
I18N_NOOP("Password & User Information"), 0, 0,
|
||||
KAboutData::License_GPL,
|
||||
I18N_NOOP("(C) 2002, Braden MacDonald, "
|
||||
"(C) 2004 Ravikiran Rajagopal"));
|
||||
|
||||
about->addAuthor("Ravikiran Rajagopal", I18N_NOOP("Maintainer"), "ravi@kde.org");
|
||||
about->addAuthor("Michael H\303\244ckel", "haeckel@kde.org" );
|
||||
|
||||
about->addAuthor("Braden MacDonald", I18N_NOOP("Face editor"), "bradenm_k@shaw.ca");
|
||||
about->addAuthor("Geert Jansen", I18N_NOOP("Password changer"), "jansen@kde.org",
|
||||
"http://www.stack.nl/~geertj/");
|
||||
about->addAuthor("Daniel Molkentin");
|
||||
about->addAuthor("Alex Zepeda");
|
||||
about->addAuthor("Hans Karlsson", I18N_NOOP("Icons"), "karlsson.h@home.se");
|
||||
about->addAuthor("Hermann Thomas", I18N_NOOP("Icons"), "h.thomas@gmx.de");
|
||||
setAboutData(about);
|
||||
}
|
||||
|
||||
void KCMUserAccount::slotChangePassword()
|
||||
|
@ -231,30 +248,6 @@ void KCMUserAccount::save()
|
|||
|
||||
}
|
||||
|
||||
const KAboutData* KCMUserAccount::aboutData() const
|
||||
{
|
||||
KAboutData* about = new KAboutData(I18N_NOOP("kcm_useraccount"),
|
||||
I18N_NOOP("Password & User Information"), 0, 0,
|
||||
KAboutData::License_GPL,
|
||||
I18N_NOOP("(C) 2002, Braden MacDonald, "
|
||||
"(C) 2004 Ravikiran Rajagopal"));
|
||||
|
||||
about->addAuthor("Ravikiran Rajagopal", I18N_NOOP("Maintainer"), "ravi@kde.org");
|
||||
about->addAuthor("Michael H\303\244ckel", "haeckel@kde.org" );
|
||||
|
||||
about->addAuthor("Braden MacDonald", I18N_NOOP("Face editor"), "bradenm_k@shaw.ca");
|
||||
about->addAuthor("Geert Jansen", I18N_NOOP("Password changer"), "jansen@kde.org",
|
||||
"http://www.stack.nl/~geertj/");
|
||||
about->addAuthor("Daniel Molkentin");
|
||||
about->addAuthor("Alex Zepeda");
|
||||
about->addAuthor("Hans Karlsson", I18N_NOOP("Icons"), "karlsson.h@home.se");
|
||||
about->addAuthor("Hermann Thomas", I18N_NOOP("Icons"), "h.thomas@gmx.de");
|
||||
|
||||
return about;
|
||||
|
||||
}
|
||||
|
||||
|
||||
void KCMUserAccount::changeFace(const QPixmap &pix)
|
||||
{
|
||||
if ( _facePerm < userFirst )
|
||||
|
|
|
@ -53,7 +53,6 @@ public:
|
|||
void load();
|
||||
|
||||
void save();
|
||||
const KAboutData* aboutData() const;
|
||||
|
||||
/**
|
||||
* For the face button
|
||||
|
|
Loading…
Reference in a new issue