diff options
| author | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-08-06 11:29:57 +0900 |
|---|---|---|
| committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-11-16 17:42:59 +0900 |
| commit | 4d495175043c399fdca6e1bb4c74ef176fc76fb4 (patch) | |
| tree | 119a6d76d177dade68b3744cb660fe26b33c9864 /doc/html/lineedits-example.html | |
| parent | cf2c8613706a3685266058db00c0e9f632c5bd24 (diff) | |
| download | tqt-4d495175043c399fdca6e1bb4c74ef176fc76fb4.tar.gz tqt-4d495175043c399fdca6e1bb4c74ef176fc76fb4.zip | |
Replace TRUE/FALSE with boolean values true/false - part 4
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 17f13c7b5..1b6b9f5a4 100644 --- a/doc/html/lineedits-example.html +++ b/doc/html/lineedits-example.html @@ -119,7 +119,7 @@ protected slots: <a name="x169"></a> row1-><a href="tqboxlayout.html#addWidget">addWidget</a>( label ); // Create a Combobox with three items... - combo1 = new <a href="tqcombobox.html">TQComboBox</a>( FALSE, this ); + combo1 = new <a href="tqcombobox.html">TQComboBox</a>( false, this ); row1-><a href="tqboxlayout.html#addWidget">addWidget</a>( combo1 ); <a name="x171"></a> combo1-><a href="tqcombobox.html#insertItem">insertItem</a>( "Normal" ); combo1-><a href="tqcombobox.html#insertItem">insertItem</a>( "Password" ); @@ -141,7 +141,7 @@ protected slots: row2-><a href="tqboxlayout.html#addWidget">addWidget</a>( label ); // A second Combobox with again three items... - combo2 = new <a href="tqcombobox.html">TQComboBox</a>( FALSE, this ); + combo2 = new <a href="tqcombobox.html">TQComboBox</a>( false, this ); row2-><a href="tqboxlayout.html#addWidget">addWidget</a>( combo2 ); combo2-><a href="tqcombobox.html#insertItem">insertItem</a>( "No Validator" ); combo2-><a href="tqcombobox.html#insertItem">insertItem</a>( "Integer Validator" ); @@ -162,7 +162,7 @@ protected slots: row3-><a href="tqboxlayout.html#addWidget">addWidget</a>( label ); // A combo box for setting alignment - combo3 = new <a href="tqcombobox.html">TQComboBox</a>( FALSE, this ); + combo3 = new <a href="tqcombobox.html">TQComboBox</a>( false, this ); row3-><a href="tqboxlayout.html#addWidget">addWidget</a>( combo3 ); combo3-><a href="tqcombobox.html#insertItem">insertItem</a>( "Left" ); combo3-><a href="tqcombobox.html#insertItem">insertItem</a>( "Centered" ); @@ -183,7 +183,7 @@ protected slots: row4-><a href="tqboxlayout.html#addWidget">addWidget</a>( label ); // A combo box for choosing an input mask - combo4 = new <a href="tqcombobox.html">TQComboBox</a>( FALSE, this ); + combo4 = new <a href="tqcombobox.html">TQComboBox</a>( false, this ); row4-><a href="tqboxlayout.html#addWidget">addWidget</a>( combo4 ); combo4-><a href="tqcombobox.html#insertItem">insertItem</a>( "No mask" ); combo4-><a href="tqcombobox.html#insertItem">insertItem</a>( "Phone number" ); @@ -207,7 +207,7 @@ protected slots: (void)new <a href="tqlabel.html">TQLabel</a>( "Read-Only: ", row5 ); // A combo box for setting alignment - combo5 = new <a href="tqcombobox.html">TQComboBox</a>( FALSE, row5 ); + combo5 = new <a href="tqcombobox.html">TQComboBox</a>( false, row5 ); combo5-><a href="tqcombobox.html#insertItem">insertItem</a>( "False" ); combo5-><a href="tqcombobox.html#insertItem">insertItem</a>( "True" ); // ...and again the activated() TQ_SIGNAL gets connected with a TQ_SLOT @@ -341,10 +341,10 @@ void <a name="f224"></a>LineEdits::slotReadOnlyChanged( int i ) { switch ( i ) { case 0: -<a name="x178"></a> lined5-><a href="tqlineedit.html#setReadOnly">setReadOnly</a>( FALSE ); +<a name="x178"></a> lined5-><a href="tqlineedit.html#setReadOnly">setReadOnly</a>( false ); break; case 1: - lined5-><a href="tqlineedit.html#setReadOnly">setReadOnly</a>( TRUE ); + lined5-><a href="tqlineedit.html#setReadOnly">setReadOnly</a>( true ); break; } |
