diff options
author | Timothy Pearson <[email protected]> | 2011-12-15 15:47:36 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2011-12-15 15:47:36 -0600 |
commit | 97d1732e257f8700488d7ca1660ae7eba8fc6065 (patch) | |
tree | 4c6397ed2c1dd6f7c3354b5b87f313547d92a35f /kpat/gamestatsimpl.cpp | |
parent | 9c27a1a03e02fd53aedc1a182444b35fd8e14967 (diff) | |
download | tdegames-97d1732e257f8700488d7ca1660ae7eba8fc6065.tar.gz tdegames-97d1732e257f8700488d7ca1660ae7eba8fc6065.zip |
Rename a number of old tq methods that are no longer tq specific
Diffstat (limited to 'kpat/gamestatsimpl.cpp')
-rw-r--r-- | kpat/gamestatsimpl.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/kpat/gamestatsimpl.cpp b/kpat/gamestatsimpl.cpp index 2850da01..11b95fee 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").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)); + 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)); if (t) - WonPerc->setText(WonPerc->text().tqarg(w*100/t)); + WonPerc->setText(WonPerc->text().arg(w*100/t)); else - WonPerc->setText(WonPerc->text().tqarg(0)); + WonPerc->setText(WonPerc->text().arg(0)); WinStreak->setText( - WinStreak->text().tqarg(config->readUnsignedNumEntry(TQString("maxwinstreak%1").tqarg(id),0))); + WinStreak->text().arg(config->readUnsignedNumEntry(TQString("maxwinstreak%1").arg(id),0))); LooseStreak->setText( - LooseStreak->text().tqarg(config->readUnsignedNumEntry(TQString("maxloosestreak%1").tqarg(id),0))); + LooseStreak->text().arg(config->readUnsignedNumEntry(TQString("maxloosestreak%1").arg(id),0))); } |