summaryrefslogtreecommitdiffstats
path: root/doc/html/listboxcombo-example.html
diff options
context:
space:
mode:
Diffstat (limited to 'doc/html/listboxcombo-example.html')
-rw-r--r--doc/html/listboxcombo-example.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/html/listboxcombo-example.html b/doc/html/listboxcombo-example.html
index 668bff718..1c05008bf 100644
--- a/doc/html/listboxcombo-example.html
+++ b/doc/html/listboxcombo-example.html
@@ -108,7 +108,7 @@ public:
MyListBoxItem()
: <a href="qlistboxitem.html">TQListBoxItem</a>()
{
- setCustomHighlighting( TRUE );
+ setCustomHighlighting( true );
}
protected:
@@ -179,7 +179,7 @@ protected:
box1-&gt;<a href="ntqhbox.html#setSpacing">setSpacing</a>( 5 );
// Create a non-editable Combobox and a label below...
- <a href="ntqcombobox.html">TQComboBox</a> *cb1 = new <a href="ntqcombobox.html">TQComboBox</a>( FALSE, box1 );
+ <a href="ntqcombobox.html">TQComboBox</a> *cb1 = new <a href="ntqcombobox.html">TQComboBox</a>( false, box1 );
label1 = new <a href="ntqlabel.html">TQLabel</a>( "Current Item: Combobox Item 0", box1 );
<a name="x1416"></a><a name="x1404"></a> label1-&gt;<a href="ntqwidget.html#setMaximumHeight">setMaximumHeight</a>( label1-&gt;<a href="ntqwidget.html#sizeHint">sizeHint</a>().height() * 2 );
<a name="x1401"></a> label1-&gt;<a href="ntqframe.html#setFrameStyle">setFrameStyle</a>( TQFrame::Panel | TQFrame::Sunken );
@@ -197,7 +197,7 @@ protected:
box2-&gt;<a href="ntqhbox.html#setSpacing">setSpacing</a>( 5 );
// Create an editable Combobox and a label below...
- <a href="ntqcombobox.html">TQComboBox</a> *cb2 = new <a href="ntqcombobox.html">TQComboBox</a>( TRUE, box2 );
+ <a href="ntqcombobox.html">TQComboBox</a> *cb2 = new <a href="ntqcombobox.html">TQComboBox</a>( true, box2 );
label2 = new <a href="ntqlabel.html">TQLabel</a>( "Current Item: Combobox Item 0", box2 );
label2-&gt;<a href="ntqwidget.html#setMaximumHeight">setMaximumHeight</a>( label2-&gt;<a href="ntqwidget.html#sizeHint">sizeHint</a>().height() * 2 );
label2-&gt;<a href="ntqframe.html#setFrameStyle">setFrameStyle</a>( TQFrame::Panel | TQFrame::Sunken );