diff options
Diffstat (limited to 'doc/html/motif-walkthrough-9.html')
-rw-r--r-- | doc/html/motif-walkthrough-9.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/html/motif-walkthrough-9.html b/doc/html/motif-walkthrough-9.html index ae391f739..a7ce8ee94 100644 --- a/doc/html/motif-walkthrough-9.html +++ b/doc/html/motif-walkthrough-9.html @@ -39,7 +39,7 @@ body { background: #ffffff; color: black; } <p> The <em>Print</em> dialog is the last component in our application that uses <a href="motif-extension.html#Motif">Motif</a>. The current <tt>Print()</tt> function does nothing more than write the plain text to a temporary file, and then executes 'lpr' to -send the text to the printer. Since we will use <a href="ntqprinter.html">TQPrinter</a>, we do not +send the text to the printer. Since we will use <a href="tqprinter.html">TQPrinter</a>, we do not this function any more, so we remove it. The current <tt>MainWindow::filePrint()</tt> implementation is removed as well. We will write a new <tt>MainWindow::filePrint()</tt> implementation in <tt>mainwindow.ui.h</tt>. <p> Note: The steps involved in using the TQPrinter class are beyond the @@ -66,7 +66,7 @@ and formatting characters to a <tt>printtext</tt> variable (which is a <p> <pre></pre> <p> The rest of the <tt>MainWindow::filePrint()</tt> function is the actual printing code. Here we simply create a <a href="ntqsimplerichtext.html">TQSimpleRichText</a> object using -the string we created above, and draw this string on the <a href="ntqprinter.html">TQPrinter</a> +the string we created above, and draw this string on the <a href="tqprinter.html">TQPrinter</a> object using <a href="tqpainter.html">TQPainter</a>. <p> <pre></pre> <p> <h2> Removing the Dependency on Xt/Motif |