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/t11-cannon-cpp.html | |
parent | 68b81013e8668f50fc18b7e26a520ec93a7a1251 (diff) | |
download | tqt-8ac0e970.tar.gz tqt-8ac0e970.zip |
Rename ntqwidget* related files to equivalent tqwidget*
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'doc/html/t11-cannon-cpp.html')
-rw-r--r-- | doc/html/t11-cannon-cpp.html | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/doc/html/t11-cannon-cpp.html b/doc/html/t11-cannon-cpp.html index f0558b1d0..96e7a0545 100644 --- a/doc/html/t11-cannon-cpp.html +++ b/doc/html/t11-cannon-cpp.html @@ -46,8 +46,8 @@ body { background: #ffffff; color: black; } #include <math.h> -<a name="f57"></a>CannonField::CannonField( <a href="ntqwidget.html">TQWidget</a> *parent, const char *name ) - : <a href="ntqwidget.html">TQWidget</a>( parent, name ) +<a name="f57"></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; @@ -57,7 +57,7 @@ body { background: #ffffff; color: black; } this, TQ_SLOT(moveShot()) ); shoot_ang = 0; shoot_f = 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) ) ); } @@ -70,7 +70,7 @@ void <a name="f58"></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 ); } @@ -108,11 +108,11 @@ void <a name="f61"></a>CannonField::moveShot() autoShootTimer-><a href="ntqtimer.html#stop">stop</a>(); else 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 ); @@ -158,7 +158,7 @@ void <a name="f63"></a>CannonField::paintCannon( <a href="ntqpainter.html">TQPai TQRect <a name="f64"></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; } @@ -184,7 +184,7 @@ TQRect <a name="f65"></a>CannonField::shotRect() 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 ); } |