summaryrefslogtreecommitdiffstats
path: root/blinken/src/highscoredialog.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-19 11:55:10 -0600
committerSlávek Banko <slavek.banko@axis.cz>2012-06-04 04:35:59 +0200
commit3fa570c72df3bf358988b8ce3f019bb7224c380e (patch)
treeeeb2f8db4c9a619597aa6713eb8844268064caa4 /blinken/src/highscoredialog.cpp
parentb142e177fd839801f225b2694b98095a59869772 (diff)
downloadtdeedu-3fa570c72df3bf358988b8ce3f019bb7224c380e.tar.gz
tdeedu-3fa570c72df3bf358988b8ce3f019bb7224c380e.zip
Remove additional unneeded tq method conversions
(cherry picked from commit 746abe84406ed1ec1a8dc68f29ce0ab8322ccc80)
Diffstat (limited to 'blinken/src/highscoredialog.cpp')
-rw-r--r--blinken/src/highscoredialog.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/blinken/src/highscoredialog.cpp b/blinken/src/highscoredialog.cpp
index e3e9f4e8..46588f5f 100644
--- a/blinken/src/highscoredialog.cpp
+++ b/blinken/src/highscoredialog.cpp
@@ -133,10 +133,10 @@ highScoreDialog::highScoreDialog(TQWidget *parent) : KDialogBase(parent, 0, true
KConfig *cfg = kapp -> config();
for (int i = 1; i <= 3; i++)
{
- cfg -> setGroup(TQString("Level%1").tqarg(i));
+ cfg -> setGroup(TQString("Level%1").arg(i));
for (int j = 1; j <= 5; j++)
{
- m_scores[i-1].append(tqMakePair(cfg->readNumEntry(TQString("Score%1").tqarg(j)), cfg->readEntry(TQString("Name%1").tqarg(j))));
+ m_scores[i-1].append(tqMakePair(cfg->readNumEntry(TQString("Score%1").arg(j)), cfg->readEntry(TQString("Name%1").arg(j))));
}
}
@@ -170,12 +170,12 @@ void highScoreDialog::addScore(int level, int score, const TQString &name)
m_scores[level].remove(--m_scores[level].end());
KConfig *cfg = kapp -> config();
- cfg -> setGroup(TQString("Level%1").tqarg(level + 1));
+ cfg -> setGroup(TQString("Level%1").arg(level + 1));
int j;
for (it = m_scores[level].begin(), j = 1; it != m_scores[level].end(); ++it, j++)
{
- cfg->writeEntry(TQString("Score%1").tqarg(j), (*it).first);
- cfg->writeEntry(TQString("Name%1").tqarg(j), (*it).second);
+ cfg->writeEntry(TQString("Score%1").arg(j), (*it).first);
+ cfg->writeEntry(TQString("Name%1").arg(j), (*it).second);
}
cfg -> sync();
}