diff options
Diffstat (limited to 'doc/html/tutorial1-11.html')
-rw-r--r-- | doc/html/tutorial1-11.html | 6 |
1 files changed, 3 insertions, 3 deletions
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; <a href="ntqrect.html">TQRect</a> r = TQRect( 0, 0, 6, 6 ); - <a name="x2371"></a> r.<a href="ntqrect.html#moveCenter">moveCenter</a>( TQPoint( qRound(x), height() - 1 - qRound(y) ) ); + <a name="x2371"></a> r.<a href="ntqrect.html#moveCenter">moveCenter</a>( TQPoint( tqRound(x), height() - 1 - tqRound(y) ) ); return r; } </pre> @@ -201,8 +201,8 @@ point, we construct a <a href="ntqrect.html">TQRect</a> 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 <a href="coordsys.html">The Coordinate System</a>). -<p> 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 +<p> 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. <p> <h3> <a href="t11-main-cpp.html">t11/main.cpp</a> </h3> |