diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-25 00:30:47 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-25 00:30:47 -0600 |
commit | cc74f360bb40da3d79f58048f8e8611804980aa6 (patch) | |
tree | c4385d2c16b904757b1c8bb998a4aec6993373f7 /twin/clients/keramik/config/config.cpp | |
parent | 79b21d47bce1ee428affc97534cd8b257232a871 (diff) | |
download | tdebase-cc74f360bb40da3d79f58048f8e8611804980aa6.tar.gz tdebase-cc74f360bb40da3d79f58048f8e8611804980aa6.zip |
Rename KCModule, KConfig, KIO, KServer, and KSocket to avoid conflicts with KDE4
Diffstat (limited to 'twin/clients/keramik/config/config.cpp')
-rw-r--r-- | twin/clients/keramik/config/config.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/twin/clients/keramik/config/config.cpp b/twin/clients/keramik/config/config.cpp index a11695dd2..6d4695da2 100644 --- a/twin/clients/keramik/config/config.cpp +++ b/twin/clients/keramik/config/config.cpp @@ -33,7 +33,7 @@ extern "C" { - KDE_EXPORT TQObject* allocate_config( KConfig* conf, TQWidget* parent ) + KDE_EXPORT TQObject* allocate_config( TDEConfig* conf, TQWidget* parent ) { return ( new KeramikConfig( conf, parent ) ); } @@ -48,11 +48,11 @@ extern "C" * Configure tab in twindecoration */ -KeramikConfig::KeramikConfig( KConfig* conf, TQWidget* parent ) +KeramikConfig::KeramikConfig( TDEConfig* conf, TQWidget* parent ) : TQObject( parent ) { TDEGlobal::locale()->insertCatalogue("twin_clients"); - c = new KConfig( "twinkeramikrc" ); + c = new TDEConfig( "twinkeramikrc" ); ui = new KeramikConfigUI( parent ); connect( ui->showAppIcons, TQT_SIGNAL(clicked()), TQT_SIGNAL(changed()) ); @@ -74,7 +74,7 @@ KeramikConfig::~KeramikConfig() // Loads the configurable options from the twinrc config file // It is passed the open config from twindecoration to improve efficiency -void KeramikConfig::load( KConfig* ) +void KeramikConfig::load( TDEConfig* ) { c->setGroup("General"); ui->showAppIcons->setChecked( c->readBoolEntry("ShowAppIcons", true) ); @@ -85,7 +85,7 @@ void KeramikConfig::load( KConfig* ) // Saves the configurable options to the twinrc config file -void KeramikConfig::save( KConfig* ) +void KeramikConfig::save( TDEConfig* ) { c->setGroup( "General" ); c->writeEntry( "ShowAppIcons", ui->showAppIcons->isChecked() ); |