diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-19 11:55:35 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-19 11:55:35 -0600 |
commit | c0f375feba0103bed2bac1b1f05e76e9ae28fa89 (patch) | |
tree | 9c30a9097d650343df41d867f0e008769529eb08 /kbackgammon/engines/nextgen | |
parent | 0e2b76239f354a9eead0b4e37d86d390ec57ffa9 (diff) | |
download | tdegames-c0f375feba0103bed2bac1b1f05e76e9ae28fa89.tar.gz tdegames-c0f375feba0103bed2bac1b1f05e76e9ae28fa89.zip |
Remove additional unneeded tq method conversions
Diffstat (limited to 'kbackgammon/engines/nextgen')
-rw-r--r-- | kbackgammon/engines/nextgen/kbgng.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/kbackgammon/engines/nextgen/kbgng.cpp b/kbackgammon/engines/nextgen/kbgng.cpp index d081e9a8..3a3d5188 100644 --- a/kbackgammon/engines/nextgen/kbgng.cpp +++ b/kbackgammon/engines/nextgen/kbgng.cpp @@ -150,7 +150,7 @@ void KBgEngineNg::setGame() emit infoText(i18n("Now waiting for incoming connections on port %1."). arg(_port = port)); else - emit infoText(i18n("Failed to offer connections on port %1.").tqarg(port)); + emit infoText(i18n("Failed to offer connections on port %1.").arg(port)); _game->addPlayer(createPlayer(0, _name[0])); break; @@ -165,7 +165,7 @@ void KBgEngineNg::setGame() } while (host_s.isEmpty()); label = i18n("Type the port number on %1 you want to connect to.\nThe " - "number should be between 1024 and 65535.").tqarg(host_s); + "number should be between 1024 and 65535.").arg(host_s); port_s.setNum(_port); do { port_s = KLineEditDlg::getText(label, port_s, &ret, (TQWidget *)parent()); @@ -183,10 +183,10 @@ void KBgEngineNg::setGame() _game->addPlayer(createPlayer(0, _name[0])); if (_game->connectToServer(host_s, port)) - emit infoText(i18n("Now connected to %1:%2.").tqarg(_host = host_s). + emit infoText(i18n("Now connected to %1:%2.").arg(_host = host_s). arg(_port = port)); else - emit infoText(i18n("Failed to connect to %1:%2.").tqarg(_host = host_s). + emit infoText(i18n("Failed to connect to %1:%2.").arg(_host = host_s). arg(_port = port)); // <HERE> @@ -207,8 +207,8 @@ void KBgEngineNg::setGame() void KBgEngineNg::slotPlayerJoinedGame(KPlayer *p) { - emit infoText(i18n("Player %1 (%2) has joined the game.").tqarg(p->name()).tqarg(p->id())); - cerr << i18n("Player %1 (%2) has joined the game.").tqarg(p->name()).tqarg(p->id()).latin1() << endl; + emit infoText(i18n("Player %1 (%2) has joined the game.").arg(p->name()).arg(p->id())); + cerr << i18n("Player %1 (%2) has joined the game.").arg(p->name()).arg(p->id()).latin1() << endl; } void KBgEngineNg::slotCreatePlayer(KPlayer *&p, int rtti, int io, bool v, KGame *g) @@ -216,7 +216,7 @@ void KBgEngineNg::slotCreatePlayer(KPlayer *&p, int rtti, int io, bool v, KGame Q_UNUSED(rtti) Q_UNUSED(g) Q_UNUSED(io) - emit infoText(i18n("creating player. virtual=%1").tqarg(v)); + emit infoText(i18n("creating player. virtual=%1").arg(v)); p = createPlayer(1); } @@ -507,7 +507,7 @@ void KBgEngineNg::slotPropertyChanged(KGamePropertyBase *p, KPlayer *me) case KGamePropertyBase::IdName: emit infoText(i18n("Player %1 has changed the name to %2.") - .tqarg(_name[player]).tqarg(me->name())); + .arg(_name[player]).arg(me->name())); _name[player] = me->name(); break; @@ -567,8 +567,8 @@ void KBgEngineNg::slotNetworkData(int msgid, const TQByteArray &msg, TQ_UINT32 r case KBgGame::Cmd: emit infoText(msg); - emit infoText(i18n("Players are %1 and %2").tqarg(_player[0]->name()) - .tqarg(_player[1]->name())); + emit infoText(i18n("Players are %1 and %2").arg(_player[0]->name()) + .arg(_player[1]->name())); break; default: |