From a374efce3a207b39514be3c52264091400ce297e Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 11 Jun 2011 04:44:41 +0000 Subject: 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 --- kwordquiz/src/qaview.h | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) (limited to 'kwordquiz/src/qaview.h') 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 @@ -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; -- cgit v1.2.1