diff options
Diffstat (limited to 'doc/html/qtooltip.html')
-rw-r--r-- | doc/html/qtooltip.html | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/html/qtooltip.html b/doc/html/qtooltip.html index 7f501c2ab..4ddd9b9e8 100644 --- a/doc/html/qtooltip.html +++ b/doc/html/qtooltip.html @@ -102,21 +102,21 @@ lets the mouse hover for five seconds or moves the mouse outside <p> To add a tip to a widget, call the <em>static</em> function <a href="#add">TQToolTip::add</a>() with the widget and tip as arguments: <p> <pre> - TQToolTip::<a href="#add">add</a>( tquitButton, "Leave the application" ); + TQToolTip::<a href="#add">add</a>( quitButton, "Leave the application" ); </pre> <p> This is the simplest and most common use of TQToolTip. The tip -will be deleted automatically when <em>tquitButton</em> is deleted, but +will be deleted automatically when <em>quitButton</em> is deleted, but you can remove it yourself, too: <p> <pre> - TQToolTip::<a href="#remove">remove</a>( tquitButton ); + TQToolTip::<a href="#remove">remove</a>( quitButton ); </pre> <p> You can also display another text (typically in a <a href="qstatusbar.html">status bar),</a> courtesy of <a href="qtooltipgroup.html">TQToolTipGroup</a>. This example assumes that <em>grp</em> is a <tt>TQToolTipGroup *</tt> and is already connected to the appropriate status bar: <p> <pre> - TQToolTip::<a href="#add">add</a>( tquitButton, "Leave the application", grp, + TQToolTip::<a href="#add">add</a>( quitButton, "Leave the application", grp, "Leave the application, prompting to save if necessary" ); TQToolTip::<a href="#add">add</a>( closeButton, "Close this window", grp, "Close this window, prompting to save if necessary" ); |