summaryrefslogtreecommitdiffstats
path: root/doc/html/life-example.html
diff options
context:
space:
mode:
Diffstat (limited to 'doc/html/life-example.html')
-rw-r--r--doc/html/life-example.html18
1 files changed, 9 insertions, 9 deletions
diff --git a/doc/html/life-example.html b/doc/html/life-example.html
index df8db27d9..d716e9b67 100644
--- a/doc/html/life-example.html
+++ b/doc/html/life-example.html
@@ -67,7 +67,7 @@ public slots:
void clear();
protected:
- virtual void paintEvent( <a href="qpaintevent.html">TQPaintEvent</a> * );
+ virtual void paintEvent( <a href="tqpaintevent.html">TQPaintEvent</a> * );
virtual void mouseMoveEvent( <a href="qmouseevent.html">TQMouseEvent</a> * );
virtual void mousePressEvent( <a href="qmouseevent.html">TQMouseEvent</a> * );
virtual void resizeEvent( <a href="qresizeevent.html">TQResizeEvent</a> * );
@@ -110,7 +110,7 @@ private:
#include "life.h"
-#include &lt;<a href="qpainter-h.html">ntqpainter.h</a>&gt;
+#include &lt;<a href="tqpainter-h.html">tqpainter.h</a>&gt;
#include &lt;<a href="qdrawutil-h.html">ntqdrawutil.h</a>&gt;
#include &lt;<a href="qcheckbox-h.html">ntqcheckbox.h</a>&gt;
#include &lt;<a href="qevent-h.html">ntqevent.h</a>&gt;
@@ -211,23 +211,23 @@ void <a name="f521"></a>LifeWidget::nextGeneration()
}
-<a name="x1888"></a>void LifeWidget::<a href="ntqframe.html#paintEvent">paintEvent</a>( <a href="qpaintevent.html">TQPaintEvent</a> * e )
+<a name="x1888"></a>void LifeWidget::<a href="ntqframe.html#paintEvent">paintEvent</a>( <a href="tqpaintevent.html">TQPaintEvent</a> * e )
{
-<a name="x1892"></a> int starti = pos2index( e-&gt;<a href="qpaintevent.html#rect">rect</a>().left() );
- int stopi = pos2index( e-&gt;<a href="qpaintevent.html#rect">rect</a>().right() );
- int startj = pos2index( e-&gt;<a href="qpaintevent.html#rect">rect</a>().top() );
- int stopj = pos2index( e-&gt;<a href="qpaintevent.html#rect">rect</a>().bottom() );
+<a name="x1892"></a> int starti = pos2index( e-&gt;<a href="tqpaintevent.html#rect">rect</a>().left() );
+ int stopi = pos2index( e-&gt;<a href="tqpaintevent.html#rect">rect</a>().right() );
+ int startj = pos2index( e-&gt;<a href="tqpaintevent.html#rect">rect</a>().top() );
+ int stopj = pos2index( e-&gt;<a href="tqpaintevent.html#rect">rect</a>().bottom() );
if (stopi &gt; maxi)
stopi = maxi;
if (stopj &gt; maxj)
stopj = maxj;
- <a href="ntqpainter.html">TQPainter</a> paint( this );
+ <a href="tqpainter.html">TQPainter</a> paint( this );
for ( int i = starti; i &lt;= stopi; i++ ) {
for ( int j = startj; j &lt;= stopj; j++ ) {
if ( cells[current][i][j] )
- <a href="ntqpainter.html#qDrawShadePanel">qDrawShadePanel</a>( &amp;paint, index2pos( i ), index2pos( j ),
+ <a href="tqpainter.html#qDrawShadePanel">qDrawShadePanel</a>( &amp;paint, index2pos( i ), index2pos( j ),
SCALE - 1, SCALE - 1, colorGroup() );
else if ( cells[!current][i][j] )
<a href="tqwidget.html#erase">erase</a>(index2pos( i ), index2pos( j ), SCALE - 1, SCALE - 1);