diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-02-13 17:43:39 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-02-13 17:43:39 -0600 |
commit | 359640943bcf155faa9a067dde9e00a123276290 (patch) | |
tree | fb3d55ea5e18949042fb0064123fb73d2b1eb932 /doc/html/tutorial1-11.html | |
parent | a829bcdc533e154000803d517200d32fe762e85c (diff) | |
download | tqt3-359640943bcf155faa9a067dde9e00a123276290.tar.gz tqt3-359640943bcf155faa9a067dde9e00a123276290.zip |
Automated update from Qt3
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> |