From 35ced32e331ee29fda1642616c803637952f5b22 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Fri, 30 May 2025 14:27:29 +0900 Subject: Replace TRUE/FALSE with boolean values true/false - part 1 Signed-off-by: Michele Calgaro (cherry picked from commit a7f1e6e2552d9cdbb3d76bff089db522248b9a24) --- doc/tutorial2.doc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'doc/tutorial2.doc') 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 -- cgit v1.2.3