diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-07-15 19:08:22 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-07-18 09:31:41 +0900 |
commit | a30f5359f03c3017fa19a6770fab32d25d22cb87 (patch) | |
tree | cb365dd7a1c3666e3f972c6cad04be7b8e846cba /doc/html/life-example.html | |
parent | 25ad1267da6916e738a126ff5a9b41cd686adfc6 (diff) | |
download | tqt3-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.html | 18 |
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 <<a href="qpainter-h.html">ntqpainter.h</a>> +#include <<a href="tqpainter-h.html">tqpainter.h</a>> #include <<a href="qdrawutil-h.html">ntqdrawutil.h</a>> #include <<a href="qcheckbox-h.html">ntqcheckbox.h</a>> #include <<a href="qevent-h.html">ntqevent.h</a>> @@ -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-><a href="qpaintevent.html#rect">rect</a>().left() ); - int stopi = pos2index( e-><a href="qpaintevent.html#rect">rect</a>().right() ); - int startj = pos2index( e-><a href="qpaintevent.html#rect">rect</a>().top() ); - int stopj = pos2index( e-><a href="qpaintevent.html#rect">rect</a>().bottom() ); +<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() ); + int startj = pos2index( e-><a href="tqpaintevent.html#rect">rect</a>().top() ); + int stopj = pos2index( e-><a href="tqpaintevent.html#rect">rect</a>().bottom() ); if (stopi > maxi) stopi = maxi; if (stopj > maxj) stopj = maxj; - <a href="ntqpainter.html">TQPainter</a> paint( this ); + <a href="tqpainter.html">TQPainter</a> paint( this ); for ( int i = starti; i <= stopi; i++ ) { for ( int j = startj; j <= stopj; j++ ) { if ( cells[current][i][j] ) - <a href="ntqpainter.html#qDrawShadePanel">qDrawShadePanel</a>( &paint, index2pos( i ), index2pos( j ), + <a href="tqpainter.html#qDrawShadePanel">qDrawShadePanel</a>( &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); |