summaryrefslogtreecommitdiffstats
path: root/doc/html/t10-cannon-cpp.html
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-07-15 19:08:22 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-07-18 09:31:41 +0900
commita30f5359f03c3017fa19a6770fab32d25d22cb87 (patch)
treecb365dd7a1c3666e3f972c6cad04be7b8e846cba /doc/html/t10-cannon-cpp.html
parent25ad1267da6916e738a126ff5a9b41cd686adfc6 (diff)
downloadtqt3-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/t10-cannon-cpp.html')
-rw-r--r--doc/html/t10-cannon-cpp.html28
1 files changed, 14 insertions, 14 deletions
diff --git a/doc/html/t10-cannon-cpp.html b/doc/html/t10-cannon-cpp.html
index 508b70b26..7f1b1865e 100644
--- a/doc/html/t10-cannon-cpp.html
+++ b/doc/html/t10-cannon-cpp.html
@@ -39,7 +39,7 @@ body { background: #ffffff; color: black; }
****************************************************************/
#include "cannon.h"
-#include &lt;<a href="qpainter-h.html">ntqpainter.h</a>&gt;
+#include &lt;<a href="tqpainter-h.html">tqpainter.h</a>&gt;
#include &lt;<a href="qpixmap-h.html">ntqpixmap.h</a>&gt;
@@ -77,26 +77,26 @@ void <a name="f50"></a>CannonField::setForce( int newton )
}
-void CannonField::<a href="tqwidget.html#paintEvent">paintEvent</a>( <a href="qpaintevent.html">TQPaintEvent</a> *e )
+void CannonField::<a href="tqwidget.html#paintEvent">paintEvent</a>( <a href="tqpaintevent.html">TQPaintEvent</a> *e )
{
- if ( !e-&gt;<a href="qpaintevent.html#rect">rect</a>().intersects( cannonRect() ) )
+ if ( !e-&gt;<a href="tqpaintevent.html#rect">rect</a>().intersects( cannonRect() ) )
return;
<a href="ntqrect.html">TQRect</a> cr = cannonRect();
<a href="ntqpixmap.html">TQPixmap</a> pix( cr.<a href="ntqrect.html#size">size</a>() );
pix.<a href="ntqpixmap.html#fill">fill</a>( this, cr.<a href="ntqrect.html#topLeft">topLeft</a>() );
- <a href="ntqpainter.html">TQPainter</a> p( &amp;pix );
- p.<a href="ntqpainter.html#setBrush">setBrush</a>( blue );
- p.<a href="ntqpainter.html#setPen">setPen</a>( NoPen );
- p.<a href="ntqpainter.html#translate">translate</a>( 0, pix.<a href="ntqpixmap.html#height">height</a>() - 1 );
- p.<a href="ntqpainter.html#drawPie">drawPie</a>( TQRect( -35,-35, 70, 70 ), 0, 90*16 );
- p.<a href="ntqpainter.html#rotate">rotate</a>( -ang );
- p.<a href="ntqpainter.html#drawRect">drawRect</a>( TQRect(33, -4, 15, 8) );
- p.<a href="ntqpainter.html#end">end</a>();
-
- p.<a href="ntqpainter.html#begin">begin</a>( this );
- p.<a href="ntqpainter.html#drawPixmap">drawPixmap</a>( cr.<a href="ntqrect.html#topLeft">topLeft</a>(), pix );
+ <a href="tqpainter.html">TQPainter</a> p( &amp;pix );
+ p.<a href="tqpainter.html#setBrush">setBrush</a>( blue );
+ p.<a href="tqpainter.html#setPen">setPen</a>( NoPen );
+ p.<a href="tqpainter.html#translate">translate</a>( 0, pix.<a href="ntqpixmap.html#height">height</a>() - 1 );
+ p.<a href="tqpainter.html#drawPie">drawPie</a>( TQRect( -35,-35, 70, 70 ), 0, 90*16 );
+ p.<a href="tqpainter.html#rotate">rotate</a>( -ang );
+ p.<a href="tqpainter.html#drawRect">drawRect</a>( TQRect(33, -4, 15, 8) );
+ p.<a href="tqpainter.html#end">end</a>();
+
+ p.<a href="tqpainter.html#begin">begin</a>( this );
+ p.<a href="tqpainter.html#drawPixmap">drawPixmap</a>( cr.<a href="ntqrect.html#topLeft">topLeft</a>(), pix );
}