summaryrefslogtreecommitdiffstats
path: root/doc/object.doc
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2023-12-27 19:25:43 +0900
committerMichele Calgaro <[email protected]>2023-12-31 22:16:03 +0900
commitecca365daf06c711cf30f93f4c773dabf5642790 (patch)
tree0b2f6780f60fd7eb35c84cc899e7d51db189d67d /doc/object.doc
parent1c30858477bcf3a4c74866d9a3d26f57753dd36a (diff)
downloadtqt3-ecca365daf06c711cf30f93f4c773dabf5642790.tar.gz
tqt3-ecca365daf06c711cf30f93f4c773dabf5642790.zip
Rename METHOD, SIGNAL, SLOT to TQ_METHOD, TQ_SIGNAL, TQ_SLOT
Signed-off-by: Michele Calgaro <[email protected]> (cherry picked from commit fb401a891f1b426e9419c0cb16403df407138611)
Diffstat (limited to 'doc/object.doc')
-rw-r--r--doc/object.doc8
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()) );
...
}