diff options
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 |
