diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-01-13 11:49:24 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-01-19 11:12:48 +0900 |
commit | 845281400a4c6124e2cf8ab28174e9c3f0bc2895 (patch) | |
tree | fe2d221d237349ce9e1709802676323f747a4c66 /blinken/src/blinkengame.cpp | |
parent | b06213ed1ee55fef2ebc1de1d9759d8c9df5f4bd (diff) | |
download | tdeedu-845281400a4c6124e2cf8ab28174e9c3f0bc2895.tar.gz tdeedu-845281400a4c6124e2cf8ab28174e9c3f0bc2895.zip |
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 69e4de2f4cee257151ca13b207dc677b2d958fed)
Diffstat (limited to 'blinken/src/blinkengame.cpp')
-rw-r--r-- | blinken/src/blinkengame.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/blinken/src/blinkengame.cpp b/blinken/src/blinkengame.cpp index 20284a69..7c1304d0 100644 --- a/blinken/src/blinkengame.cpp +++ b/blinken/src/blinkengame.cpp @@ -20,7 +20,7 @@ blinkenGame::blinkenGame() : m_phase(starting) { m_artsPlayer = new artsPlayer; m_waitTimer = new TQTimer(this); - connect(m_waitTimer, TQT_SIGNAL(timeout()), this, TQT_SLOT(waiting())); + connect(m_waitTimer, TQ_SIGNAL(timeout()), this, TQ_SLOT(waiting())); } blinkenGame::~blinkenGame() @@ -114,8 +114,8 @@ void blinkenGame::nextSound() void blinkenGame::soundEnded() { - TQTimer::singleShot(100, this, TQT_SLOT(nextSound())); - TQTimer::singleShot(50, this, TQT_SLOT(unhighlight())); + TQTimer::singleShot(100, this, TQ_SLOT(nextSound())); + TQTimer::singleShot(50, this, TQ_SLOT(unhighlight())); } void blinkenGame::unhighlight() @@ -135,7 +135,7 @@ void blinkenGame::waiting() } else m_sequence.append(generateColor()); - connect(m_artsPlayer, TQT_SIGNAL(ended()), this, TQT_SLOT(soundEnded())); + connect(m_artsPlayer, TQ_SIGNAL(ended()), this, TQ_SLOT(soundEnded())); m_nextColor = m_sequence.begin(); soundEnded(); } |