diff options
Diffstat (limited to 'kwordquiz/src/multipleview.cpp')
-rw-r--r-- | kwordquiz/src/multipleview.cpp | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/kwordquiz/src/multipleview.cpp b/kwordquiz/src/multipleview.cpp index b7376952..879bc450 100644 --- a/kwordquiz/src/multipleview.cpp +++ b/kwordquiz/src/multipleview.cpp @@ -120,7 +120,7 @@ void MultipleView::slotCheck() if (fIsCorrect) { - picYourAnswer->setPixmap(KGlobal::iconLoader()->loadIcon("check", KIcon::Panel)); + picYourAnswer->setPixmap(TDEGlobal::iconLoader()->loadIcon("check", KIcon::Panel)); lblCorrectHeader->clear(); picCorrectAnswer->clear(); lblCorrect->clear(); @@ -132,11 +132,11 @@ void MultipleView::slotCheck() { m_error++; - picYourAnswer->setPixmap(KGlobal::iconLoader()->loadIcon("error", KIcon::Panel)); + picYourAnswer->setPixmap(TDEGlobal::iconLoader()->loadIcon("error", KIcon::Panel)); lblCorrect->setText(m_quiz->answer(m_question)); //lblCorrect->setFont(m_quiz->fontAnswer(m_question)); - picCorrectAnswer->setPixmap(KGlobal::iconLoader()->loadIcon("check", KIcon::Panel)); + picCorrectAnswer->setPixmap(TDEGlobal::iconLoader()->loadIcon("check", KIcon::Panel)); lblCorrectHeader->setText(i18n("Correct Answer")); m_score->countIncrement(WTQScore::cdError); updateScore(); @@ -146,7 +146,7 @@ void MultipleView::slotCheck() lblPreviousQuestionHeader->setText(i18n("Previous Question")); lblPreviousQuestion->setText(m_quiz->question(m_question)); //lblPreviousQuestion->setFont(m_quiz->fontQuestion(m_question)); - picPrevious->setPixmap(KGlobal::iconLoader()->loadIcon("question", KIcon::Panel)); + picPrevious->setPixmap(TDEGlobal::iconLoader()->loadIcon("question", KIcon::Panel)); lblYourAnswerHeader->setText(i18n("Your Answer")); lblYourAnswer->setText(m_quiz->yourAnswer(m_question, ans)); @@ -168,7 +168,7 @@ void MultipleView::slotCheck() opt1->hide(); opt2->hide(); opt3->hide(); - picQuestion->setPixmap(KGlobal::iconLoader()->loadIcon("kwordquiz", KIcon::Panel)); + picQuestion->setPixmap(TDEGlobal::iconLoader()->loadIcon("kwordquiz", KIcon::Panel)); picAnswer->clear(); } } @@ -224,22 +224,22 @@ void MultipleView::updateScore() TQString s; s = s.setNum(m_quiz->questionCount(), 10); lblScoreCount->setText(s); - picCount->setPixmap(KGlobal::iconLoader()->loadIcon("kwordquiz", KIcon::Panel)); + picCount->setPixmap(TDEGlobal::iconLoader()->loadIcon("kwordquiz", KIcon::Panel)); s = m_score->answerText(); lblScoreAnswered->setText(s); if (!s.isEmpty()) - picAnswered->setPixmap(KGlobal::iconLoader()->loadIcon("question", KIcon::Panel)); + picAnswered->setPixmap(TDEGlobal::iconLoader()->loadIcon("question", KIcon::Panel)); s = m_score->correctText(); lblScoreCorrect->setText(s); if (!s.isEmpty()) - picCorrect->setPixmap(KGlobal::iconLoader()->loadIcon("check", KIcon::Panel)); + picCorrect->setPixmap(TDEGlobal::iconLoader()->loadIcon("check", KIcon::Panel)); s = m_score->errorText(); lblScoreError->setText(s); if (!s.isEmpty()) - picError->setPixmap(KGlobal::iconLoader()->loadIcon("error", KIcon::Panel)); + picError->setPixmap(TDEGlobal::iconLoader()->loadIcon("error", KIcon::Panel)); } @@ -253,7 +253,7 @@ void MultipleView::showQuestion(int i) lblQuestion -> setText(m_quiz ->question(i)); //lblQuestion -> setFont(m_quiz->fontQuestion(i)); - picQuestion->setPixmap(KGlobal::iconLoader()->loadIcon(m_quiz->quizIcon(i, WQQuiz::qiLeftCol), KIcon::Panel)); + picQuestion->setPixmap(TDEGlobal::iconLoader()->loadIcon(m_quiz->quizIcon(i, WQQuiz::qiLeftCol), KIcon::Panel)); lblAnswerLanguage -> setText(m_quiz ->langAnswer(i)); @@ -278,7 +278,7 @@ void MultipleView::showQuestion(int i) opt2->setChecked(false); opt3->setChecked(false); - picAnswer->setPixmap(KGlobal::iconLoader()->loadIcon(m_quiz->quizIcon(i, WQQuiz::qiRightCol), KIcon::Panel)); + picAnswer->setPixmap(TDEGlobal::iconLoader()->loadIcon(m_quiz->quizIcon(i, WQQuiz::qiRightCol), KIcon::Panel)); } void MultipleView::slotApplySettings( ) |