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/tooltip-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/tooltip-example.html')
-rw-r--r-- | doc/html/tooltip-example.html | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/doc/html/tooltip-example.html b/doc/html/tooltip-example.html index b3a81e63f..edccc2c2d 100644 --- a/doc/html/tooltip-example.html +++ b/doc/html/tooltip-example.html @@ -74,7 +74,7 @@ public: <a href="ntqrect.html">TQRect</a> tip( const <a href="ntqpoint.html">TQPoint</a> & ); protected: - void paintEvent( <a href="qpaintevent.html">TQPaintEvent</a> * ); + void paintEvent( <a href="tqpaintevent.html">TQPaintEvent</a> * ); void mousePressEvent( <a href="qmouseevent.html">TQMouseEvent</a> * ); void resizeEvent( <a href="qresizeevent.html">TQResizeEvent</a> * ); @@ -100,7 +100,7 @@ private: #include "tooltip.h" #include <<a href="qapplication-h.html">ntqapplication.h</a>> -#include <<a href="qpainter-h.html">ntqpainter.h</a>> +#include <<a href="tqpainter-h.html">tqpainter.h</a>> #include <stdlib.h> @@ -147,25 +147,25 @@ TellMe::~TellMe() } -void TellMe::<a href="tqwidget.html#paintEvent">paintEvent</a>( <a href="qpaintevent.html">TQPaintEvent</a> * e ) +void TellMe::<a href="tqwidget.html#paintEvent">paintEvent</a>( <a href="tqpaintevent.html">TQPaintEvent</a> * e ) { - <a href="ntqpainter.html">TQPainter</a> p( this ); + <a href="tqpainter.html">TQPainter</a> p( this ); // I try to be efficient here, and repaint only what's needed -<a name="x446"></a> if ( e-><a href="qpaintevent.html#rect">rect</a>().intersects( r1 ) ) { -<a name="x445"></a> p.<a href="ntqpainter.html#setBrush">setBrush</a>( blue ); -<a name="x444"></a> p.<a href="ntqpainter.html#drawRect">drawRect</a>( r1 ); +<a name="x446"></a> if ( e-><a href="tqpaintevent.html#rect">rect</a>().intersects( r1 ) ) { +<a name="x445"></a> p.<a href="tqpainter.html#setBrush">setBrush</a>( blue ); +<a name="x444"></a> p.<a href="tqpainter.html#drawRect">drawRect</a>( r1 ); } - if ( e-><a href="qpaintevent.html#rect">rect</a>().intersects( r2 ) ) { - p.<a href="ntqpainter.html#setBrush">setBrush</a>( blue ); - p.<a href="ntqpainter.html#drawRect">drawRect</a>( r2 ); + if ( e-><a href="tqpaintevent.html#rect">rect</a>().intersects( r2 ) ) { + p.<a href="tqpainter.html#setBrush">setBrush</a>( blue ); + p.<a href="tqpainter.html#drawRect">drawRect</a>( r2 ); } - if ( e-><a href="qpaintevent.html#rect">rect</a>().intersects( r3 ) ) { - p.<a href="ntqpainter.html#setBrush">setBrush</a>( red ); - p.<a href="ntqpainter.html#drawRect">drawRect</a>( r3 ); + if ( e-><a href="tqpaintevent.html#rect">rect</a>().intersects( r3 ) ) { + p.<a href="tqpainter.html#setBrush">setBrush</a>( red ); + p.<a href="tqpainter.html#drawRect">drawRect</a>( r3 ); } } |