summaryrefslogtreecommitdiffstats
path: root/kwordquiz/src/wqquiz.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 /kwordquiz/src/wqquiz.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 'kwordquiz/src/wqquiz.h')
-rw-r--r--kwordquiz/src/wqquiz.h28
1 files changed, 14 insertions, 14 deletions
diff --git a/kwordquiz/src/wqquiz.h b/kwordquiz/src/wqquiz.h
index 94f77f4f..d86c9fa0 100644
--- a/kwordquiz/src/wqquiz.h
+++ b/kwordquiz/src/wqquiz.h
@@ -19,7 +19,7 @@
#ifndef WQQUIZ_H
#define WQQUIZ_H
-#include <qtable.h>
+#include <tqtable.h>
#include "wqlistitem.h"
#include "kwordquizview.h"
@@ -28,7 +28,7 @@
@author Peter Hedlund
*/
-typedef QValueList<WQListItem> QuizList;
+typedef TQValueList<WQListItem> QuizList;
class WQQuiz : public QObject
{
@@ -44,11 +44,11 @@ class WQQuiz : public QObject
bool init();
void finish();
- bool checkAnswer(int i, const QString & );
- QStringList multiOptions(int i);
- QString quizIcon(int i, QuizIcon ico);
- QString yourAnswer(int i, const QString & s);
- QString hint(int i);
+ bool checkAnswer(int i, const TQString & );
+ TQStringList multiOptions(int i);
+ TQString quizIcon(int i, QuizIcon ico);
+ TQString yourAnswer(int i, const TQString & s);
+ TQString hint(int i);
QuizType quizType() const {return m_quizType;}
void setQuizType(QuizType qt);
@@ -57,11 +57,11 @@ class WQQuiz : public QObject
void setQuizMode(int qm);
int questionCount();
- QString question(int i);
- QString blankAnswer(int i);
- QString answer(int i);
- QString langQuestion(int i);
- QString langAnswer(int i);
+ TQString question(int i);
+ TQString blankAnswer(int i);
+ TQString answer(int i);
+ TQString langQuestion(int i);
+ TQString langAnswer(int i);
int kbAnswer(int i);
@@ -77,8 +77,8 @@ class WQQuiz : public QObject
QuizList m_quizList;
QuizType m_quizType;
- QString m_correctBlank;
- QString m_answerBlank;
+ TQString m_correctBlank;
+ TQString m_answerBlank;
void addToList(int aCol, int bCol);
void listRandom();