summaryrefslogtreecommitdiffstats
path: root/src/kernel/qtimer.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 /src/kernel/qtimer.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 'src/kernel/qtimer.cpp')
-rw-r--r--src/kernel/qtimer.cpp6
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();
}