diff options
Diffstat (limited to 'doc/html/motif-walkthrough-3.html')
-rw-r--r-- | doc/html/motif-walkthrough-3.html | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/doc/html/motif-walkthrough-3.html b/doc/html/motif-walkthrough-3.html index 0ea97f2c3..2ad589fc4 100644 --- a/doc/html/motif-walkthrough-3.html +++ b/doc/html/motif-walkthrough-3.html @@ -37,7 +37,7 @@ body { background: #ffffff; color: black; } [ <a href="motif-walkthrough.html">Home</a> ] [ <a href="motif-walkthrough-4.html">Next: Using Custom TQDialogs</a> ] <p> We start by using two of the <a href="dialogs.html">TQt Standard -Dialogs</a>: <a href="ntqfiledialog.html">TQFileDialog</a> and <a href="ntqmessagebox.html">TQMessageBox</a>. Both of these classes +Dialogs</a>: <a href="tqfiledialog.html">TQFileDialog</a> and <a href="ntqmessagebox.html">TQMessageBox</a>. Both of these classes provide useful static convenience functions. <p> <center><table cellpadding="4" cellspacing="2" border="0"> <tr bgcolor="#f0f0f0"> <td valign="top">TQFileDialog::getOpenFileName() <td valign="top">replacement for the <em>Open</em> dialog @@ -52,7 +52,7 @@ window. We can have <a href="qmotifwidget.html">TQMotifWidget</a> create our <tt 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 -<a href="ntqfiledialog.html">TQFileDialog</a> in <tt>todo.cpp</tt>. +<a href="tqfiledialog.html">TQFileDialog</a> in <tt>todo.cpp</tt>. <p> <pre></pre> @@ -70,7 +70,7 @@ as the parent for the TQt Standard Dialogs. <a name="1"></a><p> First, we completely remove all use of the existing Motif file selection dialog. We remove the <tt>Xm/FileSB.h</tt> include, the global <tt>file_dialog</tt> variable, and the code to create the dialog. We also remove the <tt>PresentFDialog()</tt> callback function. None of this code -is needed to use <a href="ntqfiledialog.html">TQFileDialog</a>. +is needed to use <a href="tqfiledialog.html">TQFileDialog</a>. <p> After removing the <tt>PresentFDialog()</tt> callback function, we need to make <em>Open</em> and <em>Save As</em> popup-menu callbacks call the <tt>Open()</tt> and <tt>Save()</tt> functions. @@ -88,13 +88,13 @@ be using it as the parent for the TQFileDialog. <p> <pre></pre> <p> Next, we modify the <tt>Save()</tt> function to use -<a href="ntqfiledialog.html#getSaveFileName">TQFileDialog::getSaveFileName</a>(). +<a href="tqfiledialog.html#getSaveFileName">TQFileDialog::getSaveFileName</a>(). <p> <pre></pre> -<p> ... and the <tt>Open()</tt> function to use <a href="ntqfiledialog.html#getOpenFileName">TQFileDialog::getOpenFileName</a>(). +<p> ... and the <tt>Open()</tt> function to use <a href="tqfiledialog.html#getOpenFileName">TQFileDialog::getOpenFileName</a>(). <p> <pre></pre> <p> After we build the project, the application runs and operates as expected. The difference is that the <em>Open</em> and <em>Save As</em> dialogs -now use <a href="ntqfiledialog.html">TQFileDialog</a>. +now use <a href="tqfiledialog.html">TQFileDialog</a>. <p> <h2> Replacing the <em>Page Delete</em> and <em>IO Error</em> Dialogs </h2> <a name="2"></a><p> The <em>Page Delete</em> dialog is created and used in <tt>actions.c</tt>. We |