summaryrefslogtreecommitdiffstats
path: root/kreversi/kreversi.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kreversi/kreversi.cpp')
-rw-r--r--kreversi/kreversi.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/kreversi/kreversi.cpp b/kreversi/kreversi.cpp
index c3a047e3..5132d730 100644
--- a/kreversi/kreversi.cpp
+++ b/kreversi/kreversi.cpp
@@ -108,7 +108,7 @@ KReversi::KReversi()
top->addMultiCellWidget(m_gameView, 0, 1, 0, 0);
// Populate the GUI.
- createKActions();
+ createTDEActions();
addWidget(m_gameView);
// Connect the signals from the game with slots of the view
@@ -144,10 +144,10 @@ KReversi::~KReversi()
-// Create all KActions used in KReversi.
+// Create all TDEActions used in KReversi.
//
-void KReversi::createKActions()
+void KReversi::createTDEActions()
{
// Standard Game Actions.
KStdGameAction::gameNew(TQT_TQOBJECT(this), TQT_SLOT(slotNewGame()), actionCollection(),
@@ -161,13 +161,13 @@ void KReversi::createKActions()
"game_undo");
// Non-standard Game Actions: Stop, Continue, Switch sides
- stopAction = new KAction(i18n("&Stop Thinking"), "game_stop", TQt::Key_Escape,
+ stopAction = new TDEAction(i18n("&Stop Thinking"), "game_stop", TQt::Key_Escape,
TQT_TQOBJECT(this), TQT_SLOT(slotInterrupt()), actionCollection(),
"game_stop");
- continueAction = new KAction(i18n("&Continue Thinking"), "reload", 0,
+ continueAction = new TDEAction(i18n("&Continue Thinking"), "reload", 0,
TQT_TQOBJECT(this), TQT_SLOT(slotContinue()), actionCollection(),
"game_continue");
- new KAction(i18n("S&witch Sides"), 0, 0,
+ new TDEAction(i18n("S&witch Sides"), 0, 0,
TQT_TQOBJECT(this), TQT_SLOT(slotSwitchSides()), actionCollection(),
"game_switch_sides");
@@ -176,11 +176,11 @@ void KReversi::createKActions()
KStdAction::preferences(TQT_TQOBJECT(this), TQT_SLOT(slotEditSettings()), actionCollection());
// Actions for the view(s).
- showLastMoveAction = new KToggleAction(i18n("Show Last Move"), "lastmoves", 0,
+ showLastMoveAction = new TDEToggleAction(i18n("Show Last Move"), "lastmoves", 0,
TQT_TQOBJECT(this), TQT_SLOT(slotShowLastMove()),
actionCollection(),
"show_last_move");
- showLegalMovesAction = new KToggleAction(i18n("Show Legal Moves"), "legalmoves", 0,
+ showLegalMovesAction = new TDEToggleAction(i18n("Show Legal Moves"), "legalmoves", 0,
TQT_TQOBJECT(this), TQT_SLOT(slotShowLegalMoves()),
actionCollection(),
"show_legal_moves");
@@ -209,7 +209,7 @@ void KReversi::setStrength(uint strength)
// ----------------------------------------------------------------
-// Slots for KActions
+// Slots for TDEActions
// A slot that is called when the user wants a new game.