diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-06-02 23:07:22 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-06-02 23:22:42 +0900 |
commit | 8ac0e970e4464d9f8f73c0fb34a178ff135be8c3 (patch) | |
tree | b95884617b9a37accc843676d5d42be4116a3f54 /doc/html/t12-cannon-cpp.html | |
parent | 68b81013e8668f50fc18b7e26a520ec93a7a1251 (diff) | |
download | tqt3-8ac0e970e4464d9f8f73c0fb34a178ff135be8c3.tar.gz tqt3-8ac0e970e4464d9f8f73c0fb34a178ff135be8c3.zip |
Rename ntqwidget* related files to equivalent tqwidget*
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'doc/html/t12-cannon-cpp.html')
-rw-r--r-- | doc/html/t12-cannon-cpp.html | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/doc/html/t12-cannon-cpp.html b/doc/html/t12-cannon-cpp.html index cf6959169..ec0e6e0f1 100644 --- a/doc/html/t12-cannon-cpp.html +++ b/doc/html/t12-cannon-cpp.html @@ -48,8 +48,8 @@ body { background: #ffffff; color: black; } #include <stdlib.h> -<a name="f74"></a>CannonField::CannonField( <a href="ntqwidget.html">TQWidget</a> *parent, const char *name ) - : <a href="ntqwidget.html">TQWidget</a>( parent, name ) +<a name="f74"></a>CannonField::CannonField( <a href="tqwidget.html">TQWidget</a> *parent, const char *name ) + : <a href="tqwidget.html">TQWidget</a>( parent, name ) { ang = 45; f = 0; @@ -60,7 +60,7 @@ body { background: #ffffff; color: black; } shoot_ang = 0; shoot_f = 0; target = TQPoint( 0, 0 ); - <a href="ntqwidget.html#setPalette">setPalette</a>( TQPalette( TQColor( 250, 250, 200) ) ); + <a href="tqwidget.html#setPalette">setPalette</a>( TQPalette( TQColor( 250, 250, 200) ) ); newTarget(); } @@ -74,7 +74,7 @@ void <a name="f75"></a>CannonField::setAngle( int degrees ) if ( ang == degrees ) return; ang = degrees; - <a href="ntqwidget.html#repaint">repaint</a>( cannonRect(), FALSE ); + <a href="tqwidget.html#repaint">repaint</a>( cannonRect(), FALSE ); emit angleChanged( ang ); } @@ -112,7 +112,7 @@ void <a name="f78"></a>CannonField::newTarget() <a href="ntqregion.html">TQRegion</a> r( targetRect() ); target = TQPoint( 200 + rand() % 190, 10 + rand() % 255 ); - <a href="ntqwidget.html#repaint">repaint</a>( r.<a href="ntqrect.html#unite">unite</a>( targetRect() ) ); + <a href="tqwidget.html#repaint">repaint</a>( r.<a href="ntqrect.html#unite">unite</a>( targetRect() ) ); } @@ -133,11 +133,11 @@ void <a name="f79"></a>CannonField::moveShot() r = r.<a href="ntqrect.html#unite">unite</a>( TQRegion( shotR ) ); } - <a href="ntqwidget.html#repaint">repaint</a>( r ); + <a href="tqwidget.html#repaint">repaint</a>( r ); } -void CannonField::<a href="ntqwidget.html#paintEvent">paintEvent</a>( <a href="qpaintevent.html">TQPaintEvent</a> *e ) +void CannonField::<a href="tqwidget.html#paintEvent">paintEvent</a>( <a href="qpaintevent.html">TQPaintEvent</a> *e ) { <a href="ntqrect.html">TQRect</a> updateR = e-><a href="qpaintevent.html#rect">rect</a>(); <a href="ntqpainter.html">TQPainter</a> p( this ); @@ -193,7 +193,7 @@ void <a name="f82"></a>CannonField::paintCannon( <a href="ntqpainter.html">TQPai TQRect <a name="f83"></a>CannonField::cannonRect() const { <a href="ntqrect.html">TQRect</a> r( 0, 0, 50, 50 ); - r.<a href="ntqrect.html#moveBottomLeft">moveBottomLeft</a>( <a href="ntqwidget.html#rect">rect</a>().bottomLeft() ); + r.<a href="ntqrect.html#moveBottomLeft">moveBottomLeft</a>( <a href="tqwidget.html#rect">rect</a>().bottomLeft() ); return r; } @@ -227,7 +227,7 @@ TQRect <a name="f85"></a>CannonField::targetRect() const } -TQSizePolicy CannonField::<a href="ntqwidget.html#sizePolicy">sizePolicy</a>() const +TQSizePolicy CannonField::<a href="tqwidget.html#sizePolicy">sizePolicy</a>() const { return TQSizePolicy( TQSizePolicy::Expanding, TQSizePolicy::Expanding ); } |