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.html24
1 files changed, 12 insertions, 12 deletions
diff --git a/doc/html/life-example.html b/doc/html/life-example.html
index 1f2464e17..2c54b9f75 100644
--- a/doc/html/life-example.html
+++ b/doc/html/life-example.html
@@ -124,14 +124,14 @@ private:
SCALE = s;
maxi = maxj = 50;
- <a href="ntqwidget.html#setMinimumSize">setMinimumSize</a>( MINSIZE * SCALE + 2 * BORDER,
+ <a href="tqwidget.html#setMinimumSize">setMinimumSize</a>( MINSIZE * SCALE + 2 * BORDER,
MINSIZE * SCALE + 2 * BORDER );
- <a href="ntqwidget.html#setMaximumSize">setMaximumSize</a>( MAXSIZE * SCALE + 2 * BORDER,
+ <a href="tqwidget.html#setMaximumSize">setMaximumSize</a>( MAXSIZE * SCALE + 2 * BORDER,
MAXSIZE * SCALE + 2 * BORDER );
- <a href="ntqwidget.html#setSizeIncrement">setSizeIncrement</a>( SCALE, SCALE);
+ <a href="tqwidget.html#setSizeIncrement">setSizeIncrement</a>( SCALE, SCALE);
clear();
- <a href="ntqwidget.html#resize">resize</a>( maxi * SCALE + 2 * BORDER , maxj * SCALE + 2 * BORDER );
+ <a href="tqwidget.html#resize">resize</a>( maxi * SCALE + 2 * BORDER , maxj * SCALE + 2 * BORDER );
}
@@ -144,7 +144,7 @@ void <a name="f518"></a>LifeWidget::clear()
for ( int j = 0; j &lt; MAXSIZE + 2; j++ )
cells[t][i][j] = FALSE;
- <a href="ntqwidget.html#repaint">repaint</a>();
+ <a href="tqwidget.html#repaint">repaint</a>();
}
@@ -164,7 +164,7 @@ void <a name="f519"></a>LifeWidget::setPoint( int i, int j )
if ( i &lt; 1 || i &gt; maxi || j &lt; 1 || j &gt; maxi )
return;
cells[current][i][j] = TRUE;
- <a href="ntqwidget.html#repaint">repaint</a>( index2pos(i), index2pos(j), SCALE, SCALE, FALSE );
+ <a href="tqwidget.html#repaint">repaint</a>( index2pos(i), index2pos(j), SCALE, SCALE, FALSE );
}
@@ -176,13 +176,13 @@ void <a name="f520"></a>LifeWidget::mouseHandle( const <a href="ntqpoint.html">T
}
-<a name="x1896"></a>void LifeWidget::<a href="ntqwidget.html#mouseMoveEvent">mouseMoveEvent</a>( <a href="qmouseevent.html">TQMouseEvent</a> *e )
+<a name="x1896"></a>void LifeWidget::<a href="tqwidget.html#mouseMoveEvent">mouseMoveEvent</a>( <a href="qmouseevent.html">TQMouseEvent</a> *e )
{
<a name="x1891"></a> mouseHandle( e-&gt;<a href="qmouseevent.html#pos">pos</a>() );
}
-<a name="x1897"></a>void LifeWidget::<a href="ntqwidget.html#mousePressEvent">mousePressEvent</a>( <a href="qmouseevent.html">TQMouseEvent</a> *e )
+<a name="x1897"></a>void LifeWidget::<a href="tqwidget.html#mousePressEvent">mousePressEvent</a>( <a href="qmouseevent.html">TQMouseEvent</a> *e )
{
<a name="x1890"></a> if ( e-&gt;<a href="qmouseevent.html#button">button</a>() == TQMouseEvent::LeftButton )
mouseHandle( e-&gt;<a href="qmouseevent.html#pos">pos</a>() );
@@ -207,7 +207,7 @@ void <a name="f521"></a>LifeWidget::nextGeneration()
}
}
current = !current;
- <a href="ntqwidget.html#repaint">repaint</a>( FALSE ); // repaint without erase
+ <a href="tqwidget.html#repaint">repaint</a>( FALSE ); // repaint without erase
}
@@ -230,7 +230,7 @@ void <a name="f521"></a>LifeWidget::nextGeneration()
<a href="ntqpainter.html#qDrawShadePanel">qDrawShadePanel</a>( &amp;paint, index2pos( i ), index2pos( j ),
SCALE - 1, SCALE - 1, colorGroup() );
else if ( cells[!current][i][j] )
- <a href="ntqwidget.html#erase">erase</a>(index2pos( i ), index2pos( j ), SCALE - 1, SCALE - 1);
+ <a href="tqwidget.html#erase">erase</a>(index2pos( i ), index2pos( j ), SCALE - 1, SCALE - 1);
}
}
<a href="ntqframe.html#drawFrame">drawFrame</a>( &amp;paint );
@@ -279,8 +279,8 @@ int main( int argc, char **argv )
LifeDialog *life = new LifeDialog( scale );
a.<a href="ntqapplication.html#setMainWidget">setMainWidget</a>( life );
- life-&gt;<a href="ntqwidget.html#setCaption">setCaption</a>("TQt Example - Life");
- life-&gt;<a href="ntqwidget.html#show">show</a>();
+ life-&gt;<a href="tqwidget.html#setCaption">setCaption</a>("TQt Example - Life");
+ life-&gt;<a href="tqwidget.html#show">show</a>();
return a.<a href="ntqapplication.html#exec">exec</a>();
}