diff options
| author | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-01-20 18:26:21 +0900 |
|---|---|---|
| committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-01-27 11:03:54 +0900 |
| commit | bd4ee3ccc15d0776614a8435850a2eb1faf5a71f (patch) | |
| tree | c2ce8973a25d1e56e92a5a0b179693ed1f4f42ad /kreversi/kreversi.cpp | |
| parent | 3191f81874fcfdd0466f6f42beb89da6245b1a0a (diff) | |
| download | tdegames-bd4ee3ccc15d0776614a8435850a2eb1faf5a71f.tar.gz tdegames-bd4ee3ccc15d0776614a8435850a2eb1faf5a71f.zip | |
Use tdeApp
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'kreversi/kreversi.cpp')
| -rw-r--r-- | kreversi/kreversi.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/kreversi/kreversi.cpp b/kreversi/kreversi.cpp index 12668301..522eca1b 100644 --- a/kreversi/kreversi.cpp +++ b/kreversi/kreversi.cpp @@ -258,7 +258,7 @@ void KReversi::slotNewGame() void KReversi::slotOpenGame() { - TDEConfig *config = kapp->config(); + TDEConfig *config = tdeApp->config(); config->setGroup("Savegame"); if (loadGame(config)) @@ -274,7 +274,7 @@ void KReversi::slotOpenGame() void KReversi::slotSave() { - TDEConfig *config = kapp->config(); + TDEConfig *config = tdeApp->config(); config->setGroup("Savegame"); saveGame(config); @@ -404,7 +404,7 @@ void KReversi::slotSwitchSides() // Update the human color in the window. m_gameView->setHumanColor(m_humanColor); - kapp->processEvents(); + tdeApp->processEvents(); computerMakeMove(); } @@ -794,11 +794,11 @@ void KReversi::setState(State newState) m_state = newState; if (m_state == Thinking){ - kapp->setOverrideCursor(waitCursor); + tdeApp->setOverrideCursor(waitCursor); stopAction->setEnabled(true); } else { - kapp->restoreOverrideCursor(); + tdeApp->restoreOverrideCursor(); stopAction->setEnabled(false); } |
