summaryrefslogtreecommitdiffstats
path: root/doc/html/buttongroups-example.html
diff options
context:
space:
mode:
Diffstat (limited to 'doc/html/buttongroups-example.html')
-rw-r--r--doc/html/buttongroups-example.html24
1 files changed, 12 insertions, 12 deletions
diff --git a/doc/html/buttongroups-example.html b/doc/html/buttongroups-example.html
index 2cda99aba..1f3a2a78e 100644
--- a/doc/html/buttongroups-example.html
+++ b/doc/html/buttongroups-example.html
@@ -114,11 +114,11 @@ protected slots:
// Create an exclusive button group
<a href="tqbuttongroup.html">TQButtonGroup</a> *bgrp1 = new <a href="tqbuttongroup.html">TQButtonGroup</a>( 1, TQGroupBox::Horizontal, "Button Group 1 (exclusive)", this);
box1-&gt;<a href="tqboxlayout.html#addWidget">addWidget</a>( bgrp1 );
-<a name="x549"></a> bgrp1-&gt;<a href="tqbuttongroup.html#setExclusive">setExclusive</a>( TRUE );
+<a name="x549"></a> bgrp1-&gt;<a href="tqbuttongroup.html#setExclusive">setExclusive</a>( true );
// insert 3 radiobuttons
<a href="tqradiobutton.html">TQRadioButton</a> *rb11 = new <a href="tqradiobutton.html">TQRadioButton</a>( "&amp;Radiobutton 1", bgrp1 );
-<a name="x559"></a> rb11-&gt;<a href="tqradiobutton.html#setChecked">setChecked</a>( TRUE );
+<a name="x559"></a> rb11-&gt;<a href="tqradiobutton.html#setChecked">setChecked</a>( true );
(void)new <a href="tqradiobutton.html">TQRadioButton</a>( "R&amp;adiobutton 2", bgrp1 );
(void)new <a href="tqradiobutton.html">TQRadioButton</a>( "Ra&amp;diobutton 3", bgrp1 );
@@ -127,32 +127,32 @@ protected slots:
// Create a non-exclusive buttongroup
<a href="tqbuttongroup.html">TQButtonGroup</a> *bgrp2 = new <a href="tqbuttongroup.html">TQButtonGroup</a>( 1, TQGroupBox::Horizontal, "Button Group 2 (non-exclusive)", this );
box1-&gt;<a href="tqboxlayout.html#addWidget">addWidget</a>( bgrp2 );
- bgrp2-&gt;<a href="tqbuttongroup.html#setExclusive">setExclusive</a>( FALSE );
+ bgrp2-&gt;<a href="tqbuttongroup.html#setExclusive">setExclusive</a>( false );
// insert 3 checkboxes
(void)new <a href="tqcheckbox.html">TQCheckBox</a>( "&amp;Checkbox 1", bgrp2 );
<a href="tqcheckbox.html">TQCheckBox</a> *cb12 = new <a href="tqcheckbox.html">TQCheckBox</a>( "C&amp;heckbox 2", bgrp2 );
-<a name="x552"></a> cb12-&gt;<a href="tqcheckbox.html#setChecked">setChecked</a>( TRUE );
+<a name="x552"></a> cb12-&gt;<a href="tqcheckbox.html#setChecked">setChecked</a>( true );
<a href="tqcheckbox.html">TQCheckBox</a> *cb13 = new <a href="tqcheckbox.html">TQCheckBox</a>( "Triple &amp;State Button", bgrp2 );
-<a name="x553"></a> cb13-&gt;<a href="tqcheckbox.html#setTristate">setTristate</a>( TRUE );
- cb13-&gt;<a href="tqcheckbox.html#setChecked">setChecked</a>( TRUE );
+<a name="x553"></a> cb13-&gt;<a href="tqcheckbox.html#setTristate">setTristate</a>( true );
+ cb13-&gt;<a href="tqcheckbox.html#setChecked">setChecked</a>( true );
// ------------ third group
// create a buttongroup which is exclusive for radiobuttons and non-exclusive for all other buttons
<a href="tqbuttongroup.html">TQButtonGroup</a> *bgrp3 = new <a href="tqbuttongroup.html">TQButtonGroup</a>( 1, TQGroupBox::Horizontal, "Button Group 3 (Radiobutton-exclusive)", this );
box2-&gt;<a href="tqboxlayout.html#addWidget">addWidget</a>( bgrp3 );
-<a name="x550"></a> bgrp3-&gt;<a href="tqbuttongroup.html#setRadioButtonExclusive">setRadioButtonExclusive</a>( TRUE );
+<a name="x550"></a> bgrp3-&gt;<a href="tqbuttongroup.html#setRadioButtonExclusive">setRadioButtonExclusive</a>( true );
// insert three radiobuttons
rb21 = new <a href="tqradiobutton.html">TQRadioButton</a>( "Rad&amp;iobutton 1", bgrp3 );
rb22 = new <a href="tqradiobutton.html">TQRadioButton</a>( "Radi&amp;obutton 2", bgrp3 );
rb23 = new <a href="tqradiobutton.html">TQRadioButton</a>( "Radio&amp;button 3", bgrp3 );
- rb23-&gt;<a href="tqradiobutton.html#setChecked">setChecked</a>( TRUE );
+ rb23-&gt;<a href="tqradiobutton.html#setChecked">setChecked</a>( true );
// insert a checkbox...
state = new <a href="tqcheckbox.html">TQCheckBox</a>( "E&amp;nable Radiobuttons", bgrp3 );
- state-&gt;<a href="tqcheckbox.html#setChecked">setChecked</a>( TRUE );
+ state-&gt;<a href="tqcheckbox.html#setChecked">setChecked</a>( true );
// ...and connect its TQ_SIGNAL clicked() with the TQ_SLOT slotChangeGrp3State()
<a href="tqobject.html#connect">connect</a>( state, TQ_SIGNAL( <a href="tqbutton.html#clicked">clicked</a>() ), this, TQ_SLOT( slotChangeGrp3State() ) );
@@ -167,12 +167,12 @@ protected slots:
// now make the second one a toggle button
<a href="tqpushbutton.html">TQPushButton</a> *tb2 = new <a href="tqpushbutton.html">TQPushButton</a>( "&amp;Toggle Button", bgrp4, "toggle" );
-<a name="x558"></a> tb2-&gt;<a href="tqpushbutton.html#setToggleButton">setToggleButton</a>( TRUE );
-<a name="x556"></a> tb2-&gt;<a href="tqpushbutton.html#setOn">setOn</a>( TRUE );
+<a name="x558"></a> tb2-&gt;<a href="tqpushbutton.html#setToggleButton">setToggleButton</a>( true );
+<a name="x556"></a> tb2-&gt;<a href="tqpushbutton.html#setOn">setOn</a>( true );
// ... and make the third one a flat button
<a href="tqpushbutton.html">TQPushButton</a> *tb3 = new <a href="tqpushbutton.html">TQPushButton</a>( "&amp;Flat Button", bgrp4, "flat" );
-<a name="x555"></a> tb3-&gt;<a href="tqpushbutton.html#setFlat">setFlat</a>(TRUE);
+<a name="x555"></a> tb3-&gt;<a href="tqpushbutton.html#setFlat">setFlat</a>(true);
// .. and the fourth a button with a menu
<a href="tqpushbutton.html">TQPushButton</a> *tb4 = new <a href="tqpushbutton.html">TQPushButton</a>( "Popup Button", bgrp4, "popup" );