diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:39:55 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:39:55 +0000 |
commit | 0a6e0958c03e41c87b15557b6f407874f20c2f8d (patch) | |
tree | 2cdd58c4013b1be09cfcbb4ddae2b05712b9aeee /kgeography/src/askwidget.cpp | |
parent | 83f9dfafc157ff7823804b3ff457b43d021a5b4b (diff) | |
download | tdeedu-0a6e0958c03e41c87b15557b6f407874f20c2f8d.tar.gz tdeedu-0a6e0958c03e41c87b15557b6f407874f20c2f8d.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeedu@1157642 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kgeography/src/askwidget.cpp')
-rw-r--r-- | kgeography/src/askwidget.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/kgeography/src/askwidget.cpp b/kgeography/src/askwidget.cpp index d0d38548..87d1d09a 100644 --- a/kgeography/src/askwidget.cpp +++ b/kgeography/src/askwidget.cpp @@ -11,16 +11,16 @@ #include <klocale.h> #include <kmessagebox.h> -#include <qlabel.h> +#include <tqlabel.h> #include "askwidget.h" #include "map.h" -askWidget::askWidget(QWidget *parent, KGmap *m, QWidget *w, uint count, bool showLabel) : QWidget(parent), p_map(m), p_count(count) +askWidget::askWidget(TQWidget *parent, KGmap *m, TQWidget *w, uint count, bool showLabel) : TQWidget(parent), p_map(m), p_count(count) { if (showLabel) { - p_answers = new QLabel(w); + p_answers = new TQLabel(w); p_answers -> setAlignment(AlignTop | AlignHCenter); resetAnswers(); p_answers -> show(); @@ -38,7 +38,7 @@ int askWidget::correctAnswers() const return p_correctAnswers; } -QValueVector<userAnswer> askWidget::userAnswers() const +TQValueVector<userAnswer> askWidget::userAnswers() const { return p_userAnswers; } @@ -60,14 +60,14 @@ void askWidget::clearAsked() p_asked.clear(); } -QString askWidget::lastDivisionAsked() +TQString askWidget::lastDivisionAsked() { return p_asked.last(); } void askWidget::nextQuestion() { - QString aux; + TQString aux; if (p_asked.count() < p_count) { |