summaryrefslogtreecommitdiffstats
path: root/kreversi/kreversi.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kreversi/kreversi.cpp')
-rw-r--r--kreversi/kreversi.cpp42
1 files changed, 21 insertions, 21 deletions
diff --git a/kreversi/kreversi.cpp b/kreversi/kreversi.cpp
index be02d428..12668301 100644
--- a/kreversi/kreversi.cpp
+++ b/kreversi/kreversi.cpp
@@ -116,15 +116,15 @@ KReversi::KReversi()
// The only part of the view that is left in this class is the
// indicator of whose turn it is in the status bar. The rest is
// in the game view.
- connect(m_game, TQT_SIGNAL(sig_newGame()), this, TQT_SLOT(showTurn()));
- connect(m_game, TQT_SIGNAL(sig_move(uint, Move&)),
- this, TQT_SLOT(handleMove(uint, Move&))); // Calls showTurn().
- connect(m_game, TQT_SIGNAL(sig_update()), this, TQT_SLOT(showTurn()));
- connect(m_game, TQT_SIGNAL(sig_gameOver()), this, TQT_SLOT(slotGameOver()));
+ connect(m_game, TQ_SIGNAL(sig_newGame()), this, TQ_SLOT(showTurn()));
+ connect(m_game, TQ_SIGNAL(sig_move(uint, Move&)),
+ this, TQ_SLOT(handleMove(uint, Move&))); // Calls showTurn().
+ connect(m_game, TQ_SIGNAL(sig_update()), this, TQ_SLOT(showTurn()));
+ connect(m_game, TQ_SIGNAL(sig_gameOver()), this, TQ_SLOT(slotGameOver()));
// Signal that is sent when the user clicks on the board.
- connect(m_gameView, TQT_SIGNAL(signalSquareClicked(int, int)),
- this, TQT_SLOT(slotSquareClicked(int, int)));
+ connect(m_gameView, TQ_SIGNAL(signalSquareClicked(int, int)),
+ this, TQ_SLOT(slotSquareClicked(int, int)));
loadSettings();
@@ -150,38 +150,38 @@ KReversi::~KReversi()
void KReversi::createTDEActions()
{
// Standard Game Actions.
- KStdGameAction::gameNew(this, TQT_SLOT(slotNewGame()), actionCollection(),
+ KStdGameAction::gameNew(this, TQ_SLOT(slotNewGame()), actionCollection(),
"game_new");
- KStdGameAction::load(this, TQT_SLOT(slotOpenGame()), actionCollection());
- KStdGameAction::save(this, TQT_SLOT(slotSave()), actionCollection());
- KStdGameAction::quit(this, TQT_SLOT(close()), actionCollection());
- KStdGameAction::hint(this, TQT_SLOT(slotHint()), actionCollection(),
+ KStdGameAction::load(this, TQ_SLOT(slotOpenGame()), actionCollection());
+ KStdGameAction::save(this, TQ_SLOT(slotSave()), actionCollection());
+ KStdGameAction::quit(this, TQ_SLOT(close()), actionCollection());
+ KStdGameAction::hint(this, TQ_SLOT(slotHint()), actionCollection(),
"game_hint");
- KStdGameAction::undo(this, TQT_SLOT(slotUndo()), actionCollection(),
+ KStdGameAction::undo(this, TQ_SLOT(slotUndo()), actionCollection(),
"game_undo");
// Non-standard Game Actions: Stop, Continue, Switch sides
stopAction = new TDEAction(i18n("&Stop Thinking"), "game_stop", TQt::Key_Escape,
- this, TQT_SLOT(slotInterrupt()), actionCollection(),
+ this, TQ_SLOT(slotInterrupt()), actionCollection(),
"game_stop");
continueAction = new TDEAction(i18n("&Continue Thinking"), "reload", 0,
- this, TQT_SLOT(slotContinue()), actionCollection(),
+ this, TQ_SLOT(slotContinue()), actionCollection(),
"game_continue");
new TDEAction(i18n("S&witch Sides"), 0, 0,
- this, TQT_SLOT(slotSwitchSides()), actionCollection(),
+ this, TQ_SLOT(slotSwitchSides()), actionCollection(),
"game_switch_sides");
// Some more standard game actions: Highscores, Settings.
- KStdGameAction::highscores(this, TQT_SLOT(showHighScoreDialog()), actionCollection());
- KStdAction::preferences(this, TQT_SLOT(slotEditSettings()), actionCollection());
+ KStdGameAction::highscores(this, TQ_SLOT(showHighScoreDialog()), actionCollection());
+ KStdAction::preferences(this, TQ_SLOT(slotEditSettings()), actionCollection());
// Actions for the view(s).
showLastMoveAction = new TDEToggleAction(i18n("Show Last Move"), "lastmoves", 0,
- this, TQT_SLOT(slotShowLastMove()),
+ this, TQ_SLOT(slotShowLastMove()),
actionCollection(),
"show_last_move");
showLegalMovesAction = new TDEToggleAction(i18n("Show Legal Moves"), "legalmoves", 0,
- this, TQT_SLOT(slotShowLegalMoves()),
+ this, TQ_SLOT(slotShowLegalMoves()),
actionCollection(),
"show_legal_moves");
}
@@ -755,7 +755,7 @@ void KReversi::slotEditSettings()
Settings *general = new Settings(0, "General");
dialog->addPage(general, i18n("General"), "package_settings");
- connect(dialog, TQT_SIGNAL(settingsChanged()), this, TQT_SLOT(loadSettings()));
+ connect(dialog, TQ_SIGNAL(settingsChanged()), this, TQ_SLOT(loadSettings()));
dialog->show();
}