summaryrefslogtreecommitdiffstats
path: root/kpat/gamestatsimpl.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-16 09:58:53 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-16 09:58:53 -0600
commit84ace1135cac57993b72fee7105b92def1638d32 (patch)
treeb8871eb76e3db4a062731b0ce7c99c24fac119e8 /kpat/gamestatsimpl.cpp
parent97d1732e257f8700488d7ca1660ae7eba8fc6065 (diff)
downloadtdegames-84ace1135cac57993b72fee7105b92def1638d32.tar.gz
tdegames-84ace1135cac57993b72fee7105b92def1638d32.zip
Revert "Rename a number of old tq methods that are no longer tq specific"
This reverts commit 97d1732e257f8700488d7ca1660ae7eba8fc6065.
Diffstat (limited to 'kpat/gamestatsimpl.cpp')
-rw-r--r--kpat/gamestatsimpl.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/kpat/gamestatsimpl.cpp b/kpat/gamestatsimpl.cpp
index 11b95fee..2850da01 100644
--- a/kpat/gamestatsimpl.cpp
+++ b/kpat/gamestatsimpl.cpp
@@ -42,16 +42,16 @@ void GameStatsImpl::setGameType(int id)
languageChange();
KConfig *config = kapp->config();
KConfigGroupSaver kcs(config, scores_group);
- unsigned int t = config->readUnsignedNumEntry(TQString("total%1").arg(id),0);
- Played->setText(Played->text().arg(t));
- unsigned int w = config->readUnsignedNumEntry(TQString("won%1").arg(id),0);
- Won->setText(Won->text().arg(w));
+ unsigned int t = config->readUnsignedNumEntry(TQString("total%1").tqarg(id),0);
+ Played->setText(Played->text().tqarg(t));
+ unsigned int w = config->readUnsignedNumEntry(TQString("won%1").tqarg(id),0);
+ Won->setText(Won->text().tqarg(w));
if (t)
- WonPerc->setText(WonPerc->text().arg(w*100/t));
+ WonPerc->setText(WonPerc->text().tqarg(w*100/t));
else
- WonPerc->setText(WonPerc->text().arg(0));
+ WonPerc->setText(WonPerc->text().tqarg(0));
WinStreak->setText(
- WinStreak->text().arg(config->readUnsignedNumEntry(TQString("maxwinstreak%1").arg(id),0)));
+ WinStreak->text().tqarg(config->readUnsignedNumEntry(TQString("maxwinstreak%1").tqarg(id),0)));
LooseStreak->setText(
- LooseStreak->text().arg(config->readUnsignedNumEntry(TQString("maxloosestreak%1").arg(id),0)));
+ LooseStreak->text().tqarg(config->readUnsignedNumEntry(TQString("maxloosestreak%1").tqarg(id),0)));
}