summaryrefslogtreecommitdiffstats
path: root/doc/man/man3/tqobject.3qt
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2023-12-27 19:25:43 +0900
committerMichele Calgaro <[email protected]>2023-12-27 19:25:43 +0900
commitfb401a891f1b426e9419c0cb16403df407138611 (patch)
tree045b51949b3140039e37d898d8b0513016a86bea /doc/man/man3/tqobject.3qt
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 <[email protected]>
Diffstat (limited to 'doc/man/man3/tqobject.3qt')
-rw-r--r--doc/man/man3/tqobject.3qt14
1 files changed, 7 insertions, 7 deletions
diff --git a/doc/man/man3/tqobject.3qt b/doc/man/man3/tqobject.3qt
index 0d64d9bc3..1ed6f43e7 100644
--- a/doc/man/man3/tqobject.3qt
+++ b/doc/man/man3/tqobject.3qt
@@ -298,7 +298,7 @@ Example: sql/overview/custom1/main.cpp.
.SH "bool TQObject::connect ( const TQObject * sender, const char * signal, const TQObject * receiver, const char * member )\fC [static]\fR"
Connects \fIsignal\fR from the \fIsender\fR object to \fImember\fR in object \fIreceiver\fR, and returns TRUE if the connection succeeds; otherwise returns FALSE.
.PP
-You must use the SIGNAL() and SLOT() macros when specifying the \fIsignal\fR and the \fImember\fR, for example:
+You must use the TQ_SIGNAL() and TQ_SLOT() macros when specifying the \fIsignal\fR and the \fImember\fR, for example:
.PP
.nf
.br
@@ -306,13 +306,13 @@ You must use the SIGNAL() and SLOT() macros when specifying the \fIsignal\fR and
.br
QScrollBar *scroll = new QScrollBar;
.br
- TQObject::connect( scroll, SIGNAL(valueChanged(int)),
+ TQObject::connect( scroll, TQ_SIGNAL(valueChanged(int)),
.br
- label, SLOT(setNum(int)) );
+ label, TQ_SLOT(setNum(int)) );
.br
.fi
.PP
-This example ensures that the label always displays the current scroll bar value. Note that the signal and slots parameters must not contain any variable names, only the type. E.g. the following would not work and return FALSE: TQObject::connect( scroll, SIGNAL(valueChanged(int v)), label, SLOT(setNum(int v)) );
+This example ensures that the label always displays the current scroll bar value. Note that the signal and slots parameters must not contain any variable names, only the type. E.g. the following would not work and return FALSE: TQObject::connect( scroll, TQ_SIGNAL(valueChanged(int v)), label, TQ_SLOT(setNum(int v)) );
.PP
A signal can also be connected to another signal:
.PP
@@ -347,7 +347,7 @@ A signal can also be connected to another signal:
.br
aButton = new QPushButton( this );
.br
- connect( aButton, SIGNAL(clicked()), SIGNAL(myUsefulSignal()) );
+ connect( aButton, TQ_SIGNAL(clicked()), TQ_SIGNAL(myUsefulSignal()) );
.br
}
.br
@@ -429,14 +429,14 @@ Disconnect everything connected to a specific signal:
.IP
.nf
.br
- disconnect( myObject, SIGNAL(mySignal()), 0, 0 );
+ disconnect( myObject, TQ_SIGNAL(mySignal()), 0, 0 );
.br
.fi
equivalent to the non-static overloaded function
.IP
.nf
.br
- myObject->disconnect( SIGNAL(mySignal()) );
+ myObject->disconnect( TQ_SIGNAL(mySignal()) );
.br
.fi
.IP 3