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/qaxcontainer-example-webbrowser.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/qaxcontainer-example-webbrowser.html')
| -rw-r--r-- | doc/html/qaxcontainer-example-webbrowser.html | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/doc/html/qaxcontainer-example-webbrowser.html b/doc/html/qaxcontainer-example-webbrowser.html index ab55b5375..6431514a8 100644 --- a/doc/html/qaxcontainer-example-webbrowser.html +++ b/doc/html/qaxcontainer-example-webbrowser.html @@ -46,9 +46,9 @@ already been set up within TQt Designer. <pre> void MainWindow::init() { pb = new <a href="ntqprogressbar.html">TQProgressBar</a>( statusBar() ); - <a name="x2513"></a> pb-><a href="ntqprogressbar.html#setPercentageVisible">setPercentageVisible</a>( FALSE ); + <a name="x2513"></a> pb-><a href="ntqprogressbar.html#setPercentageVisible">setPercentageVisible</a>( false ); <a name="x2516"></a> pb-><a href="ntqwidget.html#hide">hide</a>(); - statusBar()->addWidget( pb, 0, TRUE ); + statusBar()->addWidget( pb, 0, true ); connect( WebBrowser, TQ_SIGNAL(ProgressChange(int,int)), this, TQ_SLOT(setProgress(int,int)) ); connect( WebBrowser, TQ_SIGNAL(StatusTextChange(const <a href="ntqstring.html">TQString</a>&)), statusBar(), TQ_SLOT(message(const <a href="ntqstring.html">TQString</a>&)) ); @@ -63,7 +63,7 @@ respective displays. using the <a href="qaxbase.html#dynamicCall">TQAxBase::dynamicCall</a>() dynamicCall() API. <p> <pre> void MainWindow::go() { - actionStop->setEnabled( TRUE ); + actionStop->setEnabled( true ); WebBrowser->dynamicCall( "Navigate(const <a href="ntqstring.html">TQString</a>&)", addressEdit->text() ); } </pre>The go() function calls the <tt>NavigateTo()</tt> function of Internet @@ -100,12 +100,12 @@ using the provided title string. void MainWindow::navigateBegin() { - actionStop->setEnabled( TRUE ); + actionStop->setEnabled( true ); } void MainWindow::navigateComplete() { - actionStop->setEnabled( FALSE ); + actionStop->setEnabled( false ); } </pre>The setProgress(), setCommandState(), navigateBegin() and navigateComplete() slots are connected to the respective |
