summaryrefslogtreecommitdiffstats
path: root/kwordquiz/src/flashview.cpp
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/flashview.cpp
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/flashview.cpp')
-rw-r--r--kwordquiz/src/flashview.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/kwordquiz/src/flashview.cpp b/kwordquiz/src/flashview.cpp
index df6a39ae..eafa5294 100644
--- a/kwordquiz/src/flashview.cpp
+++ b/kwordquiz/src/flashview.cpp
@@ -14,7 +14,7 @@
* *
***************************************************************************/
-#include <qlabel.h>
+#include <tqlabel.h>
#include <kiconloader.h>
#include <klocale.h>
@@ -25,12 +25,12 @@
#include "prefs.h"
-FlashView::FlashView(QWidget *parent, const char *name, WFlags f)
+FlashView::FlashView(TQWidget *parent, const char *name, WFlags f)
: FlashViewBase(parent, name, f)
{
m_score = new WQScore();
- m_timer = new QTimer(this);
- connect(m_timer, SIGNAL(timeout()), this, SLOT(slotTimer()));
+ m_timer = new TQTimer(this);
+ connect(m_timer, TQT_SIGNAL(timeout()), this, TQT_SLOT(slotTimer()));
}
@@ -126,7 +126,7 @@ void FlashView::slotFlip()
fraCard->setPaletteForegroundColor(Prefs::frontFrameColor());
linFlash->setPaletteForegroundColor(Prefs::frontFrameColor());
linFlash->setPaletteBackgroundColor(Prefs::frontCardColor());
- //linFlash->setPaletteForegroundColor(QColor(255, 0, 0));
+ //linFlash->setPaletteForegroundColor(TQColor(255, 0, 0));
showFront(m_question);
m_showFirst = false;
}
@@ -140,7 +140,7 @@ void FlashView::slotFlip()
fraCard->setPaletteForegroundColor(Prefs::backFrameColor());
linFlash->setPaletteForegroundColor(Prefs::backFrameColor());
linFlash->setPaletteBackgroundColor(Prefs::backCardColor());
- //linFlash->setPaletteForegroundColor(QColor(0, 0, 255));
+ //linFlash->setPaletteForegroundColor(TQColor(0, 0, 255));
showBack(m_question);
m_showFirst = true;
}
@@ -178,7 +178,7 @@ void FlashView::slotRepeat()
*/
void FlashView::updateScore()
{
- QString s;
+ TQString s;
s = s.setNum(m_quiz->questionCount(), 10);
lblScoreCount->setText(s);
picCount->setPixmap(KGlobal::iconLoader()->loadIcon("kwordquiz", KIcon::Panel));