diff options
Diffstat (limited to 'doc/html/t10-cannon-cpp.html')
-rw-r--r-- | doc/html/t10-cannon-cpp.html | 28 |
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 <<a href="qpainter-h.html">ntqpainter.h</a>> +#include <<a href="tqpainter-h.html">tqpainter.h</a>> #include <<a href="qpixmap-h.html">ntqpixmap.h</a>> @@ -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-><a href="qpaintevent.html#rect">rect</a>().intersects( cannonRect() ) ) + if ( !e-><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( &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( &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 ); } |