diff options
Diffstat (limited to 'doc/html/qmag-example.html')
-rw-r--r-- | doc/html/qmag-example.html | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/doc/html/qmag-example.html b/doc/html/qmag-example.html index a96f9b184..d2e3e52e9 100644 --- a/doc/html/qmag-example.html +++ b/doc/html/qmag-example.html @@ -61,7 +61,7 @@ magnified area as a .bmp file. #include <<a href="tqregexp-h.html">tqregexp.h</a>> #include <<a href="qapplication-h.html">ntqapplication.h</a>> -#include <<a href="qpainter-h.html">ntqpainter.h</a>> +#include <<a href="tqpainter-h.html">tqpainter.h</a>> #include <<a href="qwmatrix-h.html">ntqwmatrix.h</a>> @@ -78,7 +78,7 @@ public slots: void multiSave(); protected: - void paintEvent( <a href="qpaintevent.html">TQPaintEvent</a> * ); + void paintEvent( <a href="tqpaintevent.html">TQPaintEvent</a> * ); void mousePressEvent( <a href="qmouseevent.html">TQMouseEvent</a> * ); void mouseReleaseEvent( <a href="qmouseevent.html">TQMouseEvent</a> * ); void mouseMoveEvent( <a href="qmouseevent.html">TQMouseEvent</a> * ); @@ -294,11 +294,11 @@ void <a name="f489"></a>MagWidget::grab() } -<a name="x1803"></a>void MagWidget::<a href="tqwidget.html#paintEvent">paintEvent</a>( <a href="qpaintevent.html">TQPaintEvent</a> * ) +<a name="x1803"></a>void MagWidget::<a href="tqwidget.html#paintEvent">paintEvent</a>( <a href="tqpaintevent.html">TQPaintEvent</a> * ) { if ( !pm.<a href="ntqpixmap.html#isNull">isNull</a>() ) { - <a href="ntqpainter.html">TQPainter</a> paint( this ); -<a name="x1782"></a> paint.<a href="ntqpainter.html#drawPixmap">drawPixmap</a>( 0, zoom ? zoom-><a href="tqwidget.html#height">height</a>()+4 : 0, pm, + <a href="tqpainter.html">TQPainter</a> paint( this ); +<a name="x1782"></a> paint.<a href="tqpainter.html#drawPixmap">drawPixmap</a>( 0, zoom ? zoom-><a href="tqwidget.html#height">height</a>()+4 : 0, pm, 0,0, width(), height()-yoffset ); } } @@ -379,8 +379,8 @@ void <a name="f490"></a>MagWidget::grabAround(TQPoint pos) { <a name="x1776"></a> TQRgb px = image.<a href="tqimage.html#pixel">pixel</a>(x,y); <a name="x1795"></a> pixelinfo.<a href="tqstring.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)); + <a href="tqcolor.html#qRed">tqRed</a>(px), tqGreen(px), tqBlue(px), + <a href="tqcolor.html#qRed">tqRed</a>(px), tqGreen(px), tqBlue(px)); } <a href="tqstring.html">TQString</a> label; label.<a href="tqstring.html#sprintf">sprintf</a>( "x=%d, y=%d %s", |