diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-08-12 22:02:11 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-08-12 22:02:11 +0900 |
commit | 42957a3f812a1db64a9ae452baa2d3fbc35f2466 (patch) | |
tree | 0928f4e01a3dcc0698b46c7608d8310e471bdb49 /doc/html/tutorial1-13.html | |
parent | fef846914f8db6dc117e206ef913d519bf6bb33e (diff) | |
download | tqt3-42957a3f812a1db64a9ae452baa2d3fbc35f2466.tar.gz tqt3-42957a3f812a1db64a9ae452baa2d3fbc35f2466.zip |
Rename more widget nt* related files to equivalent tq*
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'doc/html/tutorial1-13.html')
-rw-r--r-- | doc/html/tutorial1-13.html | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/html/tutorial1-13.html b/doc/html/tutorial1-13.html index b9b83a36..5edbc422 100644 --- a/doc/html/tutorial1-13.html +++ b/doc/html/tutorial1-13.html @@ -96,7 +96,7 @@ widget's children. </pre> <p> Then we add the other two, both with the default zero stretch. <p> This stretch control is something <a href="qvboxlayout.html">TQVBoxLayout</a> (and <a href="qhboxlayout.html">TQHBoxLayout</a>, and -<a href="qgridlayout.html">TQGridLayout</a>) offers but classes like <a href="ntqvbox.html">TQVBox</a> do not. In this case +<a href="tqgridlayout.html">TQGridLayout</a>) offers but classes like <a href="ntqvbox.html">TQVBox</a> do not. In this case we're saying that the TQLCDNumber should stretch and the others should not. <p> <h3> <a href="t13-cannon-h.html">t13/cannon.h</a> @@ -264,7 +264,7 @@ at least. Anyway, back to the code.) <p> This time we want to do something when the shot has hit or missed the target. Thus we connect the hit() and missed() signals of the CannonField to two protected slots with the same names in this class. -<p> <pre> <a href="tqobject.html#connect">connect</a>( shoot, TQ_SIGNAL(<a href="ntqbutton.html#clicked">clicked</a>()), TQ_SLOT(fire()) ); +<p> <pre> <a href="tqobject.html#connect">connect</a>( shoot, TQ_SIGNAL(<a href="tqbutton.html#clicked">clicked</a>()), TQ_SLOT(fire()) ); </pre> <p> Previously we connected the Shoot button's clicked() signal directly to the CannonField's shoot() slot. This time we want to keep track of @@ -298,7 +298,7 @@ nothing much we want to do with them. TQt will delete them when the GameBoard widget is destroyed, and the layout classes will resize them appropriately. <p> <pre> <a href="qhboxlayout.html">TQHBoxLayout</a> *topBox = new <a href="qhboxlayout.html">TQHBoxLayout</a>; - <a name="x2413"></a> grid-><a href="qgridlayout.html#addLayout">addLayout</a>( topBox, 0, 1 ); + <a name="x2413"></a> grid-><a href="tqgridlayout.html#addLayout">addLayout</a>( topBox, 0, 1 ); topBox-><a href="qboxlayout.html#addWidget">addWidget</a>( shoot ); topBox-><a href="qboxlayout.html#addWidget">addWidget</a>( hits ); topBox-><a href="qboxlayout.html#addWidget">addWidget</a>( hitsL ); |