summaryrefslogtreecommitdiffstats
path: root/doc/html/qmag-example.html
diff options
context:
space:
mode:
Diffstat (limited to 'doc/html/qmag-example.html')
-rw-r--r--doc/html/qmag-example.html8
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/html/qmag-example.html b/doc/html/qmag-example.html
index f65ca6bf9..4887b6b37 100644
--- a/doc/html/qmag-example.html
+++ b/doc/html/qmag-example.html
@@ -55,7 +55,7 @@ magnified area as a .bmp file.
#include &lt;<a href="qcombobox-h.html">ntqcombobox.h</a>&gt;
#include &lt;<a href="qpushbutton-h.html">ntqpushbutton.h</a>&gt;
#include &lt;<a href="qpixmap-h.html">ntqpixmap.h</a>&gt;
-#include &lt;<a href="qimage-h.html">ntqimage.h</a>&gt;
+#include &lt;<a href="tqimage-h.html">tqimage.h</a>&gt;
#include &lt;<a href="qlabel-h.html">ntqlabel.h</a>&gt;
#include &lt;<a href="qfiledialog-h.html">ntqfiledialog.h</a>&gt;
#include &lt;<a href="qregexp-h.html">ntqregexp.h</a>&gt;
@@ -97,7 +97,7 @@ private:
<a href="ntqpushbutton.html">TQPushButton</a> *quitButton;
<a href="ntqpixmap.html">TQPixmap</a> pm; // pixmap, magnified
<a href="ntqpixmap.html">TQPixmap</a> p; // pixmap
- <a href="ntqimage.html">TQImage</a> image; // image of pixmap (for RGB)
+ <a href="tqimage.html">TQImage</a> image; // image of pixmap (for RGB)
<a href="ntqlabel.html">TQLabel</a> *rgb;
int yoffset; // pixels in addition to the actual picture
int z; // magnification factor
@@ -375,9 +375,9 @@ void <a name="f490"></a>MagWidget::grabAround(TQPoint pos)
x = e-&gt;<a href="qmouseevent.html#pos">pos</a>().x() / z;
y = (e-&gt;<a href="qmouseevent.html#pos">pos</a>().y() - ( zoom ? zoom-&gt;<a href="tqwidget.html#height">height</a>() : 0 ) - 4) / z;
<a href="ntqstring.html">TQString</a> pixelinfo;
-<a name="x1777"></a> if ( image.<a href="ntqimage.html#valid">valid</a>(x,y) )
+<a name="x1777"></a> if ( image.<a href="tqimage.html#valid">valid</a>(x,y) )
{
-<a name="x1776"></a> TQRgb px = image.<a href="ntqimage.html#pixel">pixel</a>(x,y);
+<a name="x1776"></a> TQRgb px = image.<a href="tqimage.html#pixel">pixel</a>(x,y);
<a name="x1795"></a> pixelinfo.<a href="ntqstring.html#sprintf">sprintf</a>(" %3d,%3d,%3d #%02x%02x%02x",
<a href="ntqcolor.html#qRed">tqRed</a>(px), tqGreen(px), tqBlue(px),
<a href="ntqcolor.html#qRed">tqRed</a>(px), tqGreen(px), tqBlue(px));