summaryrefslogtreecommitdiffstats
path: root/kgeography/src/mapasker.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 /kgeography/src/mapasker.cpp
parentb142e177fd839801f225b2694b98095a59869772 (diff)
downloadtdeedu-3fa570c72df3bf358988b8ce3f019bb7224c380e.tar.gz
tdeedu-3fa570c72df3bf358988b8ce3f019bb7224c380e.zip
Remove additional unneeded tq method conversions
(cherry picked from commit 746abe84406ed1ec1a8dc68f29ce0ab8322ccc80)
Diffstat (limited to 'kgeography/src/mapasker.cpp')
-rw-r--r--kgeography/src/mapasker.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/kgeography/src/mapasker.cpp b/kgeography/src/mapasker.cpp
index bafbcfed..3426fecf 100644
--- a/kgeography/src/mapasker.cpp
+++ b/kgeography/src/mapasker.cpp
@@ -104,7 +104,7 @@ void mapAsker::handleMapClick(TQRgb c, const TQPoint &p)
{
TQString aux, cap;
aux = p_map -> getWhatIs(c, !p_asker);
- if (aux == "nothing") KMessageBox::error(this, i18n("You have found a bug in a map. Please contact the author and tell the %1 map has nothing associated to color %2,%3,%4.").tqarg(p_map -> getFile()).tqarg(tqRed(c)).tqarg(tqGreen(c)).tqarg(tqBlue(c)));
+ if (aux == "nothing") KMessageBox::error(this, i18n("You have found a bug in a map. Please contact the author and tell the %1 map has nothing associated to color %2,%3,%4.").arg(p_map -> getFile()).arg(tqRed(c)).arg(tqGreen(c)).arg(tqBlue(c)));
else if (p_shouldClearPopup)
{
p_popupManager.clear();
@@ -175,11 +175,11 @@ void mapAsker::nextQuestionHook(const TQString &division)
{
TQString divisionName = i18n(p_map -> getFileName().utf8(), division.utf8());
TQString text = i18n("Please click on:\n%1");
- p_next -> setText(text.tqarg(divisionName));
+ p_next -> setText(text.arg(divisionName));
}
else
{
- TQString s = TQString("Please click on:\n%1").tqarg(division);
+ TQString s = TQString("Please click on:\n%1").arg(division);
p_next -> setText(i18n(p_map -> getFileName().utf8(), s.utf8()));
}
p_currentAnswer.setQuestion(i18n(p_map -> getFileName().utf8(), division.utf8()));