diff options
author | Timothy Pearson <[email protected]> | 2011-12-19 11:55:35 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2011-12-19 11:55:35 -0600 |
commit | c0f375feba0103bed2bac1b1f05e76e9ae28fa89 (patch) | |
tree | 9c30a9097d650343df41d867f0e008769529eb08 /atlantik/client/selectgame_widget.cpp | |
parent | 0e2b76239f354a9eead0b4e37d86d390ec57ffa9 (diff) | |
download | tdegames-c0f375feba0103bed2bac1b1f05e76e9ae28fa89.tar.gz tdegames-c0f375feba0103bed2bac1b1f05e76e9ae28fa89.zip |
Remove additional unneeded tq method conversions
Diffstat (limited to 'atlantik/client/selectgame_widget.cpp')
-rw-r--r-- | atlantik/client/selectgame_widget.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/atlantik/client/selectgame_widget.cpp b/atlantik/client/selectgame_widget.cpp index a4072044..0769dfc2 100644 --- a/atlantik/client/selectgame_widget.cpp +++ b/atlantik/client/selectgame_widget.cpp @@ -80,13 +80,13 @@ void SelectGame::addGame(Game *game) if (game->id() == -1) { - TQListViewItem *item = new TQListViewItem( m_gameList, i18n("Create a new %1 Game").tqarg(game->name()), game->description(), TQString(), TQString(), game->type() ); + TQListViewItem *item = new TQListViewItem( m_gameList, i18n("Create a new %1 Game").arg(game->name()), game->description(), TQString(), TQString(), game->type() ); item->setPixmap(0, TQPixmap(SmallIcon("filenew"))); } else { Player *master = game->master(); - TQListViewItem *item = new TQListViewItem( m_gameList, i18n("Join %1's %2 Game").tqarg( (master ? master->name() : TQString()), game->name() ), game->description(), TQString::number(game->id()), TQString::number(game->players()), game->type() ); + TQListViewItem *item = new TQListViewItem( m_gameList, i18n("Join %1's %2 Game").arg( (master ? master->name() : TQString()), game->name() ), game->description(), TQString::number(game->id()), TQString::number(game->players()), game->type() ); item->setPixmap( 0, TQPixmap(SmallIcon("atlantik")) ); item->setEnabled(game->canBeJoined()); @@ -118,11 +118,11 @@ void SelectGame::updateGame(Game *game) item->setText( 1, game->description() ); if (game->id() == -1) - item->setText(0, i18n("Create a new %1 Game").tqarg(game->name())); + item->setText(0, i18n("Create a new %1 Game").arg(game->name())); else { Player *master = game->master(); - item->setText( 0, i18n("Join %1's %2 Game").tqarg( (master ? master->name() : TQString()), game->name() ) ); + item->setText( 0, i18n("Join %1's %2 Game").arg( (master ? master->name() : TQString()), game->name() ) ); item->setText( 3, TQString::number( game->players() ) ); item->setEnabled( game->canBeJoined() ); @@ -143,7 +143,7 @@ void SelectGame::playerChanged(Player *player) game = m_atlanticCore->findGame( item->text(2).toInt() ); if ( game && game->master() == player ) { - item->setText( 0, i18n("Join %1's %2 Game").tqarg( player->name(), game->name() ) ); + item->setText( 0, i18n("Join %1's %2 Game").arg( player->name(), game->name() ) ); return; } item = item->nextSibling(); |