diff options
| author | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-08-06 11:29:57 +0900 |
|---|---|---|
| committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-11-16 17:42:59 +0900 |
| commit | 4d495175043c399fdca6e1bb4c74ef176fc76fb4 (patch) | |
| tree | 119a6d76d177dade68b3744cb660fe26b33c9864 /doc/html/progressbar-example.html | |
| parent | cf2c8613706a3685266058db00c0e9f632c5bd24 (diff) | |
| download | tqt-4d495175043c399fdca6e1bb4c74ef176fc76fb4.tar.gz tqt-4d495175043c399fdca6e1bb4c74ef176fc76fb4.zip | |
Replace TRUE/FALSE with boolean values true/false - part 4
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 d5ef1c61c..5497aeaa1 100644 --- a/doc/html/progressbar-example.html +++ b/doc/html/progressbar-example.html @@ -112,7 +112,7 @@ protected slots: <a href="tqgridlayout.html">TQGridLayout</a>* toplayout = new <a href="tqgridlayout.html">TQGridLayout</a>( <a href="tqwidget.html#layout">layout</a>(), 2, 2, 5); - <a href="tqbuttongroup.html#setRadioButtonExclusive">setRadioButtonExclusive</a>( TRUE ); + <a href="tqbuttongroup.html#setRadioButtonExclusive">setRadioButtonExclusive</a>( true ); // insert three radiobuttons which the user can use // to set the speed of the progress and two pushbuttons @@ -147,7 +147,7 @@ protected slots: <a href="tqobject.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="tqradiobutton.html#setChecked">setChecked</a>( TRUE ); +<a name="x972"></a> normal-><a href="tqradiobutton.html#setChecked">setChecked</a>( true ); // some contraints @@ -176,9 +176,9 @@ void <a name="f347"></a>ProgressBar::slotStart() progress-><a href="tqprogressbar.html#setTotalSteps">setTotalSteps</a>( 50 ); // disable the speed-radiobuttons -<a name="x973"></a> slow-><a href="tqwidget.html#setEnabled">setEnabled</a>( FALSE ); - normal-><a href="tqwidget.html#setEnabled">setEnabled</a>( FALSE ); - fast-><a href="tqwidget.html#setEnabled">setEnabled</a>( FALSE ); +<a name="x973"></a> slow-><a href="tqwidget.html#setEnabled">setEnabled</a>( false ); + normal-><a href="tqwidget.html#setEnabled">setEnabled</a>( false ); + fast-><a href="tqwidget.html#setEnabled">setEnabled</a>( false ); } // If the progress is not running... @@ -209,12 +209,12 @@ void <a name="f348"></a>ProgressBar::slotReset() // rename the start/pause/continue button to Start... start-><a href="tqbutton.html#setText">setText</a>( "&Start" ); // ...and enable this button - start-><a href="tqwidget.html#setEnabled">setEnabled</a>( TRUE ); + start-><a href="tqwidget.html#setEnabled">setEnabled</a>( true ); // enable the speed-radiobuttons - slow-><a href="tqwidget.html#setEnabled">setEnabled</a>( TRUE ); - normal-><a href="tqwidget.html#setEnabled">setEnabled</a>( TRUE ); - fast-><a href="tqwidget.html#setEnabled">setEnabled</a>( TRUE ); + slow-><a href="tqwidget.html#setEnabled">setEnabled</a>( true ); + normal-><a href="tqwidget.html#setEnabled">setEnabled</a>( true ); + fast-><a href="tqwidget.html#setEnabled">setEnabled</a>( true ); // reset the progressbar <a name="x967"></a> progress-><a href="tqprogressbar.html#reset">reset</a>(); @@ -237,7 +237,7 @@ void <a name="f349"></a>ProgressBar::slotTimeout() // ...rename the start/pause/continue button to Start... start-><a href="tqbutton.html#setText">setText</a>( "&Start" ); // ...and disable it... - start-><a href="tqwidget.html#setEnabled">setEnabled</a>( FALSE ); + start-><a href="tqwidget.html#setEnabled">setEnabled</a>( false ); // ...and return return; } |
