diff options
Diffstat (limited to 'doc/html/t9-cannon-cpp.html')
-rw-r--r-- | doc/html/t9-cannon-cpp.html | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/doc/html/t9-cannon-cpp.html b/doc/html/t9-cannon-cpp.html index b9b5a2ae2..94bb42da8 100644 --- a/doc/html/t9-cannon-cpp.html +++ b/doc/html/t9-cannon-cpp.html @@ -39,14 +39,14 @@ body { background: #ffffff; color: black; } ****************************************************************/ #include "cannon.h" -#include <<a href="qpainter-h.html">qpainter.h</a>> +#include <<a href="qpainter-h.html">ntqpainter.h</a>> -<a name="f41"></a>CannonField::CannonField( <a href="qwidget.html">TQWidget</a> *parent, const char *name ) - : <a href="qwidget.html">TQWidget</a>( parent, name ) +<a name="f41"></a>CannonField::CannonField( <a href="ntqwidget.html">TQWidget</a> *parent, const char *name ) + : <a href="ntqwidget.html">TQWidget</a>( parent, name ) { ang = 45; - <a href="qwidget.html#setPalette">setPalette</a>( TQPalette( TQColor( 250, 250, 200) ) ); + <a href="ntqwidget.html#setPalette">setPalette</a>( TQPalette( TQColor( 250, 250, 200) ) ); } @@ -59,26 +59,26 @@ void <a name="f42"></a>CannonField::setAngle( int degrees ) if ( ang == degrees ) return; ang = degrees; - <a href="qwidget.html#repaint">repaint</a>(); + <a href="ntqwidget.html#repaint">repaint</a>(); emit angleChanged( ang ); } -void CannonField::<a href="qwidget.html#paintEvent">paintEvent</a>( <a href="qpaintevent.html">TQPaintEvent</a> * ) +void CannonField::<a href="ntqwidget.html#paintEvent">paintEvent</a>( <a href="qpaintevent.html">TQPaintEvent</a> * ) { - <a href="qpainter.html">TQPainter</a> p( this ); + <a href="ntqpainter.html">TQPainter</a> p( this ); - p.<a href="qpainter.html#setBrush">setBrush</a>( blue ); - p.<a href="qpainter.html#setPen">setPen</a>( NoPen ); + p.<a href="ntqpainter.html#setBrush">setBrush</a>( blue ); + p.<a href="ntqpainter.html#setPen">setPen</a>( NoPen ); - p.<a href="qpainter.html#translate">translate</a>( 0, rect().bottom() ); - p.<a href="qpainter.html#drawPie">drawPie</a>( TQRect(-35, -35, 70, 70), 0, 90*16 ); - p.<a href="qpainter.html#rotate">rotate</a>( -ang ); - p.<a href="qpainter.html#drawRect">drawRect</a>( TQRect(33, -4, 15, 8) ); + p.<a href="ntqpainter.html#translate">translate</a>( 0, rect().bottom() ); + 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) ); } -TQSizePolicy CannonField::<a href="qwidget.html#sizePolicy">sizePolicy</a>() const +TQSizePolicy CannonField::<a href="ntqwidget.html#sizePolicy">sizePolicy</a>() const { return TQSizePolicy( TQSizePolicy::Expanding, TQSizePolicy::Expanding ); } |