summaryrefslogtreecommitdiffstats
path: root/kaboodle
diff options
context:
space:
mode:
Diffstat (limited to 'kaboodle')
-rw-r--r--kaboodle/conf.cpp4
-rw-r--r--kaboodle/userinterface.cpp2
2 files changed, 3 insertions, 3 deletions
diff --git a/kaboodle/conf.cpp b/kaboodle/conf.cpp
index cd524c2b..3bab0768 100644
--- a/kaboodle/conf.cpp
+++ b/kaboodle/conf.cpp
@@ -39,7 +39,7 @@ Kaboodle::Conf::Conf(TQWidget *_parent, const char *_name)
autoPlay = new TQCheckBox(i18n("Start playing automatically"), box);
quitAfterPlaying = new TQCheckBox(i18n("Quit when finished playing"), box);
- KConfig &config = *TDEGlobal::config();
+ TDEConfig &config = *TDEGlobal::config();
config.setGroup("core");
autoPlay->setChecked(config.readBoolEntry("autoPlay", true));
quitAfterPlaying->setChecked(config.readBoolEntry("quitAfterPlaying", true));
@@ -47,7 +47,7 @@ Kaboodle::Conf::Conf(TQWidget *_parent, const char *_name)
void Kaboodle::Conf::accept(void)
{
- KConfig &config = *TDEGlobal::config();
+ TDEConfig &config = *TDEGlobal::config();
config.setGroup("core");
config.writeEntry("autoPlay", autoPlay->isChecked());
config.writeEntry("quitAfterPlaying", quitAfterPlaying->isChecked());
diff --git a/kaboodle/userinterface.cpp b/kaboodle/userinterface.cpp
index aa82479b..5deaad05 100644
--- a/kaboodle/userinterface.cpp
+++ b/kaboodle/userinterface.cpp
@@ -143,7 +143,7 @@ void Kaboodle::UserInterface::playerPreferences(void)
void Kaboodle::UserInterface::applySettings(void)
{
View *view = static_cast<View *>(part->view());
- KConfig &config = *TDEGlobal::config();
+ TDEConfig &config = *TDEGlobal::config();
config.setGroup("core");
view->setAutoPlay(config.readBoolEntry("autoPlay", true));
view->setQuitAfterPlaying(config.readBoolEntry("quitAfterPlaying", true));