diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-01-26 23:32:43 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-01-26 23:32:43 -0600 |
commit | ea318d1431c89e647598c510c4245c6571aa5f46 (patch) | |
tree | 996d29b80c30d453dda86d1a23162d441628f169 /doc/html/motif-walkthrough-9.html | |
parent | aaf89d4b48f69c9293feb187db26362e550b5561 (diff) | |
download | tqt3-ea318d1431c89e647598c510c4245c6571aa5f46.tar.gz tqt3-ea318d1431c89e647598c510c4245c6571aa5f46.zip |
Update to latest tqt3 automated conversion
Diffstat (limited to 'doc/html/motif-walkthrough-9.html')
-rw-r--r-- | doc/html/motif-walkthrough-9.html | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/doc/html/motif-walkthrough-9.html b/doc/html/motif-walkthrough-9.html index 4c0cc9dc6..76fb859a7 100644 --- a/doc/html/motif-walkthrough-9.html +++ b/doc/html/motif-walkthrough-9.html @@ -39,12 +39,12 @@ 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="qprinter.html">TQPrinter</a>, we do not +send the text to the printer. Since we will use <a href="ntqprinter.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 scope of this walkthrough and will not be discussed here. The -TQPrinter Class Reference, <a href="qsimplerichtext.html">TQSimpleRichText</a> Class Reference and the +TQPrinter Class Reference, <a href="ntqsimplerichtext.html">TQSimpleRichText</a> Class Reference and the <a href="simple-application.html">Simple Application Walkthrough</a> contain information on the use of TQPrinter. <p> For completeness, the code to initialize a TQPrinter object is included below. @@ -62,12 +62,12 @@ previous versions. <p> <pre></pre> <p> Next we just loop over all pages, appending the page label, contents and formatting characters to a <tt>printtext</tt> variable (which is a -<a href="qstring.html">TQString</a>). +<a href="ntqstring.html">TQString</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="qsimplerichtext.html">TQSimpleRichText</a> object using -the string we created above, and draw this string on the <a href="qprinter.html">TQPrinter</a> -object using <a href="qpainter.html">TQPainter</a>. +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> +object using <a href="ntqpainter.html">TQPainter</a>. <p> <pre></pre> <p> <h2> Removing the Dependency on Xt/Motif </h2> |