diff options
Diffstat (limited to 'doc/html/ntqmenudata.html')
-rw-r--r-- | doc/html/ntqmenudata.html | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/html/ntqmenudata.html b/doc/html/ntqmenudata.html index a46795017..a0bf6d49d 100644 --- a/doc/html/ntqmenudata.html +++ b/doc/html/ntqmenudata.html @@ -453,7 +453,7 @@ the menu is deleted. <p> Returns the allocated <a href="ntqmenudata.html#menu-identifier">menu identifier</a> number (<em>id</em> if <em>id</em> >= 0). <p> <p>See also <a href="#removeItem">removeItem</a>(), <a href="#changeItem">changeItem</a>(), <a href="#setAccel">setAccel</a>(), and <a href="#connectItem">connectItem</a>(). -<h3 class=fn>int <a name="insertItem-d"></a>TQMenuData::insertItem ( <a href="ntqwidget.html">TQWidget</a> * widget, int id = -1, int index = -1 ) +<h3 class=fn>int <a name="insertItem-d"></a>TQMenuData::insertItem ( <a href="tqwidget.html">TQWidget</a> * widget, int id = -1, int index = -1 ) </h3> This is an overloaded member function, provided for convenience. It behaves essentially like the above function. <p> Inserts a menu item that consists of the widget <em>widget</em> with @@ -463,7 +463,7 @@ menu bar. <p> Theoretically, any widget can be inserted into a popup menu. In practice, this only makes sense with certain widgets. <p> If a widget is not focus-enabled (see -<a href="ntqwidget.html#isFocusEnabled">TQWidget::isFocusEnabled</a>()), the menu treats it as a separator; +<a href="tqwidget.html#isFocusEnabled">TQWidget::isFocusEnabled</a>()), 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 <a href="ntqlabel.html">TQLabel</a> if you need a popup menu with a title. @@ -474,7 +474,7 @@ the focus will move back to the menu when the respective arrow key is hit one more time. This works with a <a href="ntqlineedit.html">TQLineEdit</a>, 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 -<a href="ntqwidget.html#focusNextPrevChild">TQWidget::focusNextPrevChild</a>(). Futhermore, if the embedded widget +<a href="tqwidget.html#focusNextPrevChild">TQWidget::focusNextPrevChild</a>(). Futhermore, if the embedded widget closes the menu when the user made a selection, this can be done safely by calling: <pre> |