diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-12-27 19:25:43 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-12-27 19:25:43 +0900 |
commit | fb401a891f1b426e9419c0cb16403df407138611 (patch) | |
tree | 045b51949b3140039e37d898d8b0513016a86bea /examples/aclock/aclock.cpp | |
parent | a9d178f1000475ba1727ffe123a2c54585488c01 (diff) | |
download | tqt3-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.cpp | 4 |
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 |