summaryrefslogtreecommitdiffstats
path: root/doc/man/man3/qtooltip.3qt
diff options
context:
space:
mode:
Diffstat (limited to 'doc/man/man3/qtooltip.3qt')
-rw-r--r--doc/man/man3/qtooltip.3qt2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/man/man3/qtooltip.3qt b/doc/man/man3/qtooltip.3qt
index 30be67b73..bdab2c3f8 100644
--- a/doc/man/man3/qtooltip.3qt
+++ b/doc/man/man3/qtooltip.3qt
@@ -153,7 +153,7 @@ You can also display another text (typically in a status bar), courtesy of QTool
.PP
To add a tip to a fixed rectangle within a widget, call the static function QToolTip::add() with the widget, rectangle and tip as arguments. (See the tooltip/tooltip.cpp example.) Again, you can supply a \fCQToolTipGroup *\fR and another text if you want.
.PP
-Both of these are one-liners and cover the majority of cases. The third and most general way to use QToolTip retquires you to reimplement a pure virtual function to decide whether to pop up a tool tip. The tooltip/tooltip.cpp example demonstrates this too. This mode can be used to implement tips for text that can move as the user scrolls, for example.
+Both of these are one-liners and cover the majority of cases. The third and most general way to use QToolTip requires you to reimplement a pure virtual function to decide whether to pop up a tool tip. The tooltip/tooltip.cpp example demonstrates this too. This mode can be used to implement tips for text that can move as the user scrolls, for example.
.PP
To use QToolTip like this, you must subclass QToolTip and reimplement maybeTip(). QToolTip calls maybeTip() when a tip should pop up, and maybeTip() decides whether to show a tip.
.PP