diff options
Diffstat (limited to 'doc/html/qmag-example.html')
-rw-r--r-- | doc/html/qmag-example.html | 8 |
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 <<a href="qcombobox-h.html">ntqcombobox.h</a>> #include <<a href="qpushbutton-h.html">ntqpushbutton.h</a>> #include <<a href="qpixmap-h.html">ntqpixmap.h</a>> -#include <<a href="qimage-h.html">ntqimage.h</a>> +#include <<a href="tqimage-h.html">tqimage.h</a>> #include <<a href="qlabel-h.html">ntqlabel.h</a>> #include <<a href="qfiledialog-h.html">ntqfiledialog.h</a>> #include <<a href="qregexp-h.html">ntqregexp.h</a>> @@ -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-><a href="qmouseevent.html#pos">pos</a>().x() / z; y = (e-><a href="qmouseevent.html#pos">pos</a>().y() - ( zoom ? zoom-><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)); |