diff options
Diffstat (limited to 'twin/clients/default/config')
-rw-r--r-- | twin/clients/default/config/config.cpp | 8 | ||||
-rw-r--r-- | twin/clients/default/config/config.h | 6 |
2 files changed, 7 insertions, 7 deletions
diff --git a/twin/clients/default/config/config.cpp b/twin/clients/default/config/config.cpp index 43302b552..8e53dcc75 100644 --- a/twin/clients/default/config/config.cpp +++ b/twin/clients/default/config/config.cpp @@ -17,7 +17,7 @@ extern "C" { - KDE_EXPORT TQObject* allocate_config( KConfig* conf, TQWidget* parent ) + KDE_EXPORT TQObject* allocate_config( TDEConfig* conf, TQWidget* parent ) { return(new KDEDefaultConfig(conf, parent)); } @@ -29,7 +29,7 @@ extern "C" // 'parent' is the parent of the TQObject, which is a VBox inside the // Configure tab in twindecoration -KDEDefaultConfig::KDEDefaultConfig( KConfig* conf, TQWidget* parent ) +KDEDefaultConfig::KDEDefaultConfig( TDEConfig* conf, TQWidget* parent ) : TQObject( parent ) { TDEGlobal::locale()->insertCatalogue("twin_clients"); @@ -88,7 +88,7 @@ void KDEDefaultConfig::slotSelectionChanged() // Loads the configurable options from the twinrc config file // It is passed the open config from twindecoration to improve efficiency -void KDEDefaultConfig::load( KConfig* conf ) +void KDEDefaultConfig::load( TDEConfig* conf ) { conf->setGroup("KDEDefault"); bool override = conf->readBoolEntry( "ShowTitleBarStipple", true ); @@ -105,7 +105,7 @@ void KDEDefaultConfig::load( KConfig* conf ) // Saves the configurable options to the twinrc config file -void KDEDefaultConfig::save( KConfig* conf ) +void KDEDefaultConfig::save( TDEConfig* conf ) { conf->setGroup("KDEDefault"); conf->writeEntry( "ShowTitleBarStipple", cbShowStipple->isChecked() ); diff --git a/twin/clients/default/config/config.h b/twin/clients/default/config/config.h index 733b96141..fcd9fbf23 100644 --- a/twin/clients/default/config/config.h +++ b/twin/clients/default/config/config.h @@ -22,7 +22,7 @@ class KDEDefaultConfig: public TQObject Q_OBJECT public: - KDEDefaultConfig( KConfig* conf, TQWidget* parent ); + KDEDefaultConfig( TDEConfig* conf, TQWidget* parent ); ~KDEDefaultConfig(); // These public signals/slots work similar to KCM modules @@ -30,8 +30,8 @@ class KDEDefaultConfig: public TQObject void changed(); public slots: - void load( KConfig* conf ); - void save( KConfig* conf ); + void load( TDEConfig* conf ); + void save( TDEConfig* conf ); void defaults(); protected slots: |