summaryrefslogtreecommitdiffstats
path: root/doc/html/tutorial2-09.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:43:08 +0900
commit35ced32e331ee29fda1642616c803637952f5b22 (patch)
treeda44726777f814e19c7ef1e43854f6a1693dd6fb /doc/html/tutorial2-09.html
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/html/tutorial2-09.html')
-rw-r--r--doc/html/tutorial2-09.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/html/tutorial2-09.html b/doc/html/tutorial2-09.html
index 8b454dab8..14c0e82d3 100644
--- a/doc/html/tutorial2-09.html
+++ b/doc/html/tutorial2-09.html
@@ -44,7 +44,7 @@ apply to all data sets in one place.
<a href="metaobjects.html#TQ_OBJECT">TQ_OBJECT</a>
public:
OptionsForm( <a href="ntqwidget.html">TQWidget</a>* parent = 0, const char* name = "options form",
- bool modal = FALSE, WFlags f = 0 );
+ bool modal = false, WFlags f = 0 );
~OptionsForm() {}
<a href="ntqfont.html">TQFont</a> font() const { return m_font; }
@@ -120,7 +120,7 @@ vertical box layout.
<p> <pre> chartTypeTextLabel = new <a href="ntqlabel.html">TQLabel</a>( "&amp;Chart Type", this );
<a name="x2631"></a> chartTypeLayout-&gt;<a href="qboxlayout.html#addWidget">addWidget</a>( chartTypeTextLabel );
- chartTypeComboBox = new <a href="ntqcombobox.html">TQComboBox</a>( FALSE, this );
+ chartTypeComboBox = new <a href="ntqcombobox.html">TQComboBox</a>( false, this );
<a name="x2633"></a> chartTypeComboBox-&gt;<a href="ntqcombobox.html#insertItem">insertItem</a>( TQPixmap( options_piechart ), "Pie Chart" );
chartTypeComboBox-&gt;<a href="ntqcombobox.html#insertItem">insertItem</a>( TQPixmap( options_verticalbarchart ),
"Vertical Bar Chart" );
@@ -165,7 +165,7 @@ know what font the user is using).
<a name="x2644"></a> addValuesButtonGroupLayout-&gt;<a href="qlayoutitem.html#setAlignment">setAlignment</a>( TQt::AlignTop );
noRadioButton = new <a href="ntqradiobutton.html">TQRadioButton</a>( "&amp;No", addValuesButtonGroup );
- <a name="x2645"></a> noRadioButton-&gt;<a href="ntqradiobutton.html#setChecked">setChecked</a>( TRUE );
+ <a name="x2645"></a> noRadioButton-&gt;<a href="ntqradiobutton.html#setChecked">setChecked</a>( true );
addValuesButtonGroupLayout-&gt;<a href="qboxlayout.html#addWidget">addWidget</a>( noRadioButton );
yesRadioButton = new <a href="ntqradiobutton.html">TQRadioButton</a>( "&amp;Yes", addValuesButtonGroup );