diff options
Diffstat (limited to 'doc/html/scrollview-example.html')
-rw-r--r-- | doc/html/scrollview-example.html | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/doc/html/scrollview-example.html b/doc/html/scrollview-example.html index 33b5df43c..ae774fe80 100644 --- a/doc/html/scrollview-example.html +++ b/doc/html/scrollview-example.html @@ -52,7 +52,7 @@ optimized for very large contents. #include <<a href="tqmenubar-h.html">tqmenubar.h</a>> #include <<a href="tqpopupmenu-h.html">tqpopupmenu.h</a>> #include <<a href="qpushbutton-h.html">ntqpushbutton.h</a>> -#include <<a href="qpainter-h.html">ntqpainter.h</a>> +#include <<a href="tqpainter-h.html">tqpainter.h</a>> #include <<a href="qpixmap-h.html">ntqpixmap.h</a>> #include <<a href="qmessagebox-h.html">ntqmessagebox.h</a>> #include <<a href="qlayout-h.html">ntqlayout.h</a>> @@ -187,11 +187,11 @@ protected: // The Numbers { - <a href="ntqfontmetrics.html">TQFontMetrics</a> fm=p->fontMetrics(); -<a name="x620"></a> int rowheight=fm.<a href="ntqfontmetrics.html#lineSpacing">lineSpacing</a>(); + <a href="tqfontmetrics.html">TQFontMetrics</a> fm=p->fontMetrics(); +<a name="x620"></a> int rowheight=fm.<a href="tqfontmetrics.html#lineSpacing">lineSpacing</a>(); int toprow=cy/rowheight; int bottomrow=(cy+ch+rowheight-1)/rowheight; -<a name="x621"></a> int colwidth=fm.<a href="ntqfontmetrics.html#width">width</a>("00000,000000 ")+3; +<a name="x621"></a> int colwidth=fm.<a href="tqfontmetrics.html#width">width</a>("00000,000000 ")+3; int leftcol=cx/colwidth; int rightcol=(cx+cw+colwidth-1)/colwidth; <a href="tqstring.html">TQString</a> str; @@ -200,7 +200,7 @@ protected: for (int c=leftcol; c<=rightcol; c++) { int px=c*colwidth; str.<a href="tqstring.html#sprintf">sprintf</a>("%d,%d",c,r); -<a name="x619"></a> p->drawText(px+3, py+fm.<a href="ntqfontmetrics.html#ascent">ascent</a>(), str); +<a name="x619"></a> p->drawText(px+3, py+fm.<a href="tqfontmetrics.html#ascent">ascent</a>(), str); } } |