diff options
author | Michele Calgaro <[email protected]> | 2024-01-13 12:28:49 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2024-01-13 12:28:49 +0900 |
commit | c20f4d8f2cf03c69fcecc80d63fe3cbb80f51610 (patch) | |
tree | 50b08262da538c5b91f77e83e4b80d7fd6dbe0de /ksame/KSameWidget.cpp | |
parent | 51f65427771c47f6d34cda56b07d9d82bd0bfd33 (diff) | |
download | tdegames-c20f4d8f2cf03c69fcecc80d63fe3cbb80f51610.tar.gz tdegames-c20f4d8f2cf03c69fcecc80d63fe3cbb80f51610.zip |
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'ksame/KSameWidget.cpp')
-rw-r--r-- | ksame/KSameWidget.cpp | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/ksame/KSameWidget.cpp b/ksame/KSameWidget.cpp index 4ac4eab2..b875eb40 100644 --- a/ksame/KSameWidget.cpp +++ b/ksame/KSameWidget.cpp @@ -48,17 +48,17 @@ static int default_colors=3; KSameWidget::KSameWidget(TQWidget *parent, const char* name, WFlags fl) : TDEMainWindow(parent,name,fl) { - KStdGameAction::gameNew(this, TQT_SLOT(m_new()), actionCollection(), "game_new"); + KStdGameAction::gameNew(this, TQ_SLOT(m_new()), actionCollection(), "game_new"); restart = new TDEAction(i18n("&Restart This Board"), CTRL+Key_R, this, - TQT_SLOT(m_restart()), actionCollection(), "game_restart"); - KStdGameAction::highscores(this, TQT_SLOT(m_showhs()), actionCollection(), "game_highscores"); - KStdGameAction::quit(this, TQT_SLOT(close()), actionCollection(), "game_quit"); - undo = KStdGameAction::undo(this, TQT_SLOT(m_undo()), actionCollection(), "edit_undo"); + TQ_SLOT(m_restart()), actionCollection(), "game_restart"); + KStdGameAction::highscores(this, TQ_SLOT(m_showhs()), actionCollection(), "game_highscores"); + KStdGameAction::quit(this, TQ_SLOT(close()), actionCollection(), "game_quit"); + undo = KStdGameAction::undo(this, TQ_SLOT(m_undo()), actionCollection(), "edit_undo"); random = new TDEToggleAction(i18n("&Random Board"), 0, 0, 0, actionCollection(), "random_board"); - showNumberRemaining = new TDEToggleAction(i18n("&Show Number Remaining"), 0, this, TQT_SLOT(showNumberRemainingToggled()), actionCollection(), "showNumberRemaining"); + showNumberRemaining = new TDEToggleAction(i18n("&Show Number Remaining"), 0, this, TQ_SLOT(showNumberRemainingToggled()), actionCollection(), "showNumberRemaining"); - KStdAction::configureNotifications(this, TQT_SLOT(configureNotifications()), + KStdAction::configureNotifications(this, TQ_SLOT(configureNotifications()), actionCollection()); status=statusBar(); @@ -69,14 +69,14 @@ KSameWidget::KSameWidget(TQWidget *parent, const char* name, WFlags fl) : stone = new StoneWidget(this,15,10); - connect( stone, TQT_SIGNAL(s_gameover()), this, TQT_SLOT(gameover())); - connect( stone, TQT_SIGNAL(s_colors(int)), this, TQT_SLOT(setColors(int))); - connect( stone, TQT_SIGNAL(s_board(int)), this, TQT_SLOT(setBoard(int))); - connect( stone, TQT_SIGNAL(s_marked(int)), this, TQT_SLOT(setMarked(int))); - connect( stone, TQT_SIGNAL(s_score(int)), this, TQT_SLOT(setScore(int))); - connect( stone, TQT_SIGNAL(s_remove(int,int)), this, TQT_SLOT(stonesRemoved(int,int))); + connect( stone, TQ_SIGNAL(s_gameover()), this, TQ_SLOT(gameover())); + connect( stone, TQ_SIGNAL(s_colors(int)), this, TQ_SLOT(setColors(int))); + connect( stone, TQ_SIGNAL(s_board(int)), this, TQ_SLOT(setBoard(int))); + connect( stone, TQ_SIGNAL(s_marked(int)), this, TQ_SLOT(setMarked(int))); + connect( stone, TQ_SIGNAL(s_score(int)), this, TQ_SLOT(setScore(int))); + connect( stone, TQ_SIGNAL(s_remove(int,int)), this, TQ_SLOT(stonesRemoved(int,int))); - connect(stone, TQT_SIGNAL(s_sizechanged()), this, TQT_SLOT(sizeChanged())); + connect(stone, TQ_SIGNAL(s_sizechanged()), this, TQ_SLOT(sizeChanged())); sizeChanged(); setCentralWidget(stone); |