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/tutorial1-11.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'doc/html/tutorial1-11.html') diff --git a/doc/html/tutorial1-11.html b/doc/html/tutorial1-11.html index 1d091f26a..0c2da3bf4 100644 --- a/doc/html/tutorial1-11.html +++ b/doc/html/tutorial1-11.html @@ -185,7 +185,7 @@ the paintEvent() from the previous chapter. 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; } @@ -201,8 +201,8 @@ point, we construct a TQRect with size 6x6 and move i the point calculated above. In the same operation we convert the point into the widget's coordinate system (see The Coordinate System). -

The qRound() function is an inline function defined in ntqglobal.h (included -by all other TQt header files). qRound() rounds a double to the closest +

The tqRound() function is an inline function defined in ntqglobal.h (included +by all other TQt header files). tqRound() rounds a double to the closest integer.

t11/main.cpp

-- cgit v1.2.1