summaryrefslogtreecommitdiffstats
path: root/doc/html/helpviewer-example.html
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-07-20 20:15:52 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-07-21 23:04:19 +0900
commit1e9fa8e06de5da7fcc268e9cccb2d6b21c5f53a3 (patch)
tree5f1bb482f68ee0f95843fbf375cd2274acdabf25 /doc/html/helpviewer-example.html
parent14c414378d96f7463b989384f4a0e5dd76632b6d (diff)
downloadtqt3-1e9fa8e06de5da7fcc268e9cccb2d6b21c5f53a3.tar.gz
tqt3-1e9fa8e06de5da7fcc268e9cccb2d6b21c5f53a3.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/helpviewer-example.html')
-rw-r--r--doc/html/helpviewer-example.html28
1 files changed, 14 insertions, 14 deletions
diff --git a/doc/html/helpviewer-example.html b/doc/html/helpviewer-example.html
index e57fc7eb1..17cf93ddf 100644
--- a/doc/html/helpviewer-example.html
+++ b/doc/html/helpviewer-example.html
@@ -117,7 +117,7 @@ private:
#include "helpwindow.h"
#include &lt;<a href="tqstatusbar-h.html">tqstatusbar.h</a>&gt;
-#include &lt;<a href="qpixmap-h.html">ntqpixmap.h</a>&gt;
+#include &lt;<a href="tqpixmap-h.html">tqpixmap.h</a>&gt;
#include &lt;<a href="tqpopupmenu-h.html">tqpopupmenu.h</a>&gt;
#include &lt;<a href="tqmenubar-h.html">tqmenubar.h</a>&gt;
#include &lt;<a href="tqtoolbar-h.html">tqtoolbar.h</a>&gt;
@@ -136,7 +136,7 @@ private:
#include &lt;<a href="tqfileinfo-h.html">tqfileinfo.h</a>&gt;
#include &lt;<a href="tqfile-h.html">tqfile.h</a>&gt;
#include &lt;<a href="tqdatastream-h.html">tqdatastream.h</a>&gt;
-#include &lt;<a href="qprinter-h.html">ntqprinter.h</a>&gt;
+#include &lt;<a href="tqprinter-h.html">tqprinter.h</a>&gt;
#include &lt;<a href="qsimplerichtext-h.html">ntqsimplerichtext.h</a>&gt;
#include &lt;<a href="tqpainter-h.html">tqpainter.h</a>&gt;
#include &lt;<a href="tqpaintdevicemetrics-h.html">tqpaintdevicemetrics.h</a>&gt;
@@ -341,33 +341,33 @@ void <a name="f357"></a>HelpWindow::newWindow()
void <a name="f358"></a>HelpWindow::print()
{
#ifndef TQT_NO_PRINTER
- <a href="ntqprinter.html">TQPrinter</a> printer( TQPrinter::HighResolution );
-<a name="x1006"></a> printer.<a href="ntqprinter.html#setFullPage">setFullPage</a>(TRUE);
-<a name="x1007"></a> if ( printer.<a href="ntqprinter.html#setup">setup</a>( this ) ) {
+ <a href="tqprinter.html">TQPrinter</a> printer( TQPrinter::HighResolution );
+<a name="x1006"></a> printer.<a href="tqprinter.html#setFullPage">setFullPage</a>(TRUE);
+<a name="x1007"></a> if ( printer.<a href="tqprinter.html#setup">setup</a>( this ) ) {
<a href="tqpainter.html">TQPainter</a> p( &amp;printer );
<a name="x1002"></a> if( !p.<a href="tqpainter.html#isActive">isActive</a>() ) // starting printing failed
return;
<a name="x999"></a> <a href="tqpaintdevicemetrics.html">TQPaintDeviceMetrics</a> metrics(p.<a href="tqpainter.html#device">device</a>());
<a name="x997"></a> int dpiy = metrics.<a href="tqpaintdevicemetrics.html#logicalDpiY">logicalDpiY</a>();
int margin = (int) ( (2/2.54)*dpiy ); // 2 cm margins
-<a name="x998"></a><a name="x996"></a> <a href="ntqrect.html">TQRect</a> view( margin, margin, metrics.<a href="tqpaintdevicemetrics.html#width">width</a>() - 2*margin, metrics.<a href="tqpaintdevicemetrics.html#height">height</a>() - 2*margin );
+<a name="x998"></a><a name="x996"></a> <a href="tqrect.html">TQRect</a> view( margin, margin, metrics.<a href="tqpaintdevicemetrics.html#width">width</a>() - 2*margin, metrics.<a href="tqpaintdevicemetrics.html#height">height</a>() - 2*margin );
<a name="x1032"></a> <a href="ntqsimplerichtext.html">TQSimpleRichText</a> richText( browser-&gt;<a href="tqtextedit.html#text">text</a>(),
TQFont(),
<a name="x1028"></a> browser-&gt;<a href="tqtextedit.html#context">context</a>(),
<a name="x1031"></a> browser-&gt;<a href="tqtextedit.html#styleSheet">styleSheet</a>(),
browser-&gt;<a href="tqtextedit.html#mimeSourceFactory">mimeSourceFactory</a>(),
- view.<a href="ntqrect.html#height">height</a>() );
-<a name="x1016"></a> richText.<a href="ntqsimplerichtext.html#setWidth">setWidth</a>( &amp;p, view.<a href="ntqrect.html#width">width</a>() );
+ view.<a href="tqrect.html#height">height</a>() );
+<a name="x1016"></a> richText.<a href="ntqsimplerichtext.html#setWidth">setWidth</a>( &amp;p, view.<a href="tqrect.html#width">width</a>() );
int page = 1;
do {
<a name="x1014"></a> richText.<a href="ntqsimplerichtext.html#draw">draw</a>( &amp;p, margin, margin, view, colorGroup() );
-<a name="x1010"></a> view.<a href="ntqrect.html#moveBy">moveBy</a>( 0, view.<a href="ntqrect.html#height">height</a>() );
- p.<a href="tqpainter.html#translate">translate</a>( 0 , -view.<a href="ntqrect.html#height">height</a>() );
-<a name="x1018"></a><a name="x1001"></a> p.<a href="tqpainter.html#drawText">drawText</a>( view.<a href="ntqrect.html#right">right</a>() - p.<a href="tqpainter.html#fontMetrics">fontMetrics</a>().width( TQString::<a href="tqstring.html#number">number</a>(page) ),
-<a name="x1008"></a> view.<a href="ntqrect.html#bottom">bottom</a>() + p.<a href="tqpainter.html#fontMetrics">fontMetrics</a>().ascent() + 5, TQString::number(page) );
-<a name="x1015"></a> if ( view.<a href="ntqrect.html#top">top</a>() - margin &gt;= richText.<a href="ntqsimplerichtext.html#height">height</a>() )
+<a name="x1010"></a> view.<a href="tqrect.html#moveBy">moveBy</a>( 0, view.<a href="tqrect.html#height">height</a>() );
+ p.<a href="tqpainter.html#translate">translate</a>( 0 , -view.<a href="tqrect.html#height">height</a>() );
+<a name="x1018"></a><a name="x1001"></a> p.<a href="tqpainter.html#drawText">drawText</a>( view.<a href="tqrect.html#right">right</a>() - p.<a href="tqpainter.html#fontMetrics">fontMetrics</a>().width( TQString::<a href="tqstring.html#number">number</a>(page) ),
+<a name="x1008"></a> view.<a href="tqrect.html#bottom">bottom</a>() + p.<a href="tqpainter.html#fontMetrics">fontMetrics</a>().ascent() + 5, TQString::number(page) );
+<a name="x1015"></a> if ( view.<a href="tqrect.html#top">top</a>() - margin &gt;= richText.<a href="ntqsimplerichtext.html#height">height</a>() )
break;
-<a name="x1005"></a> printer.<a href="ntqprinter.html#newPage">newPage</a>();
+<a name="x1005"></a> printer.<a href="tqprinter.html#newPage">newPage</a>();
page++;
} while (TRUE);
}