diff options
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()) ); ... } |