summaryrefslogtreecommitdiffstats
path: root/doc/html/tutorial1-10.html
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2025-05-30 14:27:29 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2025-06-25 16:29:01 +0900
commita7f1e6e2552d9cdbb3d76bff089db522248b9a24 (patch)
tree2e6dd07698083df817163d572443aaf6fdd26651 /doc/html/tutorial1-10.html
parent2584dba8aabfa2db8297dcfa258d33545ed6af43 (diff)
downloadtqt-a7f1e6e2552d9cdbb3d76bff089db522248b9a24.tar.gz
tqt-a7f1e6e2552d9cdbb3d76bff089db522248b9a24.zip
Replace TRUE/FALSE with boolean values true/false - part 1
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'doc/html/tutorial1-10.html')
-rw-r--r--doc/html/tutorial1-10.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/html/tutorial1-10.html b/doc/html/tutorial1-10.html
index 6296e4617..2e02d9658 100644
--- a/doc/html/tutorial1-10.html
+++ b/doc/html/tutorial1-10.html
@@ -99,12 +99,12 @@ separate function.
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 );
}
</pre>
<p> We have made a slight change in the setAngle() function. It repaints
-only the portion of the widget that contains the cannon. The FALSE
+only the portion of the widget that contains the cannon. The false
argument indicates that the specified rectangle should not be erased
before a paint event is sent to the widget. This speeds up and smooths
the drawing a little bit.