diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-07-20 20:15:52 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-07-21 23:04:19 +0900 |
commit | 1e9fa8e06de5da7fcc268e9cccb2d6b21c5f53a3 (patch) | |
tree | 5f1bb482f68ee0f95843fbf375cd2274acdabf25 /doc/html/motif-walkthrough-9.html | |
parent | 14c414378d96f7463b989384f4a0e5dd76632b6d (diff) | |
download | tqt-1e9fa8e0.tar.gz tqt-1e9fa8e0.zip |
Rename graphics class nt* related files to equivalent tq* (part 2)
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
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 |