diff options
Diffstat (limited to 'twin-styles/glow/config/glowconfigdialog.cpp')
-rw-r--r-- | twin-styles/glow/config/glowconfigdialog.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/twin-styles/glow/config/glowconfigdialog.cpp b/twin-styles/glow/config/glowconfigdialog.cpp index 312af343..31b34c5e 100644 --- a/twin-styles/glow/config/glowconfigdialog.cpp +++ b/twin-styles/glow/config/glowconfigdialog.cpp @@ -45,16 +45,16 @@ extern "C" { - KDE_EXPORT TQObject* allocate_config( KConfig* conf, TQWidget* parent ) + KDE_EXPORT TQObject* allocate_config( TDEConfig* conf, TQWidget* parent ) { return(new GlowConfigDialog(conf, parent)); } } -GlowConfigDialog::GlowConfigDialog( KConfig * conf, TQWidget * parent ) +GlowConfigDialog::GlowConfigDialog( TDEConfig * conf, TQWidget * parent ) : TQObject(parent) { - _glowConfig = new KConfig("twinglowrc"); + _glowConfig = new TDEConfig("twinglowrc"); TDEGlobal::locale()->insertCatalogue("twin_glow_config"); _main_group_box = new TQWidget(parent); @@ -138,8 +138,8 @@ GlowConfigDialog::GlowConfigDialog( KConfig * conf, TQWidget * parent ) TQHBoxLayout *titlebarGradientTypeLayout = new TQHBoxLayout(); _titlebarGradientTypeComboBox = new TQComboBox(_main_group_box); - KConfig *c = TDEGlobal::config(); - KConfigGroupSaver cgs( c, TQString::fromLatin1("WM") ); + TDEConfig *c = TDEGlobal::config(); + TDEConfigGroupSaver cgs( c, TQString::fromLatin1("WM") ); TQColor activeBackground = c->readColorEntry("activeBackground"); TQColor activeBlend = c->readColorEntry("activeBlend"); @@ -183,7 +183,7 @@ GlowConfigDialog::~GlowConfigDialog() delete[] _buttonConfigMap; } -void GlowConfigDialog::load( KConfig* /* conf */ ) +void GlowConfigDialog::load( TDEConfig* /* conf */ ) { TQColor color; const TQColor defaultCloseButtonColor(DEFAULT_CLOSE_BUTTON_COLOR); @@ -229,7 +229,7 @@ void GlowConfigDialog::load( KConfig* /* conf */ ) slotTitleButtonClicked(0); } -void GlowConfigDialog::save( KConfig* /* conf */ ) +void GlowConfigDialog::save( TDEConfig* /* conf */ ) { _glowConfig->setGroup("General"); @@ -298,7 +298,7 @@ void GlowConfigDialog::slotLoadThemeList () if (! _theme_list_view->findItem (finfo->fileName(), 0)) { - KConfig conf (dir.path() + "/" + finfo->fileName() + "/" + + TDEConfig conf (dir.path() + "/" + finfo->fileName() + "/" + finfo->fileName() + ".theme"); TQSize button_size = conf.readSizeEntry ( "buttonSize", new TQSize (-1, -1)); |