diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-01-26 23:32:43 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-01-26 23:32:43 -0600 |
commit | ea318d1431c89e647598c510c4245c6571aa5f46 (patch) | |
tree | 996d29b80c30d453dda86d1a23162d441628f169 /doc/html/t9-cannon-cpp.html | |
parent | aaf89d4b48f69c9293feb187db26362e550b5561 (diff) | |
download | tqt3-ea318d1431c89e647598c510c4245c6571aa5f46.tar.gz tqt3-ea318d1431c89e647598c510c4245c6571aa5f46.zip |
Update to latest tqt3 automated conversion
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 ); } |