diff options
author | Michele Calgaro <[email protected]> | 2025-01-20 18:26:21 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2025-01-27 11:03:54 +0900 |
commit | bd4ee3ccc15d0776614a8435850a2eb1faf5a71f (patch) | |
tree | c2ce8973a25d1e56e92a5a0b179693ed1f4f42ad /kolf/kolf.cpp | |
parent | 3191f81874fcfdd0466f6f42beb89da6245b1a0a (diff) | |
download | tdegames-bd4ee3ccc15d0776614a8435850a2eb1faf5a71f.tar.gz tdegames-bd4ee3ccc15d0776614a8435850a2eb1faf5a71f.zip |
Use tdeApp
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'kolf/kolf.cpp')
-rw-r--r-- | kolf/kolf.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/kolf/kolf.cpp b/kolf/kolf.cpp index 856a023a..4d90d6cd 100644 --- a/kolf/kolf.cpp +++ b/kolf/kolf.cpp @@ -117,7 +117,7 @@ void Kolf::initGUI() useMouseAction = new TDEToggleAction(i18n("Enable &Mouse for Moving Putter"), 0, this, TQ_SLOT(emptySlot()), actionCollection(), "usemouse"); useMouseAction->setCheckedState(i18n("Disable &Mouse for Moving Putter")); connect(useMouseAction, TQ_SIGNAL(toggled(bool)), this, TQ_SLOT(useMouseChanged(bool))); - TDEConfig *config = kapp->config(); + TDEConfig *config = tdeApp->config(); config->setGroup("Settings"); useMouseAction->setChecked(config->readBoolEntry("useMouse", true)); @@ -719,27 +719,27 @@ void Kolf::titleChanged(const TQString &newTitle) void Kolf::useMouseChanged(bool yes) { - TDEConfig *config = kapp->config(); config->setGroup("Settings"); config->writeEntry("useMouse", yes); config->sync(); + TDEConfig *config = tdeApp->config(); config->setGroup("Settings"); config->writeEntry("useMouse", yes); config->sync(); } void Kolf::useAdvancedPuttingChanged(bool yes) { - TDEConfig *config = kapp->config(); config->setGroup("Settings"); config->writeEntry("useAdvancedPutting", yes); config->sync(); + TDEConfig *config = tdeApp->config(); config->setGroup("Settings"); config->writeEntry("useAdvancedPutting", yes); config->sync(); } void Kolf::showInfoChanged(bool yes) { - TDEConfig *config = kapp->config(); config->setGroup("Settings"); config->writeEntry("showInfo", yes); config->sync(); + TDEConfig *config = tdeApp->config(); config->setGroup("Settings"); config->writeEntry("showInfo", yes); config->sync(); } void Kolf::showGuideLineChanged(bool yes) { - TDEConfig *config = kapp->config(); config->setGroup("Settings"); config->writeEntry("showGuideLine", yes); config->sync(); + TDEConfig *config = tdeApp->config(); config->setGroup("Settings"); config->writeEntry("showGuideLine", yes); config->sync(); } void Kolf::soundChanged(bool yes) { - TDEConfig *config = kapp->config(); config->setGroup("Settings"); config->writeEntry("sound", yes); config->sync(); + TDEConfig *config = tdeApp->config(); config->setGroup("Settings"); config->writeEntry("sound", yes); config->sync(); } void Kolf::initPlugins() |