diff options
Diffstat (limited to 'doc/html/toplevel-example.html')
-rw-r--r-- | doc/html/toplevel-example.html | 4 |
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-><a href="ntqframe.html#setMargin">setMargin</a>( 20 ); + <a name="x2530"></a> widget-><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>("&nbsp;| "), widget); <a name="x2532"></a> label-><a href="tqlabel.html#setTextFormat">setTextFormat</a>(RichText); <a name="x2531"></a> label-><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-><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 |