summaryrefslogtreecommitdiffstats
path: root/kolf/kolf.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kolf/kolf.cpp')
-rw-r--r--kolf/kolf.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/kolf/kolf.cpp b/kolf/kolf.cpp
index f40c3f5d..99d7bbfc 100644
--- a/kolf/kolf.cpp
+++ b/kolf/kolf.cpp
@@ -117,7 +117,7 @@ void Kolf::initGUI()
useMouseAction = new KToggleAction(i18n("Enable &Mouse for Moving Putter"), 0, TQT_TQOBJECT(this), TQT_SLOT(emptySlot()), actionCollection(), "usemouse");
useMouseAction->setCheckedState(i18n("Disable &Mouse for Moving Putter"));
connect(useMouseAction, TQT_SIGNAL(toggled(bool)), TQT_TQOBJECT(this), TQT_SLOT(useMouseChanged(bool)));
- KConfig *config = kapp->config();
+ TDEConfig *config = kapp->config();
config->setGroup("Settings");
useMouseAction->setChecked(config->readBoolEntry("useMouse", true));
@@ -196,7 +196,7 @@ void Kolf::startNewGame()
}
else
{
- KConfig config(loadedGame);
+ TDEConfig config(loadedGame);
config.setGroup("0 Saved Game");
if (isTutorial)
@@ -524,7 +524,7 @@ void Kolf::saveGame()
return;
}
- KConfig config(loadedGame);
+ TDEConfig config(loadedGame);
config.setGroup("0 Saved Game");
config.writeEntry("Competition", competition);
@@ -550,7 +550,7 @@ void Kolf::loadGame()
void Kolf::openURL(KURL url)
{
TQString target;
- if (KIO::NetAccess::download(url, target, this))
+ if (TDEIO::NetAccess::download(url, target, this))
{
isTutorial = false;
TQString mimeType = KMimeType::findByPath(target)->name();
@@ -719,27 +719,27 @@ void Kolf::titleChanged(const TQString &newTitle)
void Kolf::useMouseChanged(bool yes)
{
- KConfig *config = kapp->config(); config->setGroup("Settings"); config->writeEntry("useMouse", yes); config->sync();
+ TDEConfig *config = kapp->config(); config->setGroup("Settings"); config->writeEntry("useMouse", yes); config->sync();
}
void Kolf::useAdvancedPuttingChanged(bool yes)
{
- KConfig *config = kapp->config(); config->setGroup("Settings"); config->writeEntry("useAdvancedPutting", yes); config->sync();
+ TDEConfig *config = kapp->config(); config->setGroup("Settings"); config->writeEntry("useAdvancedPutting", yes); config->sync();
}
void Kolf::showInfoChanged(bool yes)
{
- KConfig *config = kapp->config(); config->setGroup("Settings"); config->writeEntry("showInfo", yes); config->sync();
+ TDEConfig *config = kapp->config(); config->setGroup("Settings"); config->writeEntry("showInfo", yes); config->sync();
}
void Kolf::showGuideLineChanged(bool yes)
{
- KConfig *config = kapp->config(); config->setGroup("Settings"); config->writeEntry("showGuideLine", yes); config->sync();
+ TDEConfig *config = kapp->config(); config->setGroup("Settings"); config->writeEntry("showGuideLine", yes); config->sync();
}
void Kolf::soundChanged(bool yes)
{
- KConfig *config = kapp->config(); config->setGroup("Settings"); config->writeEntry("sound", yes); config->sync();
+ TDEConfig *config = kapp->config(); config->setGroup("Settings"); config->writeEntry("sound", yes); config->sync();
}
void Kolf::initPlugins()