diff options
Diffstat (limited to 'doc/html/life-example.html')
-rw-r--r-- | doc/html/life-example.html | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/doc/html/life-example.html b/doc/html/life-example.html index f94b6ba98..202c82bfd 100644 --- a/doc/html/life-example.html +++ b/doc/html/life-example.html @@ -48,10 +48,10 @@ body { background: #ffffff; color: black; } #ifndef LIFE_H #define LIFE_H -#include <<a href="qframe-h.html">ntqframe.h</a>> +#include <<a href="tqframe-h.html">tqframe.h</a>> -class LifeWidget : public <a href="ntqframe.html">TQFrame</a> +class LifeWidget : public <a href="tqframe.html">TQFrame</a> { <a href="metaobjects.html#TQ_OBJECT">TQ_OBJECT</a> public: @@ -119,7 +119,7 @@ private: // The main game of life widget <a name="f517"></a>LifeWidget::LifeWidget( int s, TQWidget *parent, const char *name ) - : <a href="ntqframe.html">TQFrame</a>( parent, name ) + : <a href="tqframe.html">TQFrame</a>( parent, name ) { SCALE = s; @@ -152,7 +152,7 @@ void <a name="f518"></a>LifeWidget::clear() // this is not in general TRUE, but in practice it's good enough for // this program -<a name="x1889"></a>void LifeWidget::<a href="ntqframe.html#resizeEvent">resizeEvent</a>( <a href="qresizeevent.html">TQResizeEvent</a> * e ) +<a name="x1889"></a>void LifeWidget::<a href="tqframe.html#resizeEvent">resizeEvent</a>( <a href="qresizeevent.html">TQResizeEvent</a> * e ) { <a name="x1895"></a> maxi = (e-><a href="qresizeevent.html#size">size</a>().width() - 2 * BORDER) / SCALE; maxj = (e-><a href="qresizeevent.html#size">size</a>().height() - 2 * BORDER) / SCALE; @@ -211,7 +211,7 @@ void <a name="f521"></a>LifeWidget::nextGeneration() } -<a name="x1888"></a>void LifeWidget::<a href="ntqframe.html#paintEvent">paintEvent</a>( <a href="tqpaintevent.html">TQPaintEvent</a> * e ) +<a name="x1888"></a>void LifeWidget::<a href="tqframe.html#paintEvent">paintEvent</a>( <a href="tqpaintevent.html">TQPaintEvent</a> * e ) { <a name="x1892"></a> int starti = pos2index( e-><a href="tqpaintevent.html#rect">rect</a>().left() ); int stopi = pos2index( e-><a href="tqpaintevent.html#rect">rect</a>().right() ); @@ -233,7 +233,7 @@ void <a name="f521"></a>LifeWidget::nextGeneration() <a href="tqwidget.html#erase">erase</a>(index2pos( i ), index2pos( j ), SCALE - 1, SCALE - 1); } } - <a href="ntqframe.html#drawFrame">drawFrame</a>( &paint ); + <a href="tqframe.html#drawFrame">drawFrame</a>( &paint ); } </pre> |