summaryrefslogtreecommitdiffstats
path: root/kwordquiz/src/qaview.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-11 04:44:41 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-11 04:44:41 +0000
commita374efce3a207b39514be3c52264091400ce297e (patch)
tree77bdf654b55826d4f59b53a5621310206bcaead1 /kwordquiz/src/qaview.h
parentf81a494f3957d5cf38c787973415597941934727 (diff)
downloadtdeedu-a374efce3a207b39514be3c52264091400ce297e.tar.gz
tdeedu-a374efce3a207b39514be3c52264091400ce297e.zip
TQt4 port kdeedu
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeedu@1236073 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kwordquiz/src/qaview.h')
-rw-r--r--kwordquiz/src/qaview.h17
1 files changed, 9 insertions, 8 deletions
diff --git a/kwordquiz/src/qaview.h b/kwordquiz/src/qaview.h
index f18567ec..ecd7cfff 100644
--- a/kwordquiz/src/qaview.h
+++ b/kwordquiz/src/qaview.h
@@ -16,8 +16,8 @@
Boston, MA 02110-1301, USA.
*/
-#ifndef QAVIEW_H
-#define QAVIEW_H
+#ifndef TQAVIEW_H
+#define TQAVIEW_H
#include <kaction.h>
@@ -29,15 +29,16 @@
/**
@author Peter Hedlund
*/
-class QAView : public QAViewBase
+class TQAView : public QAViewBase
{
Q_OBJECT
+ TQ_OBJECT
public:
- QAView(TQWidget *parent = 0, const char *name = 0, WFlags f = 0);
+ TQAView(TQWidget *tqparent = 0, const char *name = 0, WFlags f = 0);
- ~QAView();
+ ~TQAView();
- void setQuiz(WQQuiz *quiz);
+ void setQuiz(WTQQuiz *quiz);
void init();
public slots:
@@ -49,8 +50,8 @@ public slots:
void slotSpecChar(const TQChar &);
private:
- WQQuiz *m_quiz;
- WQScore *m_score;
+ WTQQuiz *m_quiz;
+ WTQScore *m_score;
KAction* actCheck;
KAction* actHint;