diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-06-02 23:07:22 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-06-02 23:22:42 +0900 |
commit | 8ac0e970e4464d9f8f73c0fb34a178ff135be8c3 (patch) | |
tree | b95884617b9a37accc843676d5d42be4116a3f54 /doc/html/tooltip-example.html | |
parent | 68b81013e8668f50fc18b7e26a520ec93a7a1251 (diff) | |
download | tqt3-8ac0e970e4464d9f8f73c0fb34a178ff135be8c3.tar.gz tqt3-8ac0e970e4464d9f8f73c0fb34a178ff135be8c3.zip |
Rename ntqwidget* related files to equivalent tqwidget*
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 | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/doc/html/tooltip-example.html b/doc/html/tooltip-example.html index 18be95c16..41f83eea6 100644 --- a/doc/html/tooltip-example.html +++ b/doc/html/tooltip-example.html @@ -50,25 +50,25 @@ tool tips on the blue rectangles and a static tool tip on the red one. ** *****************************************************************************/ -#include <<a href="qwidget-h.html">ntqwidget.h</a>> +#include <<a href="tqwidget-h.html">tqwidget.h</a>> #include <<a href="qtooltip-h.html">ntqtooltip.h</a>> class DynamicTip : public <a href="ntqtooltip.html">TQToolTip</a> { public: - DynamicTip( <a href="ntqwidget.html">TQWidget</a> * parent ); + DynamicTip( <a href="tqwidget.html">TQWidget</a> * parent ); protected: void maybeTip( const <a href="ntqpoint.html">TQPoint</a> & ); }; -class TellMe : public <a href="ntqwidget.html">TQWidget</a> +class TellMe : public <a href="tqwidget.html">TQWidget</a> { <a href="metaobjects.html#TQ_OBJECT">TQ_OBJECT</a> public: - TellMe( <a href="ntqwidget.html">TQWidget</a> * parent = 0, const char * name = 0 ); + TellMe( <a href="tqwidget.html">TQWidget</a> * parent = 0, const char * name = 0 ); ~TellMe(); <a href="ntqrect.html">TQRect</a> tip( const <a href="ntqpoint.html">TQPoint</a> & ); @@ -104,7 +104,7 @@ private: #include <stdlib.h> -<a name="f251"></a>DynamicTip::DynamicTip( <a href="ntqwidget.html">TQWidget</a> * parent ) +<a name="f251"></a>DynamicTip::DynamicTip( <a href="tqwidget.html">TQWidget</a> * parent ) : <a href="ntqtooltip.html">TQToolTip</a>( parent ) { // no explicit initialization needed @@ -126,10 +126,10 @@ private: } -<a name="f252"></a>TellMe::TellMe( <a href="ntqwidget.html">TQWidget</a> * parent , const char * name ) - : <a href="ntqwidget.html">TQWidget</a>( parent, name ) +<a name="f252"></a>TellMe::TellMe( <a href="tqwidget.html">TQWidget</a> * parent , const char * name ) + : <a href="tqwidget.html">TQWidget</a>( parent, name ) { - <a href="ntqwidget.html#setMinimumSize">setMinimumSize</a>( 30, 30 ); + <a href="tqwidget.html#setMinimumSize">setMinimumSize</a>( 30, 30 ); r1 = randomRect(); r2 = randomRect(); r3 = randomRect(); @@ -147,7 +147,7 @@ TellMe::~TellMe() } -void TellMe::<a href="ntqwidget.html#paintEvent">paintEvent</a>( <a href="qpaintevent.html">TQPaintEvent</a> * e ) +void TellMe::<a href="tqwidget.html#paintEvent">paintEvent</a>( <a href="qpaintevent.html">TQPaintEvent</a> * e ) { <a href="ntqpainter.html">TQPainter</a> p( this ); @@ -170,17 +170,17 @@ void TellMe::<a href="ntqwidget.html#paintEvent">paintEvent</a>( <a href="qpaint } -<a name="x452"></a>void TellMe::<a href="ntqwidget.html#mousePressEvent">mousePressEvent</a>( <a href="qmouseevent.html">TQMouseEvent</a> * e ) +<a name="x452"></a>void TellMe::<a href="tqwidget.html#mousePressEvent">mousePressEvent</a>( <a href="qmouseevent.html">TQMouseEvent</a> * e ) { <a name="x443"></a> if ( r1.contains( e-><a href="qmouseevent.html#pos">pos</a>() ) ) r1 = randomRect(); if ( r2.contains( e-><a href="qmouseevent.html#pos">pos</a>() ) ) r2 = randomRect(); - <a href="ntqwidget.html#repaint">repaint</a>(); + <a href="tqwidget.html#repaint">repaint</a>(); } -<a name="x454"></a>void TellMe::<a href="ntqwidget.html#resizeEvent">resizeEvent</a>( <a href="qresizeevent.html">TQResizeEvent</a> * ) +<a name="x454"></a>void TellMe::<a href="tqwidget.html#resizeEvent">resizeEvent</a>( <a href="qresizeevent.html">TQResizeEvent</a> * ) { if ( !rect().contains( r1 ) ) r1 = randomRect(); @@ -191,7 +191,7 @@ void TellMe::<a href="ntqwidget.html#paintEvent">paintEvent</a>( <a href="qpaint TQRect <a name="f253"></a>TellMe::randomRect() { - return TQRect( ::rand() % (<a href="ntqwidget.html#width">width</a>() - 20), ::rand() % (<a href="ntqwidget.html#height">height</a>() - 20), + return TQRect( ::rand() % (<a href="tqwidget.html#width">width</a>() - 20), ::rand() % (<a href="tqwidget.html#height">height</a>() - 20), 20, 20 ); } @@ -227,9 +227,9 @@ int main( int argc, char ** argv ) <a href="ntqapplication.html">TQApplication</a> a( argc, argv ); TellMe mw; - mw.<a href="ntqwidget.html#setCaption">setCaption</a>( "TQt Example - Dynamic Tool Tips" ); + mw.<a href="tqwidget.html#setCaption">setCaption</a>( "TQt Example - Dynamic Tool Tips" ); a.<a href="ntqapplication.html#setMainWidget">setMainWidget</a>( &mw ); - mw.<a href="ntqwidget.html#show">show</a>(); + mw.<a href="tqwidget.html#show">show</a>(); return a.<a href="ntqapplication.html#exec">exec</a>(); } |