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 /konquest/planet_info.cc | |
parent | 0e2b76239f354a9eead0b4e37d86d390ec57ffa9 (diff) | |
download | tdegames-c0f375feba0103bed2bac1b1f05e76e9ae28fa89.tar.gz tdegames-c0f375feba0103bed2bac1b1f05e76e9ae28fa89.zip |
Remove additional unneeded tq method conversions
Diffstat (limited to 'konquest/planet_info.cc')
-rw-r--r-- | konquest/planet_info.cc | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/konquest/planet_info.cc b/konquest/planet_info.cc index a45b0b0f..0d4df824 100644 --- a/konquest/planet_info.cc +++ b/konquest/planet_info.cc @@ -126,7 +126,7 @@ void PlanetInfo::showPlanet( Planet *planet ) TQString temp; - temp = "<qt>" + i18n("Planet name: %1").tqarg(planet->getName()); + temp = "<qt>" + i18n("Planet name: %1").arg(planet->getName()); name->setText( temp ); return; } @@ -141,19 +141,19 @@ void PlanetInfo::showPlanet( Planet *planet ) TQString temp; - temp = "<qt>" + i18n("Planet name: %1").tqarg(p->planet->getName()); + temp = "<qt>" + i18n("Planet name: %1").arg(p->planet->getName()); name->setText( temp ); - temp = "<qt>" + i18n("Owner: %1").tqarg(p->planet->getPlayer()->getColoredName()); + temp = "<qt>" + i18n("Owner: %1").arg(p->planet->getPlayer()->getColoredName()); owner->setText( temp ); - temp = "<qt>" + i18n("Ships: %1").tqarg( KGlobal::locale()->formatNumber(p->ships, 0) ); + temp = "<qt>" + i18n("Ships: %1").arg( KGlobal::locale()->formatNumber(p->ships, 0) ); ships->setText( temp ); - temp = "<qt>" + i18n("Production: %1").tqarg( KGlobal::locale()->formatNumber(p->production, 0) ); + temp = "<qt>" + i18n("Production: %1").arg( KGlobal::locale()->formatNumber(p->production, 0) ); production->setText( temp ); - temp = "<qt>" + i18n("Kill percent: %1").tqarg( KGlobal::locale()->formatNumber(p->killRate, 3) ); + temp = "<qt>" + i18n("Kill percent: %1").arg( KGlobal::locale()->formatNumber(p->killRate, 3) ); kill_percent->setText( temp ); } } |