diff options
Diffstat (limited to 'doc/html/helpviewer-example.html')
-rw-r--r-- | doc/html/helpviewer-example.html | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/doc/html/helpviewer-example.html b/doc/html/helpviewer-example.html index 17cf93ddf..e41d49c78 100644 --- a/doc/html/helpviewer-example.html +++ b/doc/html/helpviewer-example.html @@ -137,7 +137,7 @@ private: #include <<a href="tqfile-h.html">tqfile.h</a>> #include <<a href="tqdatastream-h.html">tqdatastream.h</a>> #include <<a href="tqprinter-h.html">tqprinter.h</a>> -#include <<a href="qsimplerichtext-h.html">ntqsimplerichtext.h</a>> +#include <<a href="tqsimplerichtext-h.html">tqsimplerichtext.h</a>> #include <<a href="tqpainter-h.html">tqpainter.h</a>> #include <<a href="tqpaintdevicemetrics-h.html">tqpaintdevicemetrics.h</a>> @@ -351,21 +351,21 @@ void <a name="f358"></a>HelpWindow::print() <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="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-><a href="tqtextedit.html#text">text</a>(), +<a name="x1032"></a> <a href="tqsimplerichtext.html">TQSimpleRichText</a> richText( browser-><a href="tqtextedit.html#text">text</a>(), TQFont(), <a name="x1028"></a> browser-><a href="tqtextedit.html#context">context</a>(), <a name="x1031"></a> browser-><a href="tqtextedit.html#styleSheet">styleSheet</a>(), browser-><a href="tqtextedit.html#mimeSourceFactory">mimeSourceFactory</a>(), view.<a href="tqrect.html#height">height</a>() ); -<a name="x1016"></a> richText.<a href="ntqsimplerichtext.html#setWidth">setWidth</a>( &p, view.<a href="tqrect.html#width">width</a>() ); +<a name="x1016"></a> richText.<a href="tqsimplerichtext.html#setWidth">setWidth</a>( &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>( &p, margin, margin, view, colorGroup() ); +<a name="x1014"></a> richText.<a href="tqsimplerichtext.html#draw">draw</a>( &p, margin, margin, view, colorGroup() ); <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 >= richText.<a href="ntqsimplerichtext.html#height">height</a>() ) +<a name="x1015"></a> if ( view.<a href="tqrect.html#top">top</a>() - margin >= richText.<a href="tqsimplerichtext.html#height">height</a>() ) break; <a name="x1005"></a> printer.<a href="tqprinter.html#newPage">newPage</a>(); page++; |