diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-07-15 19:08:22 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-07-18 09:31:41 +0900 |
commit | a30f5359f03c3017fa19a6770fab32d25d22cb87 (patch) | |
tree | cb365dd7a1c3666e3f972c6cad04be7b8e846cba /doc/html/tutorial1-13.html | |
parent | 25ad1267da6916e738a126ff5a9b41cd686adfc6 (diff) | |
download | tqt3-a30f5359f03c3017fa19a6770fab32d25d22cb87.tar.gz tqt3-a30f5359f03c3017fa19a6770fab32d25d22cb87.zip |
Rename graphics class nt* related files to equivalent tq* (part 1)
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 | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/doc/html/tutorial1-13.html b/doc/html/tutorial1-13.html index 9ac3fcc5e..135aa3b15 100644 --- a/doc/html/tutorial1-13.html +++ b/doc/html/tutorial1-13.html @@ -176,15 +176,15 @@ We then reset the <tt>gameEnded</tt> variable and repaint the widget. <p> moveShot() too emits the new canShoot(TRUE) signal at the same time as either hit() or miss(). <p> Modifications in CannonField::paintEvent(): -<p> <pre> void CannonField::<a href="tqwidget.html#paintEvent">paintEvent</a>( <a href="qpaintevent.html">TQPaintEvent</a> *e ) +<p> <pre> void CannonField::<a href="tqwidget.html#paintEvent">paintEvent</a>( <a href="tqpaintevent.html">TQPaintEvent</a> *e ) { - <a name="x2405"></a> <a href="ntqrect.html">TQRect</a> updateR = e-><a href="qpaintevent.html#rect">rect</a>(); - <a href="ntqpainter.html">TQPainter</a> p( this ); + <a name="x2405"></a> <a href="ntqrect.html">TQRect</a> updateR = e-><a href="tqpaintevent.html#rect">rect</a>(); + <a href="tqpainter.html">TQPainter</a> p( this ); if ( gameEnded ) { - p.<a href="ntqpainter.html#setPen">setPen</a>( black ); - <a name="x2403"></a> p.<a href="ntqpainter.html#setFont">setFont</a>( TQFont( "Courier", 48, TQFont::Bold ) ); - p.<a href="ntqpainter.html#drawText">drawText</a>( <a href="tqwidget.html#rect">rect</a>(), AlignCenter, "Game Over" ); + p.<a href="tqpainter.html#setPen">setPen</a>( black ); + <a name="x2403"></a> p.<a href="tqpainter.html#setFont">setFont</a>( TQFont( "Courier", 48, TQFont::Bold ) ); + p.<a href="tqpainter.html#drawText">drawText</a>( <a href="tqwidget.html#rect">rect</a>(), AlignCenter, "Game Over" ); } </pre> <p> The paint event has been enhanced to display the text "Game Over" if |