diff options
Diffstat (limited to 'twin-styles/icewm/config')
-rw-r--r-- | twin-styles/icewm/config/config.cpp | 10 | ||||
-rw-r--r-- | twin-styles/icewm/config/config.h | 8 |
2 files changed, 9 insertions, 9 deletions
diff --git a/twin-styles/icewm/config/config.cpp b/twin-styles/icewm/config/config.cpp index 8942467f..dc99a05a 100644 --- a/twin-styles/icewm/config/config.cpp +++ b/twin-styles/icewm/config/config.cpp @@ -39,7 +39,7 @@ extern "C" { - KDE_EXPORT TQObject* allocate_config( KConfig* conf, TQWidget* parent ) + KDE_EXPORT TQObject* allocate_config( TDEConfig* conf, TQWidget* parent ) { return(new IceWMConfig(conf, parent)); } @@ -55,10 +55,10 @@ extern "C" // Configure tab in twindecoration // ========================================================================== -IceWMConfig::IceWMConfig( KConfig* conf, TQWidget* parent ) +IceWMConfig::IceWMConfig( TDEConfig* conf, TQWidget* parent ) : TQObject( parent ) { - icewmConfig = new KConfig("twinicewmrc"); + icewmConfig = new TDEConfig("twinicewmrc"); TDEGlobal::locale()->insertCatalogue("twin_art_clients"); mainWidget = new TQVBox( parent ); @@ -224,7 +224,7 @@ void IceWMConfig::slotSelectionChanged() // Loads the configurable options from the twinicewmrc config file -void IceWMConfig::load( KConfig* ) +void IceWMConfig::load( TDEConfig* ) { icewmConfig->setGroup("General"); @@ -242,7 +242,7 @@ void IceWMConfig::load( KConfig* ) // Saves the configurable options to the twinicewmrc config file -void IceWMConfig::save( KConfig* ) +void IceWMConfig::save( TDEConfig* ) { icewmConfig->setGroup("General"); icewmConfig->writeEntry( "ThemeTitleTextColors", cbThemeTitleTextColors->isChecked() ); diff --git a/twin-styles/icewm/config/config.h b/twin-styles/icewm/config/config.h index d8865971..89f98e0d 100644 --- a/twin-styles/icewm/config/config.h +++ b/twin-styles/icewm/config/config.h @@ -43,7 +43,7 @@ class IceWMConfig: public TQObject public: - IceWMConfig( KConfig* conf, TQWidget* parent ); + IceWMConfig( TDEConfig* conf, TQWidget* parent ); ~IceWMConfig(); // These public signals/slots work similar to KCM modules @@ -51,8 +51,8 @@ class IceWMConfig: 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: @@ -61,7 +61,7 @@ class IceWMConfig: public TQObject void findIceWMThemes(); private: - KConfig* icewmConfig; + TDEConfig* icewmConfig; TQCheckBox* cbThemeTitleTextColors; TQCheckBox* cbTitleBarOnTop; TQCheckBox* cbShowMenuButtonIcon; |