summaryrefslogtreecommitdiffstats
path: root/doc/man/man3/tqwhatsthis.3qt
diff options
context:
space:
mode:
Diffstat (limited to 'doc/man/man3/tqwhatsthis.3qt')
-rw-r--r--doc/man/man3/tqwhatsthis.3qt10
1 files changed, 5 insertions, 5 deletions
diff --git a/doc/man/man3/tqwhatsthis.3qt b/doc/man/man3/tqwhatsthis.3qt
index 40de1c1ab..0af9e30ca 100644
--- a/doc/man/man3/tqwhatsthis.3qt
+++ b/doc/man/man3/tqwhatsthis.3qt
@@ -52,10 +52,10 @@ Inherits Qt.
.BI "bool \fBinWhatsThisMode\fR ()"
.br
.ti -1c
-.BI "void \fBleaveWhatsThisMode\fR ( const TQString & text = TQString::null, const TQPoint & pos = QCursor::pos ( ), TQWidget * w = 0 )"
+.BI "void \fBleaveWhatsThisMode\fR ( const TQString & text = TQString::null, const TQPoint & pos = TQCursor::pos ( ), TQWidget * w = 0 )"
.br
.ti -1c
-.BI "void \fBdisplay\fR ( const TQString & text, const TQPoint & pos = QCursor::pos ( ), TQWidget * w = 0 )"
+.BI "void \fBdisplay\fR ( const TQString & text, const TQPoint & pos = TQCursor::pos ( ), TQWidget * w = 0 )"
.br
.in -1c
.SH DESCRIPTION
@@ -68,7 +68,7 @@ TQWhatsThis provides a single window with an explanatory text that pops up when
.PP
(Note that if there is an accelerator for Shift+F1, this mechanism will not work.)
.PP
-To add "What's this?" text to a widget you simply call TQWhatsThis::add() for the widget. For example, to assign text to a menu item, call TQMenuData::setWhatsThis(); for a global accelerator key, call QAccel::setWhatsThis() and If you're using actions, use TQAction::setWhatsThis().
+To add "What's this?" text to a widget you simply call TQWhatsThis::add() for the widget. For example, to assign text to a menu item, call TQMenuData::setWhatsThis(); for a global accelerator key, call TQAccel::setWhatsThis() and If you're using actions, use TQAction::setWhatsThis().
.PP
The text can be either rich text or plain text. If you specify a rich text formatted string, it will be rendered using the default stylesheet. This makes it possible to embed images. See TQStyleSheet::defaultSheet() for details.
.PP
@@ -128,7 +128,7 @@ This virtual function is called when the user clicks inside the" What's this?" w
If the function returns TRUE (the default), the "What's this?" window is closed, otherwise it remains visible.
.PP
The default implementation ignores \fIhref\fR and returns TRUE.
-.SH "void TQWhatsThis::display ( const TQString & text, const TQPoint & pos = QCursor::pos ( ), TQWidget * w = 0 )\fC [static]\fR"
+.SH "void TQWhatsThis::display ( const TQString & text, const TQPoint & pos = TQCursor::pos ( ), TQWidget * w = 0 )\fC [static]\fR"
Display \fItext\fR in a help window at the global screen position \fIpos\fR.
.PP
If widget \fIw\fR is not 0 and has its own dedicated TQWhatsThis object, this object will receive clicked() messages when the user clicks on hyperlinks inside the help text.
@@ -146,7 +146,7 @@ See also inWhatsThisMode() and leaveWhatsThisMode().
Returns TRUE if the application is in "What's this?" mode; otherwise returns FALSE.
.PP
See also enterWhatsThisMode() and leaveWhatsThisMode().
-.SH "void TQWhatsThis::leaveWhatsThisMode ( const TQString & text = TQString::null, const TQPoint & pos = QCursor::pos ( ), TQWidget * w = 0 )\fC [static]\fR"
+.SH "void TQWhatsThis::leaveWhatsThisMode ( const TQString & text = TQString::null, const TQPoint & pos = TQCursor::pos ( ), TQWidget * w = 0 )\fC [static]\fR"
Leaves "What's this?" question mode.
.PP
This function is used internally by widgets that support TQWidget::customWhatsThis(); applications do not usually call it. An example of such a widget is TQPopupMenu: menus still work normally in "What's this?" mode but also provide help texts for individual menu items.