From fb401a891f1b426e9419c0cb16403df407138611 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Wed, 27 Dec 2023 19:25:43 +0900 Subject: Rename METHOD, SIGNAL, SLOT to TQ_METHOD, TQ_SIGNAL, TQ_SLOT Signed-off-by: Michele Calgaro --- examples/aclock/aclock.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'examples/aclock') 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 -- cgit v1.2.1