summaryrefslogtreecommitdiffstats
path: root/doc/html/life-example.html
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-07-15 19:08:22 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-07-18 09:31:41 +0900
commita30f5359f03c3017fa19a6770fab32d25d22cb87 (patch)
treecb365dd7a1c3666e3f972c6cad04be7b8e846cba /doc/html/life-example.html
parent25ad1267da6916e738a126ff5a9b41cd686adfc6 (diff)
downloadtqt3-a30f5359f03c3017fa19a6770fab32d25d22cb87.tar.gz
tqt3-a30f5359f03c3017fa19a6770fab32d25d22cb87.zip
Rename graphics class nt* related files to equivalent tq* (part 1)
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
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);