diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-09-04 11:53:23 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-09-04 13:56:43 +0900 |
commit | 0582c90a9ed4b965629267713f51c0da7c38b39d (patch) | |
tree | cae95e850081d0a7f2be6cef5837f43a28d53d2c /doc/html/t14-cannon-cpp.html | |
parent | 39f8a475b4ec5c87a11a7e9300a30ef1c5b4a7e1 (diff) | |
download | tqt3-0582c90a9ed4b965629267713f51c0da7c38b39d.tar.gz tqt3-0582c90a9ed4b965629267713f51c0da7c38b39d.zip |
Rename remaining ntq[m-r]* related files to equivalent tq* (except ntqmodules.h)
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'doc/html/t14-cannon-cpp.html')
-rw-r--r-- | doc/html/t14-cannon-cpp.html | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/doc/html/t14-cannon-cpp.html b/doc/html/t14-cannon-cpp.html index 03fdc8fb6..1bb8925b6 100644 --- a/doc/html/t14-cannon-cpp.html +++ b/doc/html/t14-cannon-cpp.html @@ -161,20 +161,20 @@ void <a name="f128"></a>CannonField::moveShot() } -void CannonField::<a href="tqwidget.html#mousePressEvent">mousePressEvent</a>( <a href="qmouseevent.html">TQMouseEvent</a> *e ) +void CannonField::<a href="tqwidget.html#mousePressEvent">mousePressEvent</a>( <a href="tqmouseevent.html">TQMouseEvent</a> *e ) { - if ( e-><a href="qmouseevent.html#button">button</a>() != LeftButton ) + if ( e-><a href="tqmouseevent.html#button">button</a>() != LeftButton ) return; - if ( barrelHit( e-><a href="qmouseevent.html#pos">pos</a>() ) ) + if ( barrelHit( e-><a href="tqmouseevent.html#pos">pos</a>() ) ) barrelPressed = TRUE; } -void CannonField::<a href="tqwidget.html#mouseMoveEvent">mouseMoveEvent</a>( <a href="qmouseevent.html">TQMouseEvent</a> *e ) +void CannonField::<a href="tqwidget.html#mouseMoveEvent">mouseMoveEvent</a>( <a href="tqmouseevent.html">TQMouseEvent</a> *e ) { if ( !barrelPressed ) return; - <a href="tqpoint.html">TQPoint</a> pnt = e-><a href="qmouseevent.html#pos">pos</a>(); + <a href="tqpoint.html">TQPoint</a> pnt = e-><a href="tqmouseevent.html#pos">pos</a>(); if ( pnt.<a href="tqpoint.html#x">x</a>() <= 0 ) pnt.<a href="tqpoint.html#setX">setX</a>( 1 ); if ( pnt.<a href="tqpoint.html#y">y</a>() >= <a href="tqwidget.html#height">height</a>() ) @@ -184,9 +184,9 @@ void CannonField::<a href="tqwidget.html#mouseMoveEvent">mouseMoveEvent</a>( <a } -void CannonField::<a href="tqwidget.html#mouseReleaseEvent">mouseReleaseEvent</a>( <a href="qmouseevent.html">TQMouseEvent</a> *e ) +void CannonField::<a href="tqwidget.html#mouseReleaseEvent">mouseReleaseEvent</a>( <a href="tqmouseevent.html">TQMouseEvent</a> *e ) { - if ( e-><a href="qmouseevent.html#button">button</a>() == LeftButton ) + if ( e-><a href="tqmouseevent.html#button">button</a>() == LeftButton ) barrelPressed = FALSE; } |