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 376ee1563..7b0791999 100644 --- a/doc/html/toplevel-example.html +++ b/doc/html/toplevel-example.html @@ -166,7 +166,7 @@ automatically. Popup menus are a typical example for such widgets. } </pre>A modal widget blocks input to other toplevel widgets, unless those are in a different modal group (see <tt>WGroupLeader</tt>). -Dialogs are often modal, and the <a href="ntqdialog.html">TQDialog</a> class provides an easy API +Dialogs are often modal, and the <a href="tqdialog.html">TQDialog</a> class provides an easy API to create and display them without the need to explicitly use this flag. <p> <pre> if ( cbBehaviorTool->isChecked() ) { @@ -187,7 +187,7 @@ modeless dialogs. <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="ntqpushbutton.html">TQPushButton</a> *okButton = new <a href="ntqpushbutton.html">TQPushButton</a>( "Close", widget ); + <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="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 |