diff options
Diffstat (limited to 'doc/html/scrollview-example.html')
-rw-r--r-- | doc/html/scrollview-example.html | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/doc/html/scrollview-example.html b/doc/html/scrollview-example.html index ae774fe80..d44a665b2 100644 --- a/doc/html/scrollview-example.html +++ b/doc/html/scrollview-example.html @@ -53,7 +53,7 @@ optimized for very large contents. #include <<a href="tqpopupmenu-h.html">tqpopupmenu.h</a>> #include <<a href="qpushbutton-h.html">ntqpushbutton.h</a>> #include <<a href="tqpainter-h.html">tqpainter.h</a>> -#include <<a href="qpixmap-h.html">ntqpixmap.h</a>> +#include <<a href="tqpixmap-h.html">tqpixmap.h</a>> #include <<a href="qmessagebox-h.html">ntqmessagebox.h</a>> #include <<a href="qlayout-h.html">ntqlayout.h</a>> #include <<a href="qlabel-h.html">ntqlabel.h</a>> @@ -125,7 +125,7 @@ public: <a href="ntqscrollview.html">TQScrollView</a>(parent,"matrix", WStaticContents), bg("bg.ppm") { -<a name="x640"></a> bg.<a href="ntqpixmap.html#load">load</a>("bg.ppm"); +<a name="x640"></a> bg.<a href="tqpixmap.html#load">load</a>("bg.ppm"); resizeContents(400000,300000); dragging = 0; @@ -167,11 +167,11 @@ protected: void drawContents(TQPainter* p, int cx, int cy, int cw, int ch) { // The Background -<a name="x639"></a> if ( !bg.<a href="ntqpixmap.html#isNull">isNull</a>() ) { -<a name="x638"></a> int rowheight=bg.<a href="ntqpixmap.html#height">height</a>(); +<a name="x639"></a> if ( !bg.<a href="tqpixmap.html#isNull">isNull</a>() ) { +<a name="x638"></a> int rowheight=bg.<a href="tqpixmap.html#height">height</a>(); int toprow=cy/rowheight; int bottomrow=(cy+ch+rowheight-1)/rowheight; -<a name="x641"></a> int colwidth=bg.<a href="ntqpixmap.html#width">width</a>(); +<a name="x641"></a> int colwidth=bg.<a href="tqpixmap.html#width">width</a>(); int leftcol=cx/colwidth; int rightcol=(cx+cw+colwidth-1)/colwidth; for (int r=toprow; r<=bottomrow; r++) { @@ -231,7 +231,7 @@ protected: } private: - <a href="ntqpixmap.html">TQPixmap</a> bg; + <a href="tqpixmap.html">TQPixmap</a> bg; }; class ScrollViewExample : public <a href="tqwidget.html">TQWidget</a> { |