diff options
author | Michele Calgaro <[email protected]> | 2024-01-13 11:49:24 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2024-01-19 11:12:48 +0900 |
commit | 845281400a4c6124e2cf8ab28174e9c3f0bc2895 (patch) | |
tree | fe2d221d237349ce9e1709802676323f747a4c66 /blinken/src | |
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 <[email protected]>
(cherry picked from commit 69e4de2f4cee257151ca13b207dc677b2d958fed)
Diffstat (limited to 'blinken/src')
-rw-r--r-- | blinken/src/artsplayer.cpp | 2 | ||||
-rw-r--r-- | blinken/src/blinken.cpp | 8 | ||||
-rw-r--r-- | blinken/src/blinkengame.cpp | 8 | ||||
-rw-r--r-- | blinken/src/main.cpp | 2 |
4 files changed, 10 insertions, 10 deletions
diff --git a/blinken/src/artsplayer.cpp b/blinken/src/artsplayer.cpp index a83890f9..6d82e9fb 100644 --- a/blinken/src/artsplayer.cpp +++ b/blinken/src/artsplayer.cpp @@ -23,7 +23,7 @@ artsPlayer::artsPlayer() : m_playobj(0) { m_endChecker = new TQTimer(this); - connect(m_endChecker, TQT_SIGNAL(timeout()), this, TQT_SLOT(checkEnded())); + connect(m_endChecker, TQ_SIGNAL(timeout()), this, TQ_SLOT(checkEnded())); #ifndef WITHOUT_ARTS m_dispatcher = new KArtsDispatcher; diff --git a/blinken/src/blinken.cpp b/blinken/src/blinken.cpp index 1c681ce6..969efc20 100644 --- a/blinken/src/blinken.cpp +++ b/blinken/src/blinken.cpp @@ -65,11 +65,11 @@ blinken::blinken() : TQWidget(0, 0, WStaticContents | WNoAutoErase), m_overHighs show(); m_unhighlighter = new TQTimer(this); - connect(m_unhighlighter, TQT_SIGNAL(timeout()), this, TQT_SLOT(unhighlight())); + connect(m_unhighlighter, TQ_SIGNAL(timeout()), this, TQ_SLOT(unhighlight())); - connect(&m_game, TQT_SIGNAL(gameEnded()), this, TQT_SLOT(checkHS())); - connect(&m_game, TQT_SIGNAL(phaseChanged()), this, TQT_SLOT(update())); - connect(&m_game, TQT_SIGNAL(highlight(blinkenGame::color, bool)), this, TQT_SLOT(highlight(blinkenGame::color, bool))); + connect(&m_game, TQ_SIGNAL(gameEnded()), this, TQ_SLOT(checkHS())); + connect(&m_game, TQ_SIGNAL(phaseChanged()), this, TQ_SLOT(update())); + connect(&m_game, TQ_SIGNAL(highlight(blinkenGame::color, bool)), this, TQ_SLOT(highlight(blinkenGame::color, bool))); m_helpMenu = new KHelpMenu(this, kapp->aboutData()); 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(); } diff --git a/blinken/src/main.cpp b/blinken/src/main.cpp index c013c752..fdc6987f 100644 --- a/blinken/src/main.cpp +++ b/blinken/src/main.cpp @@ -24,7 +24,7 @@ int main(int argc, char *argv[]) about.addCredit("Steve Jordi", I18N_NOOP("GPL'ed his 'Steve' font so that we could use it"), "[email protected]"); TDECmdLineArgs::init(argc, argv, &about); TDEApplication app; - app.connect(&app, TQT_SIGNAL(lastWindowClosed()), &app, TQT_SLOT(quit())); + app.connect(&app, TQ_SIGNAL(lastWindowClosed()), &app, TQ_SLOT(quit())); TQFont f("Steve", 12, TQFont::Normal, true); if (!fontChecker::checkInstalled(f, locate("appdata", "fonts/steve.ttf"))) |