diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-16 03:11:24 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-16 03:11:24 +0000 |
commit | 56a9ebb65c99f639320c13148fe85d2b1e2a7562 (patch) | |
tree | 198a330c1618db10c9fd90ac8a1a207c458ae6dd /kwordquiz/src/wqquiz.cpp | |
parent | 03763f5a00daaaddf9ad4945fb2b5c203e8863f7 (diff) | |
download | tdeedu-56a9ebb65c99f639320c13148fe85d2b1e2a7562.tar.gz tdeedu-56a9ebb65c99f639320c13148fe85d2b1e2a7562.zip |
Fix kwordquiz FTBFS
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeedu@1236955 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kwordquiz/src/wqquiz.cpp')
-rw-r--r-- | kwordquiz/src/wqquiz.cpp | 42 |
1 files changed, 21 insertions, 21 deletions
diff --git a/kwordquiz/src/wqquiz.cpp b/kwordquiz/src/wqquiz.cpp index 1ba46076..4e1fb4cc 100644 --- a/kwordquiz/src/wqquiz.cpp +++ b/kwordquiz/src/wqquiz.cpp @@ -23,7 +23,7 @@ #include "wqquiz.h" #include "prefs.h" -WTQQuiz::WTQQuiz(KWordQuizView * tqparent, const char *name) : TQObject(tqparent, name) +WQQuiz::WQQuiz(KWordQuizView * tqparent, const char *name) : TQObject(tqparent, name) { m_table = tqparent; @@ -32,7 +32,7 @@ WTQQuiz::WTQQuiz(KWordQuizView * tqparent, const char *name) : TQObject(tqparent m_quizList.clear(); } -void WTQQuiz::activateErrorList() +void WQQuiz::activateErrorList() { m_list.clear(); @@ -47,7 +47,7 @@ void WTQQuiz::activateErrorList() } -void WTQQuiz::activateBaseList() +void WQQuiz::activateBaseList() { m_list.clear(); @@ -64,7 +64,7 @@ void WTQQuiz::activateBaseList() } -void WTQQuiz::addToList(int aCol, int bCol) +void WQQuiz::addToList(int aCol, int bCol) { //build a list of row numbers containing text in both columns @@ -114,7 +114,7 @@ void WTQQuiz::addToList(int aCol, int bCol) } -bool WTQQuiz::init() +bool WQQuiz::init() { bool result = false; @@ -196,7 +196,7 @@ bool WTQQuiz::init() return true; } -void WTQQuiz::listRandom() +void WQQuiz::listRandom() { TQPtrList<void> list; @@ -216,7 +216,7 @@ void WTQQuiz::listRandom() m_quizList.append(items[i]); } -bool WTQQuiz::checkAnswer(int i, const TQString & a) +bool WQQuiz::checkAnswer(int i, const TQString & a) { bool result = false; WTQListItem li = m_list[i]; @@ -292,7 +292,7 @@ bool WTQQuiz::checkAnswer(int i, const TQString & a) return result; } -TQStringList WTQQuiz::multiOptions(int i) +TQStringList WQQuiz::multiOptions(int i) { TQString *s; TQStringList Result; @@ -347,7 +347,7 @@ TQStringList WTQQuiz::multiOptions(int i) return Result; } -TQString WTQQuiz::quizIcon(int i, QuizIcon ico) +TQString WQQuiz::quizIcon(int i, QuizIcon ico) { TQString s; WTQListItem li = m_list[i]; @@ -369,7 +369,7 @@ TQString WTQQuiz::quizIcon(int i, QuizIcon ico) return s; } -TQString WTQQuiz::yourAnswer(int i, const TQString & s) +TQString WQQuiz::yourAnswer(int i, const TQString & s) { TQString result =""; @@ -405,7 +405,7 @@ TQString WTQQuiz::yourAnswer(int i, const TQString & s) return result; } -TQString WTQQuiz::hint(int i) +TQString WQQuiz::hint(int i) { if (TQString(m_correctBlank).length() > 0) { @@ -417,18 +417,18 @@ TQString WTQQuiz::hint(int i) } } -void WTQQuiz::setQuizType(QuizType qt) +void WQQuiz::setQuizType(QuizType qt) { m_quizType = qt; } -void WTQQuiz::setQuizMode(int qm) +void WQQuiz::setQuizMode(int qm) { m_quizMode = qm; } -TQString WTQQuiz::question(int i) +TQString WQQuiz::question(int i) { WTQListItem li = m_list[i]; TQString s = m_table->text(li.oneOp(), li.question()); @@ -448,7 +448,7 @@ TQString WTQQuiz::question(int i) return s; } -TQString WTQQuiz::blankAnswer(int i) +TQString WQQuiz::blankAnswer(int i) { TQString r = ""; @@ -497,7 +497,7 @@ TQString WTQQuiz::blankAnswer(int i) return m_answerBlank; } -TQString WTQQuiz::answer(int i) +TQString WQQuiz::answer(int i) { TQString s; WTQListItem li = m_list[i]; @@ -535,13 +535,13 @@ TQString WTQQuiz::answer(int i) return s; } -TQString WTQQuiz::langQuestion(int i) +TQString WQQuiz::langQuestion(int i) { WTQListItem li = m_list[i]; return m_table->horizontalHeader()->label(li.question()); } -TQString WTQQuiz::langAnswer(int i) +TQString WQQuiz::langAnswer(int i) { WTQListItem li = m_list[i]; @@ -559,7 +559,7 @@ TQString WTQQuiz::langAnswer(int i) return m_table->horizontalHeader()->label(j); } -int WTQQuiz::kbAnswer(int i) +int WQQuiz::kbAnswer(int i) { /* WTQListItem *li = m_list->at(i); if (li->question() == 0) @@ -573,12 +573,12 @@ int WTQQuiz::kbAnswer(int i) return 0; } -int WTQQuiz::questionCount() +int WQQuiz::questionCount() { return m_questionCount; } -void WTQQuiz::finish() +void WQQuiz::finish() { emit checkingAnswer(-1); } |