diff options
| author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-12-20 22:30:18 +0900 |
|---|---|---|
| committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-12-21 09:39:40 +0900 |
| commit | 4d6acadb4557b3dc9db23fe80e361f4f65289ccd (patch) | |
| tree | 536561cf7f93c1eaa56e824f1dd96b02bbdaa484 /ksnake/game.cpp | |
| parent | 76f734a8102bfc590570e67a73c40351ea2bbf3f (diff) | |
| download | tdegames-4d6acadb4557b3dc9db23fe80e361f4f65289ccd.tar.gz tdegames-4d6acadb4557b3dc9db23fe80e361f4f65289ccd.zip | |
Replace various '#define' strings - part 6
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 7909152750670148360093b2519955fbfa555154)
Diffstat (limited to 'ksnake/game.cpp')
| -rw-r--r-- | ksnake/game.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/ksnake/game.cpp b/ksnake/game.cpp index 0641b7d3..a4d61c18 100644 --- a/ksnake/game.cpp +++ b/ksnake/game.cpp @@ -120,12 +120,12 @@ void Game::createMenu() actionCollection()->setAutoConnectShortcuts(true); rattler->setActionCollection(actionCollection()); - KStdGameAction::gameNew(TQT_TQOBJECT(rattler), TQT_SLOT(restart()), actionCollection()); - pause = KStdGameAction::pause(TQT_TQOBJECT(rattler), TQT_SLOT(pause()), actionCollection()); - KStdGameAction::highscores(TQT_TQOBJECT(this), TQT_SLOT(showHighScores()), actionCollection()); - KStdGameAction::quit( TQT_TQOBJECT(this), TQT_SLOT(close()), actionCollection()); + KStdGameAction::gameNew(rattler, TQT_SLOT(restart()), actionCollection()); + pause = KStdGameAction::pause(rattler, TQT_SLOT(pause()), actionCollection()); + KStdGameAction::highscores(this, TQT_SLOT(showHighScores()), actionCollection()); + KStdGameAction::quit( this, TQT_SLOT(close()), actionCollection()); - KStdAction::preferences(TQT_TQOBJECT(this), TQT_SLOT(showSettings()), actionCollection()); + KStdAction::preferences(this, TQT_SLOT(showSettings()), actionCollection()); // TODO change and make custom function that pauses game or // modify widget to pause when loosing focus and remove this |
