summaryrefslogtreecommitdiffstats
path: root/ktuberling
diff options
context:
space:
mode:
Diffstat (limited to 'ktuberling')
-rw-r--r--ktuberling/toplevel.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/ktuberling/toplevel.cpp b/ktuberling/toplevel.cpp
index 776cc95f..2e4fe564 100644
--- a/ktuberling/toplevel.cpp
+++ b/ktuberling/toplevel.cpp
@@ -215,7 +215,7 @@ void TopLevel::readOptions()
TDEConfig *config;
TQString option;
- config = TDEApplication::kApplication()->config();
+ config = tdeApp->config();
config->setGroup("General");
option = config->readEntry("Sound", "on");
@@ -238,7 +238,7 @@ void TopLevel::writeOptions()
{
TDEConfig *config;
- config = TDEApplication::kApplication()->config();
+ config = tdeApp->config();
config->setGroup("General");
config->writeEntry("Sound", soundEnabled? "on": "off");
@@ -258,7 +258,7 @@ void TopLevel::setupTDEAction()
KStdGameAction::load(this, TQ_SLOT(fileOpen()), actionCollection());
KStdGameAction::save(this, TQ_SLOT(fileSave()), actionCollection());
KStdGameAction::print(this, TQ_SLOT(filePrint()), actionCollection());
- KStdGameAction::quit(kapp, TQ_SLOT(quit()), actionCollection());
+ KStdGameAction::quit(tdeApp, TQ_SLOT(quit()), actionCollection());
(void) new TDEAction(i18n("Save &as Picture..."), 0, this, TQ_SLOT(filePicture()), actionCollection(), "game_save_picture");
//Edit