diff options
| author | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-07-01 22:09:14 +0900 |
|---|---|---|
| committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-07-08 08:53:47 +0900 |
| commit | c03a4800879ab62692e017e01c825ba12a421ad0 (patch) | |
| tree | 57aeff4300eb9fa64d193569f56b2d98305b49a2 /examples/listboxcombo/listboxcombo.cpp | |
| parent | 030b165ac197ce4c2eb62c7700dc4c10604637aa (diff) | |
| download | tqt-c03a4800879ab62692e017e01c825ba12a421ad0.tar.gz tqt-c03a4800879ab62692e017e01c825ba12a421ad0.zip | |
Replace TRUE/FALSE with boolean values true/false - part 2
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'examples/listboxcombo/listboxcombo.cpp')
| -rw-r--r-- | examples/listboxcombo/listboxcombo.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/listboxcombo/listboxcombo.cpp b/examples/listboxcombo/listboxcombo.cpp index d88440910..7979a4800 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 ); |
