summaryrefslogtreecommitdiffstats
path: root/doc/html/t14-cannon-cpp.html
diff options
context:
space:
mode:
Diffstat (limited to 'doc/html/t14-cannon-cpp.html')
-rw-r--r--doc/html/t14-cannon-cpp.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/html/t14-cannon-cpp.html b/doc/html/t14-cannon-cpp.html
index 98ecd47b..6c3bd3b7 100644
--- a/doc/html/t14-cannon-cpp.html
+++ b/doc/html/t14-cannon-cpp.html
@@ -180,7 +180,7 @@ void CannonField::<a href="ntqwidget.html#mouseMoveEvent">mouseMoveEvent</a>( <a
if ( pnt.<a href="ntqpoint.html#y">y</a>() &gt;= <a href="ntqwidget.html#height">height</a>() )
pnt.<a href="ntqpoint.html#setY">setY</a>( <a href="ntqwidget.html#height">height</a>() - 1 );
double rad = atan(((double)<a href="ntqwidget.html#rect">rect</a>().bottom()-pnt.<a href="ntqpoint.html#y">y</a>())/pnt.<a href="ntqpoint.html#x">x</a>());
- setAngle( qRound ( rad*180/3.14159265 ) );
+ setAngle( tqRound ( rad*180/3.14159265 ) );
}
@@ -279,7 +279,7 @@ TQRect <a name="f134"></a>CannonField::shotRect() const
double y = y0 + vely*time - 0.5*gravity*time*time;
<a href="ntqrect.html">TQRect</a> r = TQRect( 0, 0, 6, 6 );
- r.<a href="ntqrect.html#moveCenter">moveCenter</a>( TQPoint( qRound(x), height() - 1 - qRound(y) ) );
+ r.<a href="ntqrect.html#moveCenter">moveCenter</a>( TQPoint( tqRound(x), height() - 1 - tqRound(y) ) );
return r;
}