summaryrefslogtreecommitdiffstats
path: root/doc/html/tutorial1-10.html
diff options
context:
space:
mode:
Diffstat (limited to 'doc/html/tutorial1-10.html')
-rw-r--r--doc/html/tutorial1-10.html18
1 files changed, 9 insertions, 9 deletions
diff --git a/doc/html/tutorial1-10.html b/doc/html/tutorial1-10.html
index 6f317fdb4..c1949dd59 100644
--- a/doc/html/tutorial1-10.html
+++ b/doc/html/tutorial1-10.html
@@ -82,12 +82,12 @@ separate function.
<p> <pre> #include &lt;<a href="qpixmap-h.html">ntqpixmap.h</a>&gt;
</pre>
<p> We include the <a href="ntqpixmap.html">TQPixmap</a> class definition.
-<p> <pre> CannonField::CannonField( <a href="ntqwidget.html">TQWidget</a> *parent, const char *name )
- : <a href="ntqwidget.html">TQWidget</a>( parent, name )
+<p> <pre> CannonField::CannonField( <a href="tqwidget.html">TQWidget</a> *parent, const char *name )
+ : <a href="tqwidget.html">TQWidget</a>( parent, name )
{
ang = 45;
f = 0;
- <a href="ntqwidget.html#setPalette">setPalette</a>( TQPalette( TQColor( 250, 250, 200) ) );
+ <a href="tqwidget.html#setPalette">setPalette</a>( TQPalette( TQColor( 250, 250, 200) ) );
}
</pre>
<p> The force (<tt>f</tt>) is initialized to zero.
@@ -100,7 +100,7 @@ separate function.
if ( ang == degrees )
return;
ang = degrees;
- <a href="ntqwidget.html#repaint">repaint</a>( cannonRect(), FALSE );
+ <a href="tqwidget.html#repaint">repaint</a>( cannonRect(), FALSE );
emit angleChanged( ang );
}
</pre>
@@ -122,7 +122,7 @@ the drawing a little bit.
<p> The implementation of setForce() is quite similar to that of
setAngle(). The only difference is that because we don't show the force
value, we don't need to repaint the widget.
-<p> <pre> void CannonField::<a href="ntqwidget.html#paintEvent">paintEvent</a>( <a href="qpaintevent.html">TQPaintEvent</a> *e )
+<p> <pre> void CannonField::<a href="tqwidget.html#paintEvent">paintEvent</a>( <a href="qpaintevent.html">TQPaintEvent</a> *e )
{
<a name="x2357"></a> if ( !e-&gt;<a href="qpaintevent.html#rect">rect</a>().intersects( cannonRect() ) )
return;
@@ -165,7 +165,7 @@ bottom, and the code is 100% flicker-free.
<p> <pre> TQRect CannonField::cannonRect() const
{
<a href="ntqrect.html">TQRect</a> r( 0, 0, 50, 50 );
- <a name="x2360"></a> r.<a href="ntqrect.html#moveBottomLeft">moveBottomLeft</a>( <a href="ntqwidget.html#rect">rect</a>().bottomLeft() );
+ <a name="x2360"></a> r.<a href="ntqrect.html#moveBottomLeft">moveBottomLeft</a>( <a href="tqwidget.html#rect">rect</a>().bottomLeft() );
return r;
}
</pre>
@@ -173,15 +173,15 @@ bottom, and the code is 100% flicker-free.
coordinates. First we create a rectangle with the size 50x50 and then
move it so its bottom left corner is equal to the widget's own bottom-
left corner.
-<p> The <a href="ntqwidget.html#rect">TQWidget::rect</a>() function returns the widget's enclosing
+<p> The <a href="tqwidget.html#rect">TQWidget::rect</a>() function returns the widget's enclosing
rectangle in the widget's own coordinates (where the top left corner
is 0, 0).
<p> <h3> <a href="t10-main-cpp.html">t10/main.cpp</a>
</h3>
<a name="1-3"></a><p>
-<p> <pre> MyWidget::MyWidget( <a href="ntqwidget.html">TQWidget</a> *parent, const char *name )
- : <a href="ntqwidget.html">TQWidget</a>( parent, name )
+<p> <pre> MyWidget::MyWidget( <a href="tqwidget.html">TQWidget</a> *parent, const char *name )
+ : <a href="tqwidget.html">TQWidget</a>( parent, name )
{
</pre>
<p> The constructor is mostly the same, but some new bits have been added.