summaryrefslogtreecommitdiffstats
path: root/doc/html/tooltip-example.html
diff options
context:
space:
mode:
Diffstat (limited to 'doc/html/tooltip-example.html')
-rw-r--r--doc/html/tooltip-example.html30
1 files changed, 15 insertions, 15 deletions
diff --git a/doc/html/tooltip-example.html b/doc/html/tooltip-example.html
index 18be95c1..41f83eea 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 &lt;<a href="qwidget-h.html">ntqwidget.h</a>&gt;
+#include &lt;<a href="tqwidget-h.html">tqwidget.h</a>&gt;
#include &lt;<a href="qtooltip-h.html">ntqtooltip.h</a>&gt;
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> &amp; );
};
-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> &amp; );
@@ -104,7 +104,7 @@ private:
#include &lt;stdlib.h&gt;
-<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-&gt;<a href="qmouseevent.html#pos">pos</a>() ) )
r1 = randomRect();
if ( r2.contains( e-&gt;<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>( &amp;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>();
}