summaryrefslogtreecommitdiffstats
path: root/doc/html/t12-cannon-cpp.html
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2025-11-26 15:11:22 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2025-11-26 15:11:22 +0900
commitb87533f9904c10f24d6b2e8177c00944e3efe15b (patch)
treec1106a381c851b51e86004698457aef1211b77be /doc/html/t12-cannon-cpp.html
parent894037c3e68e1573a34183d936171f8cda5085f3 (diff)
downloadtqt-r14.1.x.tar.gz
tqt-r14.1.x.zip
Replace TRUE/FALSE with boolean values true/false - part 4r14.1.x
Manually cherry-picked from commit 4d495175 Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'doc/html/t12-cannon-cpp.html')
-rw-r--r--doc/html/t12-cannon-cpp.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/html/t12-cannon-cpp.html b/doc/html/t12-cannon-cpp.html
index b43f1c5c0..342b18222 100644
--- a/doc/html/t12-cannon-cpp.html
+++ b/doc/html/t12-cannon-cpp.html
@@ -74,7 +74,7 @@ void <a name="f75"></a>CannonField::setAngle( int degrees )
if ( ang == degrees )
return;
ang = degrees;
- <a href="ntqwidget.html#repaint">repaint</a>( cannonRect(), FALSE );
+ <a href="ntqwidget.html#repaint">repaint</a>( cannonRect(), false );
emit angleChanged( ang );
}
@@ -103,9 +103,9 @@ void <a name="f77"></a>CannonField::shoot()
void <a name="f78"></a>CannonField::newTarget()
{
- static bool first_time = TRUE;
+ static bool first_time = true;
if ( first_time ) {
- first_time = FALSE;
+ first_time = false;
<a href="qtime.html">TQTime</a> midnight( 0, 0, 0 );
srand( midnight.<a href="qtime.html#secsTo">secsTo</a>(TQTime::<a href="qtime.html#currentTime">currentTime</a>()) );
}