From 0a6e0958c03e41c87b15557b6f407874f20c2f8d Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 31 Jul 2010 19:39:55 +0000 Subject: Trinity Qt initial conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeedu@1157642 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- blinken/src/blinkengame.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'blinken/src/blinkengame.cpp') diff --git a/blinken/src/blinkengame.cpp b/blinken/src/blinkengame.cpp index d1ec463b..280efcd8 100644 --- a/blinken/src/blinkengame.cpp +++ b/blinken/src/blinkengame.cpp @@ -9,7 +9,7 @@ #include // for RAND_MAX -#include +#include #include @@ -19,8 +19,8 @@ blinkenGame::blinkenGame() : m_phase(starting) { m_artsPlayer = new artsPlayer; - m_waitTimer = new QTimer(this); - connect(m_waitTimer, SIGNAL(timeout()), this, SLOT(waiting())); + m_waitTimer = new TQTimer(this); + connect(m_waitTimer, TQT_SIGNAL(timeout()), this, TQT_SLOT(waiting())); } blinkenGame::~blinkenGame() @@ -114,8 +114,8 @@ void blinkenGame::nextSound() void blinkenGame::soundEnded() { - QTimer::singleShot(100, this, SLOT(nextSound())); - QTimer::singleShot(50, this, SLOT(unhighlight())); + TQTimer::singleShot(100, this, TQT_SLOT(nextSound())); + TQTimer::singleShot(50, this, TQT_SLOT(unhighlight())); } void blinkenGame::unhighlight() @@ -135,7 +135,7 @@ void blinkenGame::waiting() } else m_sequence.append(generateColor()); - connect(m_artsPlayer, SIGNAL(ended()), this, SLOT(soundEnded())); + connect(m_artsPlayer, TQT_SIGNAL(ended()), this, TQT_SLOT(soundEnded())); m_nextColor = m_sequence.begin(); soundEnded(); } -- cgit v1.2.1