From 359640943bcf155faa9a067dde9e00a123276290 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Mon, 13 Feb 2012 17:43:39 -0600 Subject: Automated update from Qt3 --- doc/html/t14-cannon-cpp.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'doc/html/t14-cannon-cpp.html') 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::mouseMoveEvent( y() >= height() ) pnt.setY( height() - 1 ); double rad = atan(((double)rect().bottom()-pnt.y())/pnt.x()); - setAngle( qRound ( rad*180/3.14159265 ) ); + setAngle( tqRound ( rad*180/3.14159265 ) ); } @@ -279,7 +279,7 @@ TQRect CannonField::shotRect() const double y = y0 + vely*time - 0.5*gravity*time*time; TQRect r = TQRect( 0, 0, 6, 6 ); - r.moveCenter( TQPoint( qRound(x), height() - 1 - qRound(y) ) ); + r.moveCenter( TQPoint( tqRound(x), height() - 1 - tqRound(y) ) ); return r; } -- cgit v1.2.1