summaryrefslogtreecommitdiffstats
path: root/doc/html/toplevel-example.html
diff options
context:
space:
mode:
Diffstat (limited to 'doc/html/toplevel-example.html')
-rw-r--r--doc/html/toplevel-example.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/html/toplevel-example.html b/doc/html/toplevel-example.html
index 7b0791999..8d87809c0 100644
--- a/doc/html/toplevel-example.html
+++ b/doc/html/toplevel-example.html
@@ -183,12 +183,12 @@ decoration. Tool windows are frequently used instead of
modeless dialogs.
<p> <pre> if ( !widget ) {
widget = new <a href="ntqvbox.html">TQVBox</a>( parent, 0, f );
- <a name="x2530"></a> widget-&gt;<a href="ntqframe.html#setMargin">setMargin</a>( 20 );
+ <a name="x2530"></a> widget-&gt;<a href="tqframe.html#setMargin">setMargin</a>( 20 );
<a name="x2533"></a> <a href="tqlabel.html">TQLabel</a> *label = new <a href="tqlabel.html">TQLabel</a>(flagList.<a href="tqstringlist.html#join">join</a>("&amp;nbsp;| "), widget);
<a name="x2532"></a> label-&gt;<a href="tqlabel.html#setTextFormat">setTextFormat</a>(RichText);
<a name="x2531"></a> label-&gt;<a href="tqlabel.html#setAlignment">setAlignment</a>(WordBreak);
<a href="tqpushbutton.html">TQPushButton</a> *okButton = new <a href="tqpushbutton.html">TQPushButton</a>( "Close", widget );
- <a name="x2535"></a> connect( okButton, TQ_SIGNAL(<a href="ntqbutton.html#clicked">clicked</a>()), widget, TQ_SLOT(<a href="tqwidget.html#close">close</a>()) );
+ <a name="x2535"></a> connect( okButton, TQ_SIGNAL(<a href="tqbutton.html#clicked">clicked</a>()), widget, TQ_SLOT(<a href="tqwidget.html#close">close</a>()) );
<a name="x2537"></a> widget-&gt;<a href="tqwidget.html#move">move</a>( pos() );
</pre>The widget is created if it has not been created yet, or if it was
closed (since we use the <tt>WDestructiveClose</tt> flag). Note that the