summaryrefslogtreecommitdiffstats
path: root/doc/html/tutorial1-08.html
diff options
context:
space:
mode:
Diffstat (limited to 'doc/html/tutorial1-08.html')
-rw-r--r--doc/html/tutorial1-08.html20
1 files changed, 10 insertions, 10 deletions
diff --git a/doc/html/tutorial1-08.html b/doc/html/tutorial1-08.html
index 57ffa0587..628076453 100644
--- a/doc/html/tutorial1-08.html
+++ b/doc/html/tutorial1-08.html
@@ -210,32 +210,32 @@ encapsulation.
the angle actually changes. If both the LCDRange and the CannonField
had omitted this check, the program would have entered an infinite
loop upon the first change of one of the values.
-<p> <pre> <a href="qgridlayout.html">TQGridLayout</a> *grid = new <a href="qgridlayout.html">TQGridLayout</a>( this, 2, 2, 10 );
+<p> <pre> <a href="tqgridlayout.html">TQGridLayout</a> *grid = new <a href="tqgridlayout.html">TQGridLayout</a>( this, 2, 2, 10 );
//2x2, 10 pixel border
</pre>
-<p> So far we have used the no-assembly-required <a href="ntqvbox.html">TQVBox</a> and <a href="ntqgrid.html">TQGrid</a> widgets
+<p> So far we have used the no-assembly-required <a href="ntqvbox.html">TQVBox</a> and <a href="tqgrid.html">TQGrid</a> widgets
for geometry management. Now, however, we want to have a little more
-control over the layout, and we switch to the more powerful <a href="qgridlayout.html">TQGridLayout</a>
+control over the layout, and we switch to the more powerful <a href="tqgridlayout.html">TQGridLayout</a>
class. TQGridLayout isn't a widget; it is a different class that can
manage the children of <em>any</em> widget.
<p> As the comment indicates, we create a two-by-two array with ten pixel
-borders. (The constructor for <a href="qgridlayout.html">TQGridLayout</a> can be a little cryptic,
+borders. (The constructor for <a href="tqgridlayout.html">TQGridLayout</a> can be a little cryptic,
so it's good to put in such comments.)
-<p> <pre> <a name="x2337"></a> grid-&gt;<a href="qgridlayout.html#addWidget">addWidget</a>( quit, 0, 0 );
+<p> <pre> <a name="x2337"></a> grid-&gt;<a href="tqgridlayout.html#addWidget">addWidget</a>( quit, 0, 0 );
</pre>
<p> We add the Quit button in the top-left cell of the grid: 0, 0.
-<p> <pre> grid-&gt;<a href="qgridlayout.html#addWidget">addWidget</a>( angle, 1, 0, TQt::AlignTop );
+<p> <pre> grid-&gt;<a href="tqgridlayout.html#addWidget">addWidget</a>( angle, 1, 0, TQt::AlignTop );
</pre>
<p> We put the angle LCDRange in the bottom-left cell, aligned to the top
of its cell. (This alignment is one of the things TQGridLayout allows
but TQGrid does not allow.)
-<p> <pre> grid-&gt;<a href="qgridlayout.html#addWidget">addWidget</a>( cannonField, 1, 1 );
+<p> <pre> grid-&gt;<a href="tqgridlayout.html#addWidget">addWidget</a>( cannonField, 1, 1 );
</pre>
<p> We put the CannonField object in the bottom-right cell. (The top-
right cell is empty.)
-<p> <pre> <a name="x2338"></a> grid-&gt;<a href="qgridlayout.html#setColStretch">setColStretch</a>( 1, 10 );
+<p> <pre> <a name="x2338"></a> grid-&gt;<a href="tqgridlayout.html#setColStretch">setColStretch</a>( 1, 10 );
</pre>
-<p> We tell <a href="qgridlayout.html">TQGridLayout</a> that the right column (column 1) is stretchable.
+<p> We tell <a href="tqgridlayout.html">TQGridLayout</a> that the right column (column 1) is stretchable.
Because the left column isn't (it has <a href="layout.html#stretch-factor">stretch factor</a> 0, the default
value), TQGridLayout will try to let the left-hand widgets' sizes be
unchanged and will resize just the CannonField when the MyWidget is
@@ -278,7 +278,7 @@ and size? Why?
<p> If you give the left-hand column a non-zero stretch factor, what
happens when you resize the window?
<p> Leave out the setFocus() call. Which behavior do you prefer?
-<p> Try to change "Quit" to "&Quit" in the <a href="ntqbutton.html#setText">TQButton::setText</a>() call. How
+<p> Try to change "Quit" to "&Quit" in the <a href="tqbutton.html#setText">TQButton::setText</a>() call. How
does the button's look change? What happens if you press Alt+Q while
the program's running? (It is Meta+Q on a few keyboards.)
<p> Center the text in the CannonField.