summaryrefslogtreecommitdiffstats
path: root/kgeography/src/askwidget.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kgeography/src/askwidget.cpp')
-rw-r--r--kgeography/src/askwidget.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/kgeography/src/askwidget.cpp b/kgeography/src/askwidget.cpp
index 95ca4fcd..87d1d09a 100644
--- a/kgeography/src/askwidget.cpp
+++ b/kgeography/src/askwidget.cpp
@@ -21,7 +21,7 @@ askWidget::askWidget(TQWidget *parent, KGmap *m, TQWidget *w, uint count, bool s
if (showLabel)
{
p_answers = new TQLabel(w);
- p_answers -> tqsetAlignment(AlignTop | AlignHCenter);
+ p_answers -> setAlignment(AlignTop | AlignHCenter);
resetAnswers();
p_answers -> show();
}
@@ -98,7 +98,7 @@ void askWidget::resetAnswers()
void askWidget::updateLabel()
{
- p_answers -> setText(i18n("Correct answers: %1/%2").tqarg(p_correctAnswers).tqarg(p_correctAnswers + p_incorrectAnswers));
+ p_answers -> setText(i18n("Correct answers: %1/%2").arg(p_correctAnswers).arg(p_correctAnswers + p_incorrectAnswers));
}
#include "askwidget.moc"