diff options
author | Michele Calgaro <[email protected]> | 2023-12-27 19:25:43 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2023-12-27 19:25:43 +0900 |
commit | fb401a891f1b426e9419c0cb16403df407138611 (patch) | |
tree | 045b51949b3140039e37d898d8b0513016a86bea /doc/html/tutorial1-08.html | |
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 <[email protected]>
Diffstat (limited to 'doc/html/tutorial1-08.html')
-rw-r--r-- | doc/html/tutorial1-08.html | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/html/tutorial1-08.html b/doc/html/tutorial1-08.html index bb72603e1..b2b1611b8 100644 --- a/doc/html/tutorial1-08.html +++ b/doc/html/tutorial1-08.html @@ -192,10 +192,10 @@ widget. = new CannonField( this, "cannonField" ); </pre> <p> We create our CannonField. -<p> <pre> <a href="ntqobject.html#connect">connect</a>( angle, SIGNAL(valueChanged(int)), - cannonField, SLOT(setAngle(int)) ); - <a href="ntqobject.html#connect">connect</a>( cannonField, SIGNAL(angleChanged(int)), - angle, SLOT(setValue(int)) ); +<p> <pre> <a href="ntqobject.html#connect">connect</a>( angle, TQ_SIGNAL(valueChanged(int)), + cannonField, TQ_SLOT(setAngle(int)) ); + <a href="ntqobject.html#connect">connect</a>( cannonField, TQ_SIGNAL(angleChanged(int)), + angle, TQ_SLOT(setValue(int)) ); </pre> <p> Here we connect the valueChanged() signal of the LCDRange to the setAngle() slot of the CannonField. This will update CannonField's angle |