summaryrefslogtreecommitdiffstats
path: root/examples/aclock/aclock.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-12-27 19:25:43 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-12-27 19:25:43 +0900
commitfb401a891f1b426e9419c0cb16403df407138611 (patch)
tree045b51949b3140039e37d898d8b0513016a86bea /examples/aclock/aclock.cpp
parenta9d178f1000475ba1727ffe123a2c54585488c01 (diff)
downloadtqt3-fb401a891f1b426e9419c0cb16403df407138611.tar.gz
tqt3-fb401a891f1b426e9419c0cb16403df407138611.zip
Rename METHOD, SIGNAL, SLOT to TQ_METHOD, TQ_SIGNAL, TQ_SLOT
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'examples/aclock/aclock.cpp')
-rw-r--r--examples/aclock/aclock.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/aclock/aclock.cpp b/examples/aclock/aclock.cpp
index cc312da01..e492529ef 100644
--- a/examples/aclock/aclock.cpp
+++ b/examples/aclock/aclock.cpp
@@ -21,7 +21,7 @@ AnalogClock::AnalogClock( TQWidget *parent, const char *name )
{
time = TQTime::currentTime(); // get current time
internalTimer = new TQTimer( this ); // create internal timer
- connect( internalTimer, SIGNAL(timeout()), SLOT(timeout()) );
+ connect( internalTimer, TQ_SIGNAL(timeout()), TQ_SLOT(timeout()) );
internalTimer->start( 5000 ); // emit signal every 5 seconds
}
@@ -48,7 +48,7 @@ void AnalogClock::mouseMoveEvent( TQMouseEvent *e )
void AnalogClock::setTime( const TQTime & t )
{
time = t;
- disconnect( internalTimer, SIGNAL(timeout()), this, SLOT(timeout()) );
+ disconnect( internalTimer, TQ_SIGNAL(timeout()), this, TQ_SLOT(timeout()) );
if (autoMask())
updateMask();
else