diff options
| author | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-05-30 14:27:29 +0900 |
|---|---|---|
| committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-06-25 16:43:08 +0900 |
| commit | 35ced32e331ee29fda1642616c803637952f5b22 (patch) | |
| tree | da44726777f814e19c7ef1e43854f6a1693dd6fb /doc/html/tutorial1-10.html | |
| parent | 7dd4848d61e4c52091d6c644356c84c67536bde2 (diff) | |
| download | tqt-35ced32e.tar.gz tqt-35ced32e.zip | |
Replace TRUE/FALSE with boolean values true/false - part 1
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit a7f1e6e2552d9cdbb3d76bff089db522248b9a24)
Diffstat (limited to 'doc/html/tutorial1-10.html')
| -rw-r--r-- | doc/html/tutorial1-10.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/html/tutorial1-10.html b/doc/html/tutorial1-10.html index 8a8da0f20..85c9c37b6 100644 --- a/doc/html/tutorial1-10.html +++ b/doc/html/tutorial1-10.html @@ -100,12 +100,12 @@ separate function. 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 ); } </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. |
