diff options
Diffstat (limited to 'doc/man/man3/tqwhatsthis.3qt')
-rw-r--r-- | doc/man/man3/tqwhatsthis.3qt | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/doc/man/man3/tqwhatsthis.3qt b/doc/man/man3/tqwhatsthis.3qt index fb6d74365..5696d4e6f 100644 --- a/doc/man/man3/tqwhatsthis.3qt +++ b/doc/man/man3/tqwhatsthis.3qt @@ -43,7 +43,7 @@ Inherits Qt. .BI "TQString \fBtextFor\fR ( TQWidget * w, const QPoint & pos = QPoint ( ), bool includeParents = FALSE )" .br .ti -1c -.BI "QToolButton * \fBwhatsThisButton\fR ( TQWidget * parent )" +.BI "TQToolButton * \fBwhatsThisButton\fR ( TQWidget * parent )" .br .ti -1c .BI "void \fBenterWhatsThisMode\fR ()" @@ -68,7 +68,7 @@ QWhatsThis provides a single window with an explanatory text that pops up when t .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 QWhatsThis::add() for the widget. For example, to assign text to a menu item, call QMenuData::setWhatsThis(); for a global accelerator key, call QAccel::setWhatsThis() and If you're using actions, use QAction::setWhatsThis(). +To add "What's this?" text to a widget you simply call QWhatsThis::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(). .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 @@ -97,7 +97,7 @@ An alternative way to enter "What's this?" mode is to use the ready-made tool ba .PP </center> .PP -If you are using QMainWindow you can also use the QMainWindow::whatsThis() slot to invoke the mode from a menu item. +If you are using TQMainWindow you can also use the TQMainWindow::whatsThis() slot to invoke the mode from a menu item. .PP For more control you can create a dedicated QWhatsThis object for a special widget. By subclassing and reimplementing QWhatsThis::text() it is possible to have different help texts, depending on the position of the mouse click. By reimplementing QWhatsThis::clicked() it is possible to have hyperlinks inside the help texts. .PP @@ -105,7 +105,7 @@ If you wish to control the "What's this?" behavior of a widget manually see TQWi .PP The What's This object can be removed using QWhatsThis::remove(), although this is rarely necessary because it is automatically removed when the widget is destroyed. .PP -See also QToolTip and Help System. +See also TQToolTip and Help System. .SH MEMBER FUNCTION DOCUMENTATION .SH "QWhatsThis::QWhatsThis ( TQWidget * widget )" Constructs a dynamic "What's this?" object for \fIwidget\fR. The object is deleted when the \fIwidget\fR is destroyed. @@ -149,7 +149,7 @@ See also enterWhatsThisMode() and leaveWhatsThisMode(). .SH "void QWhatsThis::leaveWhatsThisMode ( const TQString & text = TQString::null, const QPoint & pos = QCursor::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 QPopupMenu: menus still work normally in "What's this?" mode but also provide help texts for individual menu items. +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. .PP If \fItext\fR is not TQString::null, a "What's this?" help window is displayed at the global screen position \fIpos\fR. If widget \fIw\fR is not 0 and has its own dedicated QWhatsThis object, this object will receive clicked() messages when the user clicks on hyperlinks inside the help text. .PP @@ -170,8 +170,8 @@ Returns the what's this text for widget \fIw\fR or TQString::null if there is no If \fIincludeParents\fR is TRUE, parent widgets are taken into consideration as well when looking for what's this help text. .PP See also add(). -.SH "QToolButton * QWhatsThis::whatsThisButton ( TQWidget * parent )\fC [static]\fR" -Creates a QToolButton preconfigured to enter "What's this?" mode when clicked. You will often use this with a tool bar as \fIparent\fR: +.SH "TQToolButton * QWhatsThis::whatsThisButton ( TQWidget * parent )\fC [static]\fR" +Creates a TQToolButton preconfigured to enter "What's this?" mode when clicked. You will often use this with a tool bar as \fIparent\fR: .PP .nf .br |