diff options
Diffstat (limited to 'doc/html/tutorial1-14.html')
-rw-r--r-- | doc/html/tutorial1-14.html | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/doc/html/tutorial1-14.html b/doc/html/tutorial1-14.html index c0fcc00fe..962f6866e 100644 --- a/doc/html/tutorial1-14.html +++ b/doc/html/tutorial1-14.html @@ -62,14 +62,14 @@ wall. <p> <p> <pre> protected: - void paintEvent( <a href="qpaintevent.html">TQPaintEvent</a> * ); + void paintEvent( <a href="tqpaintevent.html">TQPaintEvent</a> * ); void mousePressEvent( <a href="qmouseevent.html">TQMouseEvent</a> * ); void mouseMoveEvent( <a href="qmouseevent.html">TQMouseEvent</a> * ); void mouseReleaseEvent( <a href="qmouseevent.html">TQMouseEvent</a> * ); </pre> <p> In addition to the familiar event handlers, CannonField implements three mouse event handlers. The names say it all. -<p> <pre> void paintBarrier( <a href="ntqpainter.html">TQPainter</a> * ); +<p> <pre> void paintBarrier( <a href="tqpainter.html">TQPainter</a> * ); </pre> <p> This private function paints the barrier wall. <p> <pre> <a href="ntqrect.html">TQRect</a> barrierRect() const; @@ -154,11 +154,11 @@ longer pressed. </pre> <p> paintBarrier() does the same sort of thing as paintShot(), paintTarget(), and paintCannon(). -<p> <pre> void CannonField::paintBarrier( <a href="ntqpainter.html">TQPainter</a> *p ) +<p> <pre> void CannonField::paintBarrier( <a href="tqpainter.html">TQPainter</a> *p ) { - p-><a href="ntqpainter.html#setBrush">setBrush</a>( yellow ); - p-><a href="ntqpainter.html#setPen">setPen</a>( black ); - p-><a href="ntqpainter.html#drawRect">drawRect</a>( barrierRect() ); + p-><a href="tqpainter.html#setBrush">setBrush</a>( yellow ); + p-><a href="tqpainter.html#setPen">setPen</a>( black ); + p-><a href="tqpainter.html#drawRect">drawRect</a>( barrierRect() ); } </pre> <p> This private function paints the barrier as a rectangle filled with @@ -182,9 +182,9 @@ the bottom edge of the barrier to the bottom edge of the widget. <p> This function returns TRUE if the point is in the barrel; otherwise it returns FALSE. <p> Here we use the class <a href="ntqwmatrix.html">TQWMatrix</a>. It is defined in the header file -ntqwmatrix.h, which is included by ntqpainter.h. +ntqwmatrix.h, which is included by tqpainter.h. <p> <a href="ntqwmatrix.html">TQWMatrix</a> defines a coordinate system mapping. It can perform the same -transformations as the <a href="ntqpainter.html">TQPainter</a>. +transformations as the <a href="tqpainter.html">TQPainter</a>. <p> Here we perform the same transformation steps as we do when drawing the barrel in the paintCannon() function. First we translate the coordinate system and then we rotate it. |