summaryrefslogtreecommitdiffstats
path: root/examples/listboxcombo
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2025-07-01 22:09:14 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2025-07-08 09:01:42 +0900
commit81ade129093a279e6537db25710583fd2bba9427 (patch)
treea210834cbccc8aee2e9de7a8b7f41e1d31e2ced0 /examples/listboxcombo
parent35ced32e331ee29fda1642616c803637952f5b22 (diff)
downloadtqt-81ade129.tar.gz
tqt-81ade129.zip
Replace TRUE/FALSE with boolean values true/false - part 2
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit c03a4800879ab62692e017e01c825ba12a421ad0)
Diffstat (limited to 'examples/listboxcombo')
-rw-r--r--examples/listboxcombo/listboxcombo.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/listboxcombo/listboxcombo.cpp b/examples/listboxcombo/listboxcombo.cpp
index cf06c806d..651360294 100644
--- a/examples/listboxcombo/listboxcombo.cpp
+++ b/examples/listboxcombo/listboxcombo.cpp
@@ -27,7 +27,7 @@ public:
MyListBoxItem()
: TQListBoxItem()
{
- setCustomHighlighting( TRUE );
+ setCustomHighlighting( true );
}
protected:
@@ -98,7 +98,7 @@ ListBoxCombo::ListBoxCombo( TQWidget *parent, const char *name )
box1->setSpacing( 5 );
// Create a non-editable Combobox and a label below...
- TQComboBox *cb1 = new TQComboBox( FALSE, box1 );
+ TQComboBox *cb1 = new TQComboBox( false, box1 );
label1 = new TQLabel( "Current Item: Combobox Item 0", box1 );
label1->setMaximumHeight( label1->sizeHint().height() * 2 );
label1->setFrameStyle( TQFrame::Panel | TQFrame::Sunken );
@@ -116,7 +116,7 @@ ListBoxCombo::ListBoxCombo( TQWidget *parent, const char *name )
box2->setSpacing( 5 );
// Create an editable Combobox and a label below...
- TQComboBox *cb2 = new TQComboBox( TRUE, box2 );
+ TQComboBox *cb2 = new TQComboBox( true, box2 );
label2 = new TQLabel( "Current Item: Combobox Item 0", box2 );
label2->setMaximumHeight( label2->sizeHint().height() * 2 );
label2->setFrameStyle( TQFrame::Panel | TQFrame::Sunken );