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.html16
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 &lt;<a href="qpushbutton-h.html">ntqpushbutton.h</a>&gt;
#include &lt;<a href="tqpixmap-h.html">tqpixmap.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="tqlabel-h.html">tqlabel.h</a>&gt;
#include &lt;<a href="tqfiledialog-h.html">tqfiledialog.h</a>&gt;
#include &lt;<a href="tqregexp-h.html">tqregexp.h</a>&gt;
@@ -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-&gt;<a href="ntqlabel.html#setText">setText</a>( "" );
- rgb-&gt;<a href="ntqlabel.html#setAlignment">setAlignment</a>( AlignVCenter );
+<a name="x1779"></a> rgb-&gt;<a href="tqlabel.html#setText">setText</a>( "" );
+ rgb-&gt;<a href="tqlabel.html#setAlignment">setAlignment</a>( AlignVCenter );
rgb-&gt;<a href="tqwidget.html#resize">resize</a>( <a href="tqwidget.html#width">width</a>(), rgb-&gt;<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-&gt;<a href="qmouseevent.html#pos">pos</a>().y() &gt; height() - (zoom ? zoom-&gt;<a href="tqwidget.html#fontMetrics">fontMetrics</a>().height() - 4 : 0) ||
e-&gt;<a href="qmouseevent.html#pos">pos</a>().y() &lt; (zoom ? zoom-&gt;<a href="tqwidget.html#height">height</a>()+4 : 4) ) {
- rgb-&gt;<a href="ntqlabel.html#setText">setText</a>( "" );
+ rgb-&gt;<a href="tqlabel.html#setText">setText</a>( "" );
} else {
int x,y;
x = e-&gt;<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-&gt;<a href="ntqlabel.html#setText">setText</a>( label );
+ rgb-&gt;<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-&gt;<a href="ntqlabel.html#setText">setText</a>( "" );
+ rgb-&gt;<a href="tqlabel.html#setText">setText</a>( "" );
}