summaryrefslogtreecommitdiffstats
path: root/doc/html/t14-cannon-cpp.html
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-02-13 17:43:39 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-02-13 17:43:39 -0600
commit359640943bcf155faa9a067dde9e00a123276290 (patch)
treefb3d55ea5e18949042fb0064123fb73d2b1eb932 /doc/html/t14-cannon-cpp.html
parenta829bcdc533e154000803d517200d32fe762e85c (diff)
downloadtqt3-359640943bcf155faa9a067dde9e00a123276290.tar.gz
tqt3-359640943bcf155faa9a067dde9e00a123276290.zip
Automated update from Qt3
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 98ecd47b3..6c3bd3b73 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;
}