summaryrefslogtreecommitdiffstats
path: root/kolf/kolf.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2013-01-25 00:32:59 -0600
committerTimothy Pearson <[email protected]>2013-01-25 00:32:59 -0600
commit2f84d0e2d3d4252e6aee24aceafa45dbdb7f4d1d (patch)
treeea24a96bad3bb7356ec1a2dca2a1338692d79745 /kolf/kolf.cpp
parentd6f3812c8d969a673b420beca2482804177704fb (diff)
downloadtdegames-2f84d0e2d3d4252e6aee24aceafa45dbdb7f4d1d.tar.gz
tdegames-2f84d0e2d3d4252e6aee24aceafa45dbdb7f4d1d.zip
Rename KCModule, KConfig, KIO, KServer, and KSocket to avoid conflicts with KDE4
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()