diff options
Diffstat (limited to 'kbackgammon/engines/offline/kbgoffline.cpp')
-rw-r--r-- | kbackgammon/engines/offline/kbgoffline.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/kbackgammon/engines/offline/kbgoffline.cpp b/kbackgammon/engines/offline/kbgoffline.cpp index 2c5cd260..5e45f6fa 100644 --- a/kbackgammon/engines/offline/kbgoffline.cpp +++ b/kbackgammon/engines/offline/kbgoffline.cpp @@ -318,14 +318,14 @@ void KBgEngineOffline::newGame() u = getRandom(); t = getRandom(); emit infoText(i18n("%1 rolls %2, %3 rolls %4."). - tqarg(d->mName[0]).tqarg(u).tqarg(d->mName[1]).tqarg(t)); + arg(d->mName[0]).arg(u).arg(d->mName[1]).arg(t)); } if (u > t) { - emit infoText(i18n("%1 makes the first move.").tqarg(d->mName[0])); + emit infoText(i18n("%1 makes the first move.").arg(d->mName[0])); d->mRoll = US; } else { - emit infoText(i18n("%1 makes the first move.").tqarg(d->mName[1])); + emit infoText(i18n("%1 makes the first move.").arg(d->mName[1])); d->mRoll = THEM; int n = u; u = t; t = n; } @@ -338,7 +338,7 @@ void KBgEngineOffline::newGame() /* * tell the user */ - emit statText(i18n("%1 vs. %2").tqarg(d->mName[0]).tqarg(d->mName[1])); + emit statText(i18n("%1 vs. %2").arg(d->mName[0]).arg(d->mName[1])); } /* @@ -722,7 +722,7 @@ bool KBgEngineOffline::queryExit() void KBgEngineOffline::handleCommand(const TQString& cmd) { emit infoText(i18n("Text commands are not yet working. " - "The command '%1' has been ignored.").tqarg(cmd)); + "The command '%1' has been ignored.").arg(cmd)); } /* @@ -791,11 +791,11 @@ void KBgEngineOffline::toggleEditMode() emit allowCommand(Roll, false); emit allowCommand(Done, false); emit allowCommand(Cube, false); - emit statText(i18n("%1 vs. %2 - Edit Mode").tqarg(d->mName[0]).tqarg(d->mName[1])); + emit statText(i18n("%1 vs. %2 - Edit Mode").arg(d->mName[0]).arg(d->mName[1])); } else { d->mNew->setEnabled(true); d->mSwap->setEnabled(true); - emit statText(i18n("%1 vs. %2").tqarg(d->mName[0]).tqarg(d->mName[1])); + emit statText(i18n("%1 vs. %2").arg(d->mName[0]).arg(d->mName[1])); emit getState(&d->mGame[1]); d->mGame[0] = d->mGame[1]; emit allowCommand(Done, d->mDoneFlag); |