summaryrefslogtreecommitdiffstats
path: root/kbruch/src/taskview.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:39:55 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:39:55 +0000
commit0a6e0958c03e41c87b15557b6f407874f20c2f8d (patch)
tree2cdd58c4013b1be09cfcbb4ddae2b05712b9aeee /kbruch/src/taskview.h
parent83f9dfafc157ff7823804b3ff457b43d021a5b4b (diff)
downloadtdeedu-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 'kbruch/src/taskview.h')
-rw-r--r--kbruch/src/taskview.h22
1 files changed, 11 insertions, 11 deletions
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 <kdebug.h>
#endif
-#include <qwidget.h>
+#include <tqwidget.h>
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;