diff options
Diffstat (limited to 'doc/html/tooltip-example.html')
-rw-r--r-- | doc/html/tooltip-example.html | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/doc/html/tooltip-example.html b/doc/html/tooltip-example.html index edccc2c2d..d0a60c690 100644 --- a/doc/html/tooltip-example.html +++ b/doc/html/tooltip-example.html @@ -60,7 +60,7 @@ public: DynamicTip( <a href="tqwidget.html">TQWidget</a> * parent ); protected: - void maybeTip( const <a href="ntqpoint.html">TQPoint</a> & ); + void maybeTip( const <a href="tqpoint.html">TQPoint</a> & ); }; @@ -71,7 +71,7 @@ public: 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> & ); + <a href="tqrect.html">TQRect</a> tip( const <a href="tqpoint.html">TQPoint</a> & ); protected: void paintEvent( <a href="tqpaintevent.html">TQPaintEvent</a> * ); @@ -79,9 +79,9 @@ protected: void resizeEvent( <a href="qresizeevent.html">TQResizeEvent</a> * ); private: - <a href="ntqrect.html">TQRect</a> randomRect(); + <a href="tqrect.html">TQRect</a> randomRect(); - <a href="ntqrect.html">TQRect</a> r1, r2, r3; + <a href="tqrect.html">TQRect</a> r1, r2, r3; DynamicTip * t; }; </pre> @@ -111,17 +111,17 @@ private: } -<a name="x451"></a>void DynamicTip::<a href="tqtooltip.html#maybeTip">maybeTip</a>( const <a href="ntqpoint.html">TQPoint</a> &pos ) +<a name="x451"></a>void DynamicTip::<a href="tqtooltip.html#maybeTip">maybeTip</a>( const <a href="tqpoint.html">TQPoint</a> &pos ) { if ( !parentWidget()->inherits( "TellMe" ) ) return; - <a href="ntqrect.html">TQRect</a> r( ((TellMe*)<a href="tqtooltip.html#parentWidget">parentWidget</a>())->tip(pos) ); -<a name="x448"></a> if ( !r.<a href="ntqrect.html#isValid">isValid</a>() ) + <a href="tqrect.html">TQRect</a> r( ((TellMe*)<a href="tqtooltip.html#parentWidget">parentWidget</a>())->tip(pos) ); +<a name="x448"></a> if ( !r.<a href="tqrect.html#isValid">isValid</a>() ) return; <a href="tqstring.html">TQString</a> s; -<a name="x449"></a><a name="x447"></a> s.<a href="tqstring.html#sprintf">sprintf</a>( "position: %d,%d", r.<a href="ntqrect.html#center">center</a>().x(), r.<a href="ntqrect.html#center">center</a>().y() ); +<a name="x449"></a><a name="x447"></a> s.<a href="tqstring.html#sprintf">sprintf</a>( "position: %d,%d", r.<a href="tqrect.html#center">center</a>().x(), r.<a href="tqrect.html#center">center</a>().y() ); tip( r, s ); } @@ -196,7 +196,7 @@ TQRect <a name="f253"></a>TellMe::randomRect() } -TQRect <a name="f254"></a>TellMe::tip( const <a href="ntqpoint.html">TQPoint</a> & p ) +TQRect <a name="f254"></a>TellMe::tip( const <a href="tqpoint.html">TQPoint</a> & p ) { if ( r1.contains( p ) ) return r1; |