summaryrefslogtreecommitdiffstats
path: root/doc/html/qaxcontainer-example-webbrowser.html
diff options
context:
space:
mode:
Diffstat (limited to 'doc/html/qaxcontainer-example-webbrowser.html')
-rw-r--r--doc/html/qaxcontainer-example-webbrowser.html10
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-&gt;<a href="ntqprogressbar.html#setPercentageVisible">setPercentageVisible</a>( FALSE );
+ <a name="x2513"></a> pb-&gt;<a href="ntqprogressbar.html#setPercentageVisible">setPercentageVisible</a>( false );
<a name="x2516"></a> pb-&gt;<a href="ntqwidget.html#hide">hide</a>();
- statusBar()-&gt;addWidget( pb, 0, TRUE );
+ statusBar()-&gt;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>&amp;)), statusBar(), TQ_SLOT(message(const <a href="ntqstring.html">TQString</a>&amp;)) );
@@ -63,7 +63,7 @@ respective displays.
using the <a href="qaxbase.html#dynamicCall">TQAxBase::dynamicCall</a>() dynamicCall() API.
<p> <pre> void MainWindow::go()
{
- actionStop-&gt;setEnabled( TRUE );
+ actionStop-&gt;setEnabled( true );
WebBrowser-&gt;dynamicCall( "Navigate(const <a href="ntqstring.html">TQString</a>&amp;)", addressEdit-&gt;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-&gt;setEnabled( TRUE );
+ actionStop-&gt;setEnabled( true );
}
void MainWindow::navigateComplete()
{
- actionStop-&gt;setEnabled( FALSE );
+ actionStop-&gt;setEnabled( false );
}
</pre>The setProgress(), setCommandState(), navigateBegin() and
navigateComplete() slots are connected to the respective