summaryrefslogtreecommitdiffstats
path: root/doc/tutorial2.doc
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:43:08 +0900
commit35ced32e331ee29fda1642616c803637952f5b22 (patch)
treeda44726777f814e19c7ef1e43854f6a1693dd6fb /doc/tutorial2.doc
parent7dd4848d61e4c52091d6c644356c84c67536bde2 (diff)
downloadtqt-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/tutorial2.doc')
-rw-r--r--doc/tutorial2.doc6
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/tutorial2.doc b/doc/tutorial2.doc
index efe2b1d8b..2853e1849 100644
--- a/doc/tutorial2.doc
+++ b/doc/tutorial2.doc
@@ -457,7 +457,7 @@ exlusive behaviour is achieved by the setExclusive() call.
Each action in the group is created in the same way as other actions,
except that the action's parent is the group rather than the form.
Because our chart type actions have an on/off state we call
-setToggleAction(TRUE) for each of them. Note that we do not connect
+setToggleAction(true) for each of them. Note that we do not connect
the actions; instead, later on, we will connect the group to a slot
that will cause the canvas to redraw.
@@ -567,7 +567,7 @@ already have a unique color (which they can change of course).
\section2 okToClear()
\skipto ::okToClear()
-\printuntil return TRUE;
+\printuntil return true;
\printline
The okToClear() function is used to prompt the user to save their
@@ -999,7 +999,7 @@ draw the chart and mark it as unchanged.
\printline
\printline
\skipto QFile
-\printuntil FALSE
+\printuntil false
\printline
Saving data is equally easy. We open the file and create a text