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") );
40 QVBoxLayout *layout =
new QVBoxLayout(
this );
41 layout->setMargin( 0 );
43 layout->addWidget( mConfigPage );
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.
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-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:00:19 by
doxygen 1.8.7 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.