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.html22
1 files changed, 11 insertions, 11 deletions
diff --git a/doc/html/qaxcontainer-example-webbrowser.html b/doc/html/qaxcontainer-example-webbrowser.html
index 76f4b3a38..6f60fada9 100644
--- a/doc/html/qaxcontainer-example-webbrowser.html
+++ b/doc/html/qaxcontainer-example-webbrowser.html
@@ -45,13 +45,13 @@ already been set up within TQt Designer.
<pre> void MainWindow::init()
{
- pb = new <a href="qprogressbar.html">TQProgressBar</a>( statusBar() );
- <a name="x2513"></a> pb-&gt;<a href="qprogressbar.html#setPercentageVisible">setPercentageVisible</a>( FALSE );
- <a name="x2516"></a> pb-&gt;<a href="qwidget.html#hide">hide</a>();
+ 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="x2516"></a> pb-&gt;<a href="ntqwidget.html#hide">hide</a>();
statusBar()-&gt;addWidget( pb, 0, TRUE );
connect( WebBrowser, SIGNAL(ProgressChange(int,int)), this, SLOT(setProgress(int,int)) );
- connect( WebBrowser, SIGNAL(StatusTextChange(const <a href="qstring.html">TQString</a>&amp;)), statusBar(), SLOT(message(const <a href="qstring.html">TQString</a>&amp;)) );
+ connect( WebBrowser, SIGNAL(StatusTextChange(const <a href="ntqstring.html">TQString</a>&amp;)), statusBar(), SLOT(message(const <a href="ntqstring.html">TQString</a>&amp;)) );
WebBrowser-&gt;dynamicCall( "GoHome()" );
}
@@ -64,11 +64,11 @@ using the <a href="qaxbase.html#dynamicCall">TQAxBase::dynamicCall</a>() dynamic
<p> <pre> void MainWindow::go()
{
actionStop-&gt;setEnabled( TRUE );
- WebBrowser-&gt;dynamicCall( "Navigate(const <a href="qstring.html">TQString</a>&amp;)", addressEdit-&gt;text() );
+ 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
Explorer, passing the text of the address bar as the argument.
-<p> <pre> void MainWindow::setTitle( const <a href="qstring.html">TQString</a> &amp;title )
+<p> <pre> void MainWindow::setTitle( const <a href="ntqstring.html">TQString</a> &amp;title )
{
setCaption( "TQt WebBrowser - " + title );
}
@@ -78,12 +78,12 @@ using the provided title string.
<p> <pre> void MainWindow::setProgress( int a, int b )
{
if ( a &lt;= 0 || b &lt;= 0 ) {
- pb-&gt;<a href="qwidget.html#hide">hide</a>();
+ pb-&gt;<a href="ntqwidget.html#hide">hide</a>();
return;
}
- pb-&gt;<a href="qwidget.html#show">show</a>();
- <a name="x2515"></a> pb-&gt;<a href="qprogressbar.html#setTotalSteps">setTotalSteps</a>( b );
- <a name="x2514"></a> pb-&gt;<a href="qprogressbar.html#setProgress">setProgress</a>( a );
+ pb-&gt;<a href="ntqwidget.html#show">show</a>();
+ <a name="x2515"></a> pb-&gt;<a href="ntqprogressbar.html#setTotalSteps">setTotalSteps</a>( b );
+ <a name="x2514"></a> pb-&gt;<a href="ntqprogressbar.html#setProgress">setProgress</a>( a );
}
void MainWindow::setCommandState( int cmd, bool on )
@@ -110,7 +110,7 @@ using the provided title string.
</pre>The setProgress(), setCommandState(), navigateBegin() and
navigateComplete() slots are connected to the respective
signals of Internet Explorer and update the user interface.
-<p> The rest of the implementation is not related to <a href="activeqt.html#ActiveTQt">ActiveTQt</a> and
+<p> The rest of the implementation is not related to <a href="activentqt.html#ActiveTQt">ActiveTQt</a> and
omitted for brevity.
<p> To build the example you must first build the
<a href="qaxcontainer.html">TQAxContainer</a> library.