summaryrefslogtreecommitdiffstats
path: root/kolf/newgame.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kolf/newgame.cpp')
-rw-r--r--kolf/newgame.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/kolf/newgame.cpp b/kolf/newgame.cpp
index 6bd6951b..7251fa0c 100644
--- a/kolf/newgame.cpp
+++ b/kolf/newgame.cpp
@@ -212,11 +212,11 @@ void NewGameDialog::courseSelected(int index)
CourseInfo &curinfo = info[currentCourse];
- name->setText(TQString("<strong>%1</strong>").tqarg(curinfo.name));
+ name->setText(TQString("<strong>%1</strong>").arg(curinfo.name));
- author->setText(i18n("By %1").tqarg(curinfo.author));
- par->setText(i18n("Par %1").tqarg(curinfo.par));
- holes->setText(i18n("%1 Holes").tqarg(curinfo.holes));
+ author->setText(i18n("By %1").arg(curinfo.author));
+ par->setText(i18n("Par %1").arg(curinfo.par));
+ holes->setText(i18n("%1 Holes").arg(curinfo.holes));
}
void NewGameDialog::showHighscores()
@@ -224,7 +224,7 @@ void NewGameDialog::showHighscores()
KScoreDialog *scoreDialog = new KScoreDialog(KScoreDialog::Name | KScoreDialog::Custom1 | KScoreDialog::Score, this);
scoreDialog->addField(KScoreDialog::Custom1, i18n("Par"), "Par");
scoreDialog->setConfigGroup(info[currentCourse].untranslatedName + TQString(" Highscores"));
- scoreDialog->setComment(i18n("High Scores for %1").tqarg(info[currentCourse].name));
+ scoreDialog->setComment(i18n("High Scores for %1").arg(info[currentCourse].name));
scoreDialog->show();
}
@@ -287,7 +287,7 @@ void NewGameDialog::addPlayer()
if (editors.count() >= startColors.count())
return;
- editors.append(new PlayerEditor(i18n("Player %1").tqarg(editors.count() + 1), *startColors.at(editors.count()), tqlayout));
+ editors.append(new PlayerEditor(i18n("Player %1").arg(editors.count() + 1), *startColors.at(editors.count()), tqlayout));
editors.last()->show();
connect(editors.last(), TQT_SIGNAL(deleteEditor(PlayerEditor *)), this, TQT_SLOT(deleteEditor(PlayerEditor *)));