From 0a6e0958c03e41c87b15557b6f407874f20c2f8d Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 31 Jul 2010 19:39:55 +0000 Subject: Trinity Qt initial conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeedu@1157642 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kbruch/src/taskview.h | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'kbruch/src/taskview.h') diff --git a/kbruch/src/taskview.h b/kbruch/src/taskview.h index 60c3e75c..f629fac8 100644 --- a/kbruch/src/taskview.h +++ b/kbruch/src/taskview.h @@ -30,7 +30,7 @@ #include #endif -#include +#include class QVBoxLayout; @@ -42,7 +42,7 @@ class QPushButton; class QLineEdit; class QFrame; -/*! Constructs a QWidget, which shows the task to the user. +/*! Constructs a TQWidget, which shows the task to the user. * The class also provides input fields, so that the user can enter the result. * It also controls the interaction, so that the entered result gets checked * and a new task can be generated. @@ -54,7 +54,7 @@ class TaskView : public ExerciseBase public: /** constructor */ - TaskView(QWidget * parent = 0, const char * name = 0, + TaskView(TQWidget * parent = 0, const char * name = 0, bool padd_sub = true, bool pmul_div = false, unsigned int pnr_ratios = 2, unsigned int pmax_md = 10); @@ -88,16 +88,16 @@ private: short m_currentState; ResultWidget* m_resultWidget; - QPushButton* m_checkButton; - QLabel* result_label; + TQPushButton* m_checkButton; + TQLabel* result_label; TaskWidget* m_taskWidget; - QLineEdit* numer_edit; - QFrame* edit_line; - QLineEdit* deno_edit; + TQLineEdit* numer_edit; + TQFrame* edit_line; + TQLineEdit* deno_edit; - QGridLayout* baseGrid; - QWidget* baseWidget; - QVBoxLayout* realLayout; + TQGridLayout* baseGrid; + TQWidget* baseWidget; + TQVBoxLayout* realLayout; task current_task; ratio result; -- cgit v1.2.1