diff options
| author | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-11-26 15:11:22 +0900 |
|---|---|---|
| committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-11-26 15:11:22 +0900 |
| commit | b87533f9904c10f24d6b2e8177c00944e3efe15b (patch) | |
| tree | c1106a381c851b51e86004698457aef1211b77be /doc/html/lineedits-example.html | |
| parent | 894037c3e68e1573a34183d936171f8cda5085f3 (diff) | |
| download | tqt-r14.1.x.tar.gz tqt-r14.1.x.zip | |
Replace TRUE/FALSE with boolean values true/false - part 4r14.1.x
Manually cherry-picked from commit 4d495175
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'doc/html/lineedits-example.html')
| -rw-r--r-- | doc/html/lineedits-example.html | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/doc/html/lineedits-example.html b/doc/html/lineedits-example.html index c450cc8a7..dd29739bb 100644 --- a/doc/html/lineedits-example.html +++ b/doc/html/lineedits-example.html @@ -120,7 +120,7 @@ protected slots: <a name="x169"></a> row1-><a href="qboxlayout.html#addWidget">addWidget</a>( label ); // Create a Combobox with three items... - combo1 = new <a href="ntqcombobox.html">TQComboBox</a>( FALSE, this ); + combo1 = new <a href="ntqcombobox.html">TQComboBox</a>( false, this ); row1-><a href="qboxlayout.html#addWidget">addWidget</a>( combo1 ); <a name="x171"></a> combo1-><a href="ntqcombobox.html#insertItem">insertItem</a>( "Normal" ); combo1-><a href="ntqcombobox.html#insertItem">insertItem</a>( "Password" ); @@ -142,7 +142,7 @@ protected slots: row2-><a href="qboxlayout.html#addWidget">addWidget</a>( label ); // A second Combobox with again three items... - combo2 = new <a href="ntqcombobox.html">TQComboBox</a>( FALSE, this ); + combo2 = new <a href="ntqcombobox.html">TQComboBox</a>( false, this ); row2-><a href="qboxlayout.html#addWidget">addWidget</a>( combo2 ); combo2-><a href="ntqcombobox.html#insertItem">insertItem</a>( "No Validator" ); combo2-><a href="ntqcombobox.html#insertItem">insertItem</a>( "Integer Validator" ); @@ -163,7 +163,7 @@ protected slots: row3-><a href="qboxlayout.html#addWidget">addWidget</a>( label ); // A combo box for setting alignment - combo3 = new <a href="ntqcombobox.html">TQComboBox</a>( FALSE, this ); + combo3 = new <a href="ntqcombobox.html">TQComboBox</a>( false, this ); row3-><a href="qboxlayout.html#addWidget">addWidget</a>( combo3 ); combo3-><a href="ntqcombobox.html#insertItem">insertItem</a>( "Left" ); combo3-><a href="ntqcombobox.html#insertItem">insertItem</a>( "Centered" ); @@ -184,7 +184,7 @@ protected slots: row4-><a href="qboxlayout.html#addWidget">addWidget</a>( label ); // A combo box for choosing an input mask - combo4 = new <a href="ntqcombobox.html">TQComboBox</a>( FALSE, this ); + combo4 = new <a href="ntqcombobox.html">TQComboBox</a>( false, this ); row4-><a href="qboxlayout.html#addWidget">addWidget</a>( combo4 ); combo4-><a href="ntqcombobox.html#insertItem">insertItem</a>( "No mask" ); combo4-><a href="ntqcombobox.html#insertItem">insertItem</a>( "Phone number" ); @@ -208,7 +208,7 @@ protected slots: (void)new <a href="ntqlabel.html">TQLabel</a>( "Read-Only: ", row5 ); // A combo box for setting alignment - combo5 = new <a href="ntqcombobox.html">TQComboBox</a>( FALSE, row5 ); + combo5 = new <a href="ntqcombobox.html">TQComboBox</a>( false, row5 ); combo5-><a href="ntqcombobox.html#insertItem">insertItem</a>( "False" ); combo5-><a href="ntqcombobox.html#insertItem">insertItem</a>( "True" ); // ...and again the activated() TQ_SIGNAL gets connected with a TQ_SLOT @@ -342,10 +342,10 @@ void <a name="f224"></a>LineEdits::slotReadOnlyChanged( int i ) { switch ( i ) { case 0: -<a name="x178"></a> lined5-><a href="ntqlineedit.html#setReadOnly">setReadOnly</a>( FALSE ); +<a name="x178"></a> lined5-><a href="ntqlineedit.html#setReadOnly">setReadOnly</a>( false ); break; case 1: - lined5-><a href="ntqlineedit.html#setReadOnly">setReadOnly</a>( TRUE ); + lined5-><a href="ntqlineedit.html#setReadOnly">setReadOnly</a>( true ); break; } |
