diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-07-20 20:15:52 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-07-21 23:04:19 +0900 |
commit | 1e9fa8e06de5da7fcc268e9cccb2d6b21c5f53a3 (patch) | |
tree | 5f1bb482f68ee0f95843fbf375cd2274acdabf25 /doc/html/tutorial1-13.html | |
parent | 14c414378d96f7463b989384f4a0e5dd76632b6d (diff) | |
download | tqt-1e9fa8e06de5da7fcc268e9cccb2d6b21c5f53a3.tar.gz tqt-1e9fa8e06de5da7fcc268e9cccb2d6b21c5f53a3.zip |
Rename graphics class nt* related files to equivalent tq* (part 2)
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 | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/html/tutorial1-13.html b/doc/html/tutorial1-13.html index 135aa3b15..f8b304804 100644 --- a/doc/html/tutorial1-13.html +++ b/doc/html/tutorial1-13.html @@ -178,7 +178,7 @@ either hit() or miss(). <p> Modifications in CannonField::paintEvent(): <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="tqpaintevent.html#rect">rect</a>(); + <a name="x2405"></a> <a href="tqrect.html">TQRect</a> updateR = e-><a href="tqpaintevent.html#rect">rect</a>(); <a href="tqpainter.html">TQPainter</a> p( this ); if ( gameEnded ) { @@ -198,11 +198,11 @@ rectangle. Unfortunately, on some systems (especially X servers with Unicode fonts) it can take a while to load such a large font. Because TQt caches fonts, you will notice this only the first time the font is used. -<p> <pre> <a name="x2406"></a> if ( updateR.<a href="ntqrect.html#intersects">intersects</a>( cannonRect() ) ) +<p> <pre> <a name="x2406"></a> if ( updateR.<a href="tqrect.html#intersects">intersects</a>( cannonRect() ) ) paintCannon( &p ); - if ( isShooting() && updateR.<a href="ntqrect.html#intersects">intersects</a>( shotRect() ) ) + if ( isShooting() && updateR.<a href="tqrect.html#intersects">intersects</a>( shotRect() ) ) paintShot( &p ); - if ( !gameEnded && updateR.<a href="ntqrect.html#intersects">intersects</a>( targetRect() ) ) + if ( !gameEnded && updateR.<a href="tqrect.html#intersects">intersects</a>( targetRect() ) ) paintTarget( &p ); } </pre> |