summaryrefslogtreecommitdiffstats
path: root/doc/man/man3/tqpopupmenu.3qt
diff options
context:
space:
mode:
Diffstat (limited to 'doc/man/man3/tqpopupmenu.3qt')
-rw-r--r--doc/man/man3/tqpopupmenu.3qt4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/man/man3/tqpopupmenu.3qt b/doc/man/man3/tqpopupmenu.3qt
index ef8b119ff..d17106a5e 100644
--- a/doc/man/man3/tqpopupmenu.3qt
+++ b/doc/man/man3/tqpopupmenu.3qt
@@ -231,7 +231,7 @@ A popup menu can display check marks for certain items when enabled with setChec
.PP
Items are either enabled or disabled. You toggle their state with setItemEnabled(). Just before a popup menu becomes visible, it emits the aboutToShow() signal. You can use this signal to set the correct enabled/disabled states of all menu items before the user sees it. The corresponding aboutToHide() signal is emitted when the menu hides again.
.PP
-You can provide What's This? help for single menu items with setWhatsThis(). See QWhatsThis for general information about this kind of lightweight online help.
+You can provide What's This? help for single menu items with setWhatsThis(). See TQWhatsThis for general information about this kind of lightweight online help.
.PP
For ultimate flexibility, you can also add entire widgets as items into a popup menu (for example, a color selector).
.PP
@@ -573,7 +573,7 @@ Ownership of \fIwidget\fR is transferred to the popup menu or to the menu bar.
.PP
Theoretically, any widget can be inserted into a popup menu. In practice, this only makes sense with certain widgets.
.PP
-If a widget is not focus-enabled (see TQWidget::isFocusEnabled()), the menu treats it as a separator; this means that the item is not selectable and will never get focus. In this way you can, for example, simply insert a QLabel if you need a popup menu with a title.
+If a widget is not focus-enabled (see TQWidget::isFocusEnabled()), the menu treats it as a separator; this means that the item is not selectable and will never get focus. In this way you can, for example, simply insert a TQLabel if you need a popup menu with a title.
.PP
If the widget is focus-enabled it will get focus when the user traverses the popup menu with the arrow keys. If the widget does not accept \fCArrowUp\fR and \fCArrowDown\fR in its key event handler, the focus will move back to the menu when the respective arrow key is hit one more time. This works with a QLineEdit, for example. If the widget accepts the arrow key itself, it must also provide the possibility to put the focus back on the menu again by calling TQWidget::focusNextPrevChild(). Futhermore, if the embedded widget closes the menu when the user made a selection, this can be done safely by calling:
.PP