diff options
Diffstat (limited to 'doc/html/qmag-example.html')
-rw-r--r-- | doc/html/qmag-example.html | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/doc/html/qmag-example.html b/doc/html/qmag-example.html index 5debea21f..3e8f4f0ba 100644 --- a/doc/html/qmag-example.html +++ b/doc/html/qmag-example.html @@ -56,7 +56,7 @@ magnified area as a .bmp file. #include <<a href="qpushbutton-h.html">ntqpushbutton.h</a>> #include <<a href="tqpixmap-h.html">tqpixmap.h</a>> #include <<a href="tqimage-h.html">tqimage.h</a>> -#include <<a href="qlabel-h.html">ntqlabel.h</a>> +#include <<a href="tqlabel-h.html">tqlabel.h</a>> #include <<a href="tqfiledialog-h.html">tqfiledialog.h</a>> #include <<a href="tqregexp-h.html">tqregexp.h</a>> @@ -98,7 +98,7 @@ private: <a href="tqpixmap.html">TQPixmap</a> pm; // pixmap, magnified <a href="tqpixmap.html">TQPixmap</a> p; // pixmap <a href="tqimage.html">TQImage</a> image; // image of pixmap (for RGB) - <a href="ntqlabel.html">TQLabel</a> *rgb; + <a href="tqlabel.html">TQLabel</a> *rgb; int yoffset; // pixels in addition to the actual picture int z; // magnification factor int r; // autorefresh rate (index into refreshrates) @@ -185,10 +185,10 @@ static const int timer[] = { setRefresh(1); setZoom(5); - rgb = new <a href="ntqlabel.html">TQLabel</a>( this ); + rgb = new <a href="tqlabel.html">TQLabel</a>( this ); <a href="ntqapplication.html#TQ_CHECK_PTR">TQ_CHECK_PTR</a>( rgb ); -<a name="x1779"></a> rgb-><a href="ntqlabel.html#setText">setText</a>( "" ); - rgb-><a href="ntqlabel.html#setAlignment">setAlignment</a>( AlignVCenter ); +<a name="x1779"></a> rgb-><a href="tqlabel.html#setText">setText</a>( "" ); + rgb-><a href="tqlabel.html#setAlignment">setAlignment</a>( AlignVCenter ); rgb-><a href="tqwidget.html#resize">resize</a>( <a href="tqwidget.html#width">width</a>(), rgb-><a href="tqwidget.html#fontMetrics">fontMetrics</a>().height() + 4 ); #ifdef COMPLEX_GUI @@ -369,7 +369,7 @@ void <a name="f490"></a>MagWidget::grabAround(TQPoint pos) if ( grabbing || pm.<a href="tqpixmap.html#isNull">isNull</a>() || e-><a href="qmouseevent.html#pos">pos</a>().y() > height() - (zoom ? zoom-><a href="tqwidget.html#fontMetrics">fontMetrics</a>().height() - 4 : 0) || e-><a href="qmouseevent.html#pos">pos</a>().y() < (zoom ? zoom-><a href="tqwidget.html#height">height</a>()+4 : 4) ) { - rgb-><a href="ntqlabel.html#setText">setText</a>( "" ); + rgb-><a href="tqlabel.html#setText">setText</a>( "" ); } else { int x,y; x = e-><a href="qmouseevent.html#pos">pos</a>().x() / z; @@ -385,14 +385,14 @@ void <a name="f490"></a>MagWidget::grabAround(TQPoint pos) <a href="tqstring.html">TQString</a> label; label.<a href="tqstring.html#sprintf">sprintf</a>( "x=%d, y=%d %s", x+grabx, y+graby, (const char*)pixelinfo ); - rgb-><a href="ntqlabel.html#setText">setText</a>( label ); + rgb-><a href="tqlabel.html#setText">setText</a>( label ); } } <a name="x1796"></a>void MagWidget::<a href="tqwidget.html#focusOutEvent">focusOutEvent</a>( <a href="qfocusevent.html">TQFocusEvent</a> * ) { - rgb-><a href="ntqlabel.html#setText">setText</a>( "" ); + rgb-><a href="tqlabel.html#setText">setText</a>( "" ); } |