diff options
Diffstat (limited to 'doc/html/motif-walkthrough-6.html')
-rw-r--r-- | doc/html/motif-walkthrough-6.html | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/doc/html/motif-walkthrough-6.html b/doc/html/motif-walkthrough-6.html index ec9ce6a47..abc558802 100644 --- a/doc/html/motif-walkthrough-6.html +++ b/doc/html/motif-walkthrough-6.html @@ -52,7 +52,7 @@ is then compiled and linked into our application. <p> <em>TQt Designer</em> also created the <tt>mainwindow.ui.h</tt> file. We need to add the implementation for our <em>Main Window</em> to this skeleton implementation. -<p> We begin by adding the necessary includes for <a href="qapplication.html">TQApplication</a> +<p> We begin by adding the necessary includes for <a href="ntqapplication.html">TQApplication</a> and <a href="qmotifwidget.html">TQMotifWidget</a>. <p> @@ -69,7 +69,7 @@ existing callback functions found in <tt>todo.cpp</tt> and <tt>actions.cpp</tt>. <tr bgcolor="#f0f0f0"> <td valign="top">Save <td valign="top"><tt>MainWindow::fileSave()</tt> <td valign="top">calls the <tt>SaveIt()</tt> callback <tr bgcolor="#d0d0d0"> <td valign="top">Save As <td valign="top"><tt>MainWindow::fileSaveAs()</tt> <td valign="top">calls the <tt>Save()</tt> callback <tr bgcolor="#f0f0f0"> <td valign="top">Print <td valign="top"><tt>MainWindow::filePrint()</tt> <td valign="top">calls the <tt>ShowPrintDialog()</tt> callback -<tr bgcolor="#d0d0d0"> <td valign="top">Exit <td valign="top"><tt>MainWindow::fileExit()</tt> <td valign="top">calls <a href="qapplication.html#quit">TQApplication::quit</a>() +<tr bgcolor="#d0d0d0"> <td valign="top">Exit <td valign="top"><tt>MainWindow::fileExit()</tt> <td valign="top">calls <a href="ntqapplication.html#quit">TQApplication::quit</a>() <tr bgcolor="#a2c511"> <th valign="top" colspan="3" rowspan="1"> Selected menu <tr bgcolor="#f0f0f0"> <td valign="top">Properties <td valign="top"><tt>MainWindow::selProperties()</tt> <td valign="top">calls the <tt>EditPage()</tt> callback <tr bgcolor="#d0d0d0"> <td valign="top">New <td valign="top"><tt>MainWindow::selNewPage()</tt> <td valign="top">calls the <tt>NewPage()</tt> callback @@ -85,9 +85,9 @@ Each slot implementation is a single line calling the related callback function. The code is not very interesting and would just take up space, so we've omitted it. <p> There are four exceptions to the above. The <tt>Open()</tt>, <tt>Save()</tt>, <tt>EditPage()</tt> and <tt>DeletePage()</tt> callbacks accept a pointer to the -toplevel <a href="qwidget.html">TQWidget</a> as argument 2 (the <em>client_data</em> argument). For +toplevel <a href="ntqwidget.html">TQWidget</a> as argument 2 (the <em>client_data</em> argument). For these four functions, we pass <em>this</em> as the second argument, which is -a toplevel <tt>MainWindow</tt> derived from <a href="qmainwindow.html">TQMainWindow</a>. +a toplevel <tt>MainWindow</tt> derived from <a href="ntqmainwindow.html">TQMainWindow</a>. <p> <h2> Replacing the <em>Main Window</em> </h2> <a name="2"></a><p> The next step is to use the new <em>Main Window</em> in our application. @@ -112,7 +112,7 @@ either. We remove it and all references to it in the <tt>New()</tt>, <tt>Save() <p> We remove all of the code used to create the Motif menus. The remaining code in <tt>main()</tt> is self-explanatory. <p> <pre></pre> -<p> Our application is now using <a href="qmainwindow.html">TQMainWindow</a> instead of <tt>XmMainWindow</tt>. +<p> Our application is now using <a href="ntqmainwindow.html">TQMainWindow</a> instead of <tt>XmMainWindow</tt>. After we build the project, the application runs and operates as expected. <p> [ <a href="motif-walkthrough-5.html">Previous: Using Existing Dialogs with TQMotifDialog</a> ] |