summaryrefslogtreecommitdiffstats
path: root/doc/html/t12-cannon-cpp.html
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2025-08-06 11:29:57 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2025-11-16 17:42:59 +0900
commit4d495175043c399fdca6e1bb4c74ef176fc76fb4 (patch)
tree119a6d76d177dade68b3744cb660fe26b33c9864 /doc/html/t12-cannon-cpp.html
parentcf2c8613706a3685266058db00c0e9f632c5bd24 (diff)
downloadtqt-4d495175043c399fdca6e1bb4c74ef176fc76fb4.tar.gz
tqt-4d495175043c399fdca6e1bb4c74ef176fc76fb4.zip
Replace TRUE/FALSE with boolean values true/false - part 4
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 9f8bbf498..8e0019f72 100644
--- a/doc/html/t12-cannon-cpp.html
+++ b/doc/html/t12-cannon-cpp.html
@@ -73,7 +73,7 @@ void <a name="f75"></a>CannonField::setAngle( int degrees )
if ( ang == degrees )
return;
ang = degrees;
- <a href="tqwidget.html#repaint">repaint</a>( cannonRect(), FALSE );
+ <a href="tqwidget.html#repaint">repaint</a>( cannonRect(), false );
emit angleChanged( ang );
}
@@ -102,9 +102,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="tqtime.html">TQTime</a> midnight( 0, 0, 0 );
srand( midnight.<a href="tqtime.html#secsTo">secsTo</a>(TQTime::<a href="tqtime.html#currentTime">currentTime</a>()) );
}