diff options
Diffstat (limited to 'doc/html/motif-walkthrough-3.html')
-rw-r--r-- | doc/html/motif-walkthrough-3.html | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/doc/html/motif-walkthrough-3.html b/doc/html/motif-walkthrough-3.html index 2ad589fc4..d579c8618 100644 --- a/doc/html/motif-walkthrough-3.html +++ b/doc/html/motif-walkthrough-3.html @@ -48,7 +48,7 @@ provide useful static convenience functions. <p> Each of these functions takes a <em>TQWidget *parent</em> argument. If we pass zero as the <em>parent</em> argument, then we will have dialogs that are centered on the screen, instead of being centered over our main -window. We can have <a href="qmotifwidget.html">TQMotifWidget</a> create our <tt>XmMainWindow</tt>, and we +window. We can have <a href="tqmotifwidget.html">TQMotifWidget</a> create our <tt>XmMainWindow</tt>, and we can then use this class as the parent for both <a href="motif-extension.html#Motif">Motif</a> dialogs and TQt dialogs. <p> We need to include the appropriate headers for TQMotifWidget and @@ -57,9 +57,9 @@ dialogs. <pre></pre> <p> Next, we make a few modifications to how the application is -initialized. We could initialize Xt/Motif and create the <tt>XtAppContext</tt> ourselves, but <a href="qmotif.html">TQMotif</a> can do this for us. +initialized. We could initialize Xt/Motif and create the <tt>XtAppContext</tt> ourselves, but <a href="tqmotif.html">TQMotif</a> can do this for us. We also let <a href="ntqapplication.html">TQApplication</a> open the connection to the X server. Next, -we create a TQMotifWidget, passing <tt>xmMainWindowWidgetClass</tt> as the <em>widgetclass</em> argument. We can now use the <a href="qmotifwidget.html#motifWidget">TQMotifWidget::motifWidget</a>() +we create a TQMotifWidget, passing <tt>xmMainWindowWidgetClass</tt> as the <em>widgetclass</em> argument. We can now use the <a href="tqmotifwidget.html#motifWidget">TQMotifWidget::motifWidget</a>() function to access the Motif widget. The shell widget is created automatically by TQMotifWidget. We use <tt>XtParent()</tt> to access it. The top-level window is now a TQMotifWidget, which means we can use it @@ -79,7 +79,7 @@ and <tt>Save()</tt> functions. <p> <pre></pre> <p> We also change the arguments to the callbacks. We pass the top-level -<a href="qmotifwidget.html">TQMotifWidget</a> as the <tt>client_data</tt> to these functions, since we will +<a href="tqmotifwidget.html">TQMotifWidget</a> as the <tt>client_data</tt> to these functions, since we will be using it as the parent for the TQFileDialog. <p> <pre></pre> <p> <pre> @@ -123,7 +123,7 @@ the correct symbols for these functions. <p> At this point in the code, the page should be deleted. The code to do this is in the <tt>DoDeletePage()</tt> function. We move the contents of <tt>DoDeletePage()</tt> to this point and remove the <tt>DoDeletePage()</tt> function completely. -<p> Next, we change <tt>todo.cpp</tt> to pass the top-level <a href="qmotifwidget.html">TQMotifWidget</a> as the +<p> Next, we change <tt>todo.cpp</tt> to pass the top-level <a href="tqmotifwidget.html">TQMotifWidget</a> as the <tt>client_data</tt> tot he <tt>DeletePage()</tt> function. <p> |