summaryrefslogtreecommitdiffstats
path: root/doc/html/scrollview-example.html
diff options
context:
space:
mode:
Diffstat (limited to 'doc/html/scrollview-example.html')
-rw-r--r--doc/html/scrollview-example.html12
1 files changed, 6 insertions, 6 deletions
diff --git a/doc/html/scrollview-example.html b/doc/html/scrollview-example.html
index ae774fe8..d44a665b 100644
--- a/doc/html/scrollview-example.html
+++ b/doc/html/scrollview-example.html
@@ -53,7 +53,7 @@ optimized for very large contents.
#include &lt;<a href="tqpopupmenu-h.html">tqpopupmenu.h</a>&gt;
#include &lt;<a href="qpushbutton-h.html">ntqpushbutton.h</a>&gt;
#include &lt;<a href="tqpainter-h.html">tqpainter.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="qmessagebox-h.html">ntqmessagebox.h</a>&gt;
#include &lt;<a href="qlayout-h.html">ntqlayout.h</a>&gt;
#include &lt;<a href="qlabel-h.html">ntqlabel.h</a>&gt;
@@ -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&lt;=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> {