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 /src/kernel/qtimer.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 'src/kernel/qtimer.cpp')
-rw-r--r-- | src/kernel/qtimer.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/kernel/qtimer.cpp b/src/kernel/qtimer.cpp index 0c70113f4..f7736c028 100644 --- a/src/kernel/qtimer.cpp +++ b/src/kernel/qtimer.cpp @@ -62,7 +62,7 @@ Example: \code TQTimer *timer = new TQTimer( myObject ); - connect( timer, SIGNAL(timeout()), myObject, SLOT(timerDone()) ); + connect( timer, TQ_SIGNAL(timeout()), myObject, TQ_SLOT(timerDone()) ); timer->start( 2000, TRUE ); // 2 seconds single-shot timer \endcode @@ -77,7 +77,7 @@ user interface: \code TQTimer *t = new TQTimer( myObject ); - connect( t, SIGNAL(timeout()), SLOT(processOneThing()) ); + connect( t, TQ_SIGNAL(timeout()), TQ_SLOT(processOneThing()) ); t->start( 0, FALSE ); \endcode @@ -308,7 +308,7 @@ bool TQSingleShotTimer::event( TQEvent * ) int main( int argc, char **argv ) { TQApplication a( argc, argv ); - TQTimer::singleShot( 10*60*1000, &a, SLOT(quit()) ); + TQTimer::singleShot( 10*60*1000, &a, TQ_SLOT(quit()) ); ... // create and show your widgets return a.exec(); } |