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.h | |
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.h')
-rw-r--r-- | kgeography/src/askwidget.h | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/kgeography/src/askwidget.h b/kgeography/src/askwidget.h index 9e7450ae..5cc01943 100644 --- a/kgeography/src/askwidget.h +++ b/kgeography/src/askwidget.h @@ -11,8 +11,8 @@ #ifndef ASKWIDGET_H #define ASKWIDGET_H -#include <qvaluevector.h> -#include <qwidget.h> +#include <tqvaluevector.h> +#include <tqwidget.h> #include "answer.h" @@ -24,13 +24,13 @@ class askWidget : public QWidget { Q_OBJECT public: - askWidget(QWidget *parent, KGmap *m, QWidget *w, uint count, bool showLabel = true); + askWidget(TQWidget *parent, KGmap *m, TQWidget *w, uint count, bool showLabel = true); virtual ~askWidget(); - virtual QString getQuestionHook() const = 0; + virtual TQString getQuestionHook() const = 0; virtual bool isClickOnDivision() const { return false; } int correctAnswers() const; - QValueVector<userAnswer> userAnswers() const; + TQValueVector<userAnswer> userAnswers() const; public slots: virtual void setMovement(bool b); @@ -45,25 +45,25 @@ Q_OBJECT protected: void clearAsked(); - QString lastDivisionAsked(); + TQString lastDivisionAsked(); void nextQuestion(); - virtual void nextQuestionHook(const QString &division) = 0; + virtual void nextQuestionHook(const TQString &division) = 0; void questionAnswered(bool wasCorrect); void resetAnswers(); KGmap *p_map; userAnswer p_currentAnswer; - QLabel *p_answers; + TQLabel *p_answers; private: void updateLabel(); int p_correctAnswers, p_incorrectAnswers; - QValueVector<userAnswer> p_userAnswers; + TQValueVector<userAnswer> p_userAnswers; // the list of asked divisions - QStringList p_asked; + TQStringList p_asked; // the number of questions to do uint p_count; |