summaryrefslogtreecommitdiffstats
path: root/blinken
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-01-13 11:49:24 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-01-19 10:25:42 +0900
commit69e4de2f4cee257151ca13b207dc677b2d958fed (patch)
tree01cb14d87074092f48260fe4db758dcb89917d98 /blinken
parent0d9cc39b25fa93369504fbbf3ea91f01fb376aab (diff)
downloadtdeedu-69e4de2f4cee257151ca13b207dc677b2d958fed.tar.gz
tdeedu-69e4de2f4cee257151ca13b207dc677b2d958fed.zip
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'blinken')
-rw-r--r--blinken/src/artsplayer.cpp2
-rw-r--r--blinken/src/blinken.cpp8
-rw-r--r--blinken/src/blinkengame.cpp8
-rw-r--r--blinken/src/main.cpp2
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"), "steve@sjordi.com");
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")))