diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-11 04:44:41 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-11 04:44:41 +0000 |
commit | a374efce3a207b39514be3c52264091400ce297e (patch) | |
tree | 77bdf654b55826d4f59b53a5621310206bcaead1 /kwordquiz/src/wqquiz.h | |
parent | f81a494f3957d5cf38c787973415597941934727 (diff) | |
download | tdeedu-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/wqquiz.h')
-rw-r--r-- | kwordquiz/src/wqquiz.h | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/kwordquiz/src/wqquiz.h b/kwordquiz/src/wqquiz.h index d86c9fa0..a9d0c93d 100644 --- a/kwordquiz/src/wqquiz.h +++ b/kwordquiz/src/wqquiz.h @@ -16,8 +16,8 @@ Boston, MA 02110-1301, USA. */ -#ifndef WQQUIZ_H -#define WQQUIZ_H +#ifndef WTQQUIZ_H +#define WTQQUIZ_H #include <tqtable.h> @@ -28,16 +28,17 @@ @author Peter Hedlund */ -typedef TQValueList<WQListItem> QuizList; +typedef TQValueList<WTQListItem> QuizList; -class WQQuiz : public QObject +class WTQQuiz : public TQObject { Q_OBJECT + TQ_OBJECT public: enum QuizType {qtEditor, qtFlash, qtMultiple, qtQA}; enum QuizIcon {qiLeftCol, qiRightCol, qiQuestion, qiCorrect, qiError}; - WQQuiz(KWordQuizView * parent, const char * name=0); + WTQQuiz(KWordQuizView * tqparent, const char * name=0); void activateErrorList(); void activateBaseList(); |