diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:39:55 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:39:55 +0000 |
commit | 0a6e0958c03e41c87b15557b6f407874f20c2f8d (patch) | |
tree | 2cdd58c4013b1be09cfcbb4ddae2b05712b9aeee /kwordquiz/src/multipleview.cpp | |
parent | 83f9dfafc157ff7823804b3ff457b43d021a5b4b (diff) | |
download | tdeedu-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/multipleview.cpp')
-rw-r--r-- | kwordquiz/src/multipleview.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/kwordquiz/src/multipleview.cpp b/kwordquiz/src/multipleview.cpp index 9c050a86..3920c12a 100644 --- a/kwordquiz/src/multipleview.cpp +++ b/kwordquiz/src/multipleview.cpp @@ -16,8 +16,8 @@ Boston, MA 02110-1301, USA. */ -#include <qlabel.h> -#include <qradiobutton.h> +#include <tqlabel.h> +#include <tqradiobutton.h> #include <kiconloader.h> #include <klocale.h> @@ -27,7 +27,7 @@ #include "multipleview.h" #include "prefs.h" -MultipleView::MultipleView(QWidget *parent, const char *name, WFlags f) +MultipleView::MultipleView(TQWidget *parent, const char *name, WFlags f) : MultipleViewBase(parent, name, f) { m_score = new WQScore(); @@ -91,7 +91,7 @@ void MultipleView::slotCheck() if (win->actionCollection()->action("quiz_check")->isEnabled()) { - QString ans; + TQString ans; bool oneIsChecked = false; if (opt1->isChecked()) @@ -221,7 +221,7 @@ void MultipleView::slotRepeat() void MultipleView::updateScore() { - QString s; + TQString s; s = s.setNum(m_quiz->questionCount(), 10); lblScoreCount->setText(s); picCount->setPixmap(KGlobal::iconLoader()->loadIcon("kwordquiz", KIcon::Panel)); @@ -261,10 +261,10 @@ void MultipleView::showQuestion(int i) //opt2->setFont(m_quiz->fontAnswer(i)); //opt3->setFont(m_quiz->fontAnswer(i)); - QStringList sl = m_quiz->multiOptions(i); - QString s[10]; + TQStringList sl = m_quiz->multiOptions(i); + TQString s[10]; int j = 0; - for(QStringList::Iterator it = sl.begin(); it != sl.end(); ++it) + for(TQStringList::Iterator it = sl.begin(); it != sl.end(); ++it) { s[j] = *it; j++; |