summaryrefslogtreecommitdiffstats
path: root/doc/html/tutorial1-13.html
diff options
context:
space:
mode:
Diffstat (limited to 'doc/html/tutorial1-13.html')
-rw-r--r--doc/html/tutorial1-13.html36
1 files changed, 18 insertions, 18 deletions
diff --git a/doc/html/tutorial1-13.html b/doc/html/tutorial1-13.html
index 5edbc422..46ad2300 100644
--- a/doc/html/tutorial1-13.html
+++ b/doc/html/tutorial1-13.html
@@ -66,17 +66,17 @@ implementation.
class LCDRange : public <a href="tqwidget.html">TQWidget</a>
</pre>
-<p> We inherit <a href="tqwidget.html">TQWidget</a> rather than <a href="ntqvbox.html">TQVBox</a>. TQVBox is very easy to use, but
+<p> We inherit <a href="tqwidget.html">TQWidget</a> rather than <a href="tqvbox.html">TQVBox</a>. TQVBox is very easy to use, but
again it showed its limitations so we switch to the more powerful and
-slightly harder to use <a href="qvboxlayout.html">TQVBoxLayout</a>. (As you remember, TQVBoxLayout is
+slightly harder to use <a href="tqvboxlayout.html">TQVBoxLayout</a>. (As you remember, TQVBoxLayout is
not a widget, it manages one.)
<p> <h3> <a href="t13-lcdrange-cpp.html">t13/lcdrange.cpp</a>
</h3>
<a name="1-2"></a><p>
-<p> <pre> #include &lt;<a href="qlayout-h.html">ntqlayout.h</a>&gt;
+<p> <pre> #include &lt;<a href="tqlayout-h.html">tqlayout.h</a>&gt;
</pre>
-<p> We need to include ntqlayout.h now to get the other layout management
+<p> We need to include tqlayout.h now to get the other layout management
API.
<p> <pre> LCDRange::LCDRange( <a href="tqwidget.html">TQWidget</a> *parent, const char *name )
: <a href="tqwidget.html">TQWidget</a>( parent, name )
@@ -84,19 +84,19 @@ API.
<p> We inherit TQWidget in the usual way.
<p> The other constructor has the same change. init() is unchanged,
except that we've added some lines at the end:
-<p> <pre> <a href="qvboxlayout.html">TQVBoxLayout</a> * l = new <a href="qvboxlayout.html">TQVBoxLayout</a>( this );
+<p> <pre> <a href="tqvboxlayout.html">TQVBoxLayout</a> * l = new <a href="tqvboxlayout.html">TQVBoxLayout</a>( this );
</pre>
<p> We create a TQVBoxLayout with all the default values, managing this
widget's children.
-<p> <pre> <a name="x2401"></a> l-&gt;<a href="qboxlayout.html#addWidget">addWidget</a>( lcd, 1 );
+<p> <pre> <a name="x2401"></a> l-&gt;<a href="tqboxlayout.html#addWidget">addWidget</a>( lcd, 1 );
</pre>
<p> At the top we add the <a href="tqlcdnumber.html">TQLCDNumber</a> with a non-zero stretch.
-<p> <pre> l-&gt;<a href="qboxlayout.html#addWidget">addWidget</a>( slider );
- l-&gt;<a href="qboxlayout.html#addWidget">addWidget</a>( label );
+<p> <pre> l-&gt;<a href="tqboxlayout.html#addWidget">addWidget</a>( slider );
+ l-&gt;<a href="tqboxlayout.html#addWidget">addWidget</a>( label );
</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="tqgridlayout.html">TQGridLayout</a>) offers but classes like <a href="ntqvbox.html">TQVBox</a> do not. In this case
+<p> This stretch control is something <a href="tqvboxlayout.html">TQVBoxLayout</a> (and <a href="tqhboxlayout.html">TQHBoxLayout</a>, and
+<a href="tqgridlayout.html">TQGridLayout</a>) offers but classes like <a href="tqvbox.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>
@@ -297,15 +297,15 @@ pointers to the <a href="tqlabel.html">TQLabel</a> widgets in the GameBoard clas
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>;
+<p> <pre> <a href="tqhboxlayout.html">TQHBoxLayout</a> *topBox = new <a href="tqhboxlayout.html">TQHBoxLayout</a>;
<a name="x2413"></a> grid-&gt;<a href="tqgridlayout.html#addLayout">addLayout</a>( topBox, 0, 1 );
- topBox-&gt;<a href="qboxlayout.html#addWidget">addWidget</a>( shoot );
- topBox-&gt;<a href="qboxlayout.html#addWidget">addWidget</a>( hits );
- topBox-&gt;<a href="qboxlayout.html#addWidget">addWidget</a>( hitsL );
- topBox-&gt;<a href="qboxlayout.html#addWidget">addWidget</a>( shotsLeft );
- topBox-&gt;<a href="qboxlayout.html#addWidget">addWidget</a>( shotsLeftL );
- <a name="x2410"></a> topBox-&gt;<a href="qboxlayout.html#addStretch">addStretch</a>( 1 );
- <a name="x2411"></a> topBox-&gt;<a href="qboxlayout.html#addWidget">addWidget</a>( restart );
+ topBox-&gt;<a href="tqboxlayout.html#addWidget">addWidget</a>( shoot );
+ topBox-&gt;<a href="tqboxlayout.html#addWidget">addWidget</a>( hits );
+ topBox-&gt;<a href="tqboxlayout.html#addWidget">addWidget</a>( hitsL );
+ topBox-&gt;<a href="tqboxlayout.html#addWidget">addWidget</a>( shotsLeft );
+ topBox-&gt;<a href="tqboxlayout.html#addWidget">addWidget</a>( shotsLeftL );
+ <a name="x2410"></a> topBox-&gt;<a href="tqboxlayout.html#addStretch">addStretch</a>( 1 );
+ <a name="x2411"></a> topBox-&gt;<a href="tqboxlayout.html#addWidget">addWidget</a>( restart );
</pre>
<p> The number of widgets in the top-right cell is getting large. Once it
was empty; now it's full enough that we group together the layout