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 /doc/object.doc | |
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 'doc/object.doc')
-rw-r--r-- | doc/object.doc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/object.doc b/doc/object.doc index f38389d02..e28036f6d 100644 --- a/doc/object.doc +++ b/doc/object.doc @@ -118,8 +118,8 @@ inherits \l TQObject so that it fits well into the ownership structure of most GUI programs. The normal way of using it is like this: \code QTimer * counter = new QTimer( this ); - connect( counter, SIGNAL(timeout()), - this, SLOT(updateCaption()) ); + connect( counter, TQ_SIGNAL(timeout()), + this, TQ_SLOT(updateCaption()) ); counter->start( 1000 ); \endcode @@ -133,7 +133,7 @@ to show the button being pressed down and then (0.1 seconds later) be released when the keyboard is used to "press" a button, for example: \code - QTimer::singleShot( 100, this, SLOT(animateTimeout()) ); + QTimer::singleShot( 100, this, TQ_SLOT(animateTimeout()) ); \endcode 0.1 seconds after this line of code is executed, the same button's @@ -176,7 +176,7 @@ single-threaded application without blocking the user interface. Mandelbrot::Mandelbrot( TQObject *parent=0, const char *name ) : TQObject( parent, name ) { - connect( &timer, SIGNAL(timeout()), SLOT(calculate()) ); + connect( &timer, TQ_SIGNAL(timeout()), TQ_SLOT(calculate()) ); ... } |