diff options
| author | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-11-26 15:11:22 +0900 |
|---|---|---|
| committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-11-26 15:11:22 +0900 |
| commit | b87533f9904c10f24d6b2e8177c00944e3efe15b (patch) | |
| tree | c1106a381c851b51e86004698457aef1211b77be /doc/html/progressbar-example.html | |
| parent | 894037c3e68e1573a34183d936171f8cda5085f3 (diff) | |
| download | tqt-r14.1.x.tar.gz tqt-r14.1.x.zip | |
Replace TRUE/FALSE with boolean values true/false - part 4r14.1.x
Manually cherry-picked from commit 4d495175
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'doc/html/progressbar-example.html')
| -rw-r--r-- | doc/html/progressbar-example.html | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/doc/html/progressbar-example.html b/doc/html/progressbar-example.html index f2dc2d52f..7ac8e9033 100644 --- a/doc/html/progressbar-example.html +++ b/doc/html/progressbar-example.html @@ -113,7 +113,7 @@ protected slots: <a href="qgridlayout.html">TQGridLayout</a>* toplayout = new <a href="qgridlayout.html">TQGridLayout</a>( <a href="ntqwidget.html#layout">layout</a>(), 2, 2, 5); - <a href="ntqbuttongroup.html#setRadioButtonExclusive">setRadioButtonExclusive</a>( TRUE ); + <a href="ntqbuttongroup.html#setRadioButtonExclusive">setRadioButtonExclusive</a>( true ); // insert three radiobuttons which the user can use // to set the speed of the progress and two pushbuttons @@ -148,7 +148,7 @@ protected slots: <a href="ntqobject.html#connect">connect</a>( &timer, TQ_SIGNAL( timeout() ), this, TQ_SLOT( slotTimeout() ) ); // Let's start with normal speed... -<a name="x972"></a> normal-><a href="ntqradiobutton.html#setChecked">setChecked</a>( TRUE ); +<a name="x972"></a> normal-><a href="ntqradiobutton.html#setChecked">setChecked</a>( true ); // some contraints @@ -177,9 +177,9 @@ void <a name="f347"></a>ProgressBar::slotStart() progress-><a href="ntqprogressbar.html#setTotalSteps">setTotalSteps</a>( 50 ); // disable the speed-radiobuttons -<a name="x973"></a> slow-><a href="ntqwidget.html#setEnabled">setEnabled</a>( FALSE ); - normal-><a href="ntqwidget.html#setEnabled">setEnabled</a>( FALSE ); - fast-><a href="ntqwidget.html#setEnabled">setEnabled</a>( FALSE ); +<a name="x973"></a> slow-><a href="ntqwidget.html#setEnabled">setEnabled</a>( false ); + normal-><a href="ntqwidget.html#setEnabled">setEnabled</a>( false ); + fast-><a href="ntqwidget.html#setEnabled">setEnabled</a>( false ); } // If the progress is not running... @@ -210,12 +210,12 @@ void <a name="f348"></a>ProgressBar::slotReset() // rename the start/pause/continue button to Start... start-><a href="ntqbutton.html#setText">setText</a>( "&Start" ); // ...and enable this button - start-><a href="ntqwidget.html#setEnabled">setEnabled</a>( TRUE ); + start-><a href="ntqwidget.html#setEnabled">setEnabled</a>( true ); // enable the speed-radiobuttons - slow-><a href="ntqwidget.html#setEnabled">setEnabled</a>( TRUE ); - normal-><a href="ntqwidget.html#setEnabled">setEnabled</a>( TRUE ); - fast-><a href="ntqwidget.html#setEnabled">setEnabled</a>( TRUE ); + slow-><a href="ntqwidget.html#setEnabled">setEnabled</a>( true ); + normal-><a href="ntqwidget.html#setEnabled">setEnabled</a>( true ); + fast-><a href="ntqwidget.html#setEnabled">setEnabled</a>( true ); // reset the progressbar <a name="x967"></a> progress-><a href="ntqprogressbar.html#reset">reset</a>(); @@ -238,7 +238,7 @@ void <a name="f349"></a>ProgressBar::slotTimeout() // ...rename the start/pause/continue button to Start... start-><a href="ntqbutton.html#setText">setText</a>( "&Start" ); // ...and disable it... - start-><a href="ntqwidget.html#setEnabled">setEnabled</a>( FALSE ); + start-><a href="ntqwidget.html#setEnabled">setEnabled</a>( false ); // ...and return return; } |
