kresources
21 #include "kcmkresources.h"
25 #include <kaboutdata.h>
26 #include <kpluginfactory.h>
27 #include <kpluginloader.h>
28 #include <klocalizedstring.h>
32 K_PLUGIN_FACTORY( ResourcesFactory, registerPlugin<KCMKResources>(); )
33 K_EXPORT_PLUGIN( ResourcesFactory(
"kcmkresources" ) )
35 KCMKResources::KCMKResources(
QWidget *parent, const QVariantList &l )
36 : KCModule( ResourcesFactory::componentData(), parent, QVariantList() )
39 KGlobal::locale()->insertCatalog(
QLatin1String(
"libkresources") );
44 connect( mConfigPage, SIGNAL(changed(
bool)), SIGNAL(changed(
bool)) );
45 setButtons( Help | Apply );
47 new KAboutData( I18N_NOOP(
"kcmkresources" ), 0,
48 ki18n(
"KDE Resources configuration module" ),
49 0, KLocalizedString(), KAboutData::License_GPL,
50 ki18n(
"(c) 2003 Tobias Koenig" ) );
52 about->addAuthor( ki18n(
"Tobias Koenig" ), KLocalizedString(),
"tokoe@kde.org" );
53 setAboutData( about );
56 void KCMKResources::load()
61 void KCMKResources::save()
66 void KCMKResources::defaults()
68 mConfigPage->defaults();
A resource configuration page.
void setMargin(int margin)
This file is part of the KDE resource framework and defines the ConfigPage class. ...
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:37:52 by
doxygen 1.8.7 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.