summaryrefslogtreecommitdiffstats
path: root/doc/html/ntqpopupmenu.html
diff options
context:
space:
mode:
Diffstat (limited to 'doc/html/ntqpopupmenu.html')
-rw-r--r--doc/html/ntqpopupmenu.html36
1 files changed, 18 insertions, 18 deletions
diff --git a/doc/html/ntqpopupmenu.html b/doc/html/ntqpopupmenu.html
index e5c833660..796749d64 100644
--- a/doc/html/ntqpopupmenu.html
+++ b/doc/html/ntqpopupmenu.html
@@ -180,7 +180,7 @@ original menu contains a custom widget item, this item is omitted.
Pop-Up</a>, <a href="application.html">Main Window and Related Classes</a>, and <a href="basic.html">Basic Widgets</a>.
<hr><h2>Member Function Documentation</h2>
-<h3 class=fn><a name="TQPopupMenu"></a>TQPopupMenu::TQPopupMenu ( <a href="ntqwidget.html">TQWidget</a>&nbsp;*&nbsp;parent = 0, const&nbsp;char&nbsp;*&nbsp;name = 0 )
+<h3 class=fn><a name="TQPopupMenu"></a>TQPopupMenu::TQPopupMenu ( <a href="tqwidget.html">TQWidget</a>&nbsp;*&nbsp;parent = 0, const&nbsp;char&nbsp;*&nbsp;name = 0 )
</h3>
Constructs a popup menu called <em>name</em> with parent <em>parent</em>.
<p> Although a popup menu is always a top-level widget, if a parent is
@@ -266,7 +266,7 @@ If a popup menu does not fit on the screen it lays itself out so
that it does fit. It is style dependent what layout means (for
example, on Windows it will use multiple columns).
<p> This functions returns the number of columns necessary.
-<p> <p>See also <a href="ntqwidget.html#sizeHint-prop">sizeHint</a>.
+<p> <p>See also <a href="tqwidget.html#sizeHint-prop">sizeHint</a>.
<h3 class=fn>bool <a name="connectItem"></a>TQMenuData::connectItem ( int&nbsp;id, const&nbsp;<a href="tqobject.html">TQObject</a>&nbsp;*&nbsp;receiver, const&nbsp;char&nbsp;*&nbsp;member )
</h3>
@@ -321,7 +321,7 @@ This is an overloaded member function, provided for convenience. It behaves esse
<p> Opens the popup menu so that the item number <em>indexAtPoint</em> will
be at the specified <em>global</em> position <em>pos</em>. To translate a
widget's local coordinates into global coordinates, use
-<a href="ntqwidget.html#mapToGlobal">TQWidget::mapToGlobal</a>().
+<a href="tqwidget.html#mapToGlobal">TQWidget::mapToGlobal</a>().
<p> The return code is the id of the selected item in either the popup
menu or one of its submenus, or -1 if no item is selected
(normally because the user pressed Esc).
@@ -340,12 +340,12 @@ or aligned to a widget:
</pre>
<p> When positioning a popup with exec() or <a href="#popup">popup</a>(), bear in mind that
-you cannot rely on the popup menu's current <a href="ntqwidget.html#size">size</a>(). For
+you cannot rely on the popup menu's current <a href="tqwidget.html#size">size</a>(). For
performance reasons, the popup adapts its size only when
necessary. So in many cases, the size before and after the show is
-different. Instead, use <a href="ntqwidget.html#sizeHint">sizeHint</a>(). It calculates the proper size
+different. Instead, use <a href="tqwidget.html#sizeHint">sizeHint</a>(). It calculates the proper size
depending on the menu's current contents.
-<p> <p>See also <a href="#popup">popup</a>() and <a href="ntqwidget.html#sizeHint-prop">sizeHint</a>.
+<p> <p>See also <a href="#popup">popup</a>() and <a href="tqwidget.html#sizeHint-prop">sizeHint</a>.
<h3 class=fn>void <a name="highlighted"></a>TQPopupMenu::highlighted ( int&nbsp;id )<tt> [signal]</tt>
</h3>
@@ -425,7 +425,7 @@ accelerators in TQPopupMenu items only work for menus that are
associated with a certain window. This is true for popup menus
that live in a menu bar since their accelerators will then be
installed in the menu bar itself. This also applies to stand-alone
-popup menus that have a top-level widget in their <a href="ntqwidget.html#parentWidget">parentWidget</a>()
+popup menus that have a top-level widget in their <a href="tqwidget.html#parentWidget">parentWidget</a>()
chain. The menu will then install its accelerator object on that
top-level widget. For all other cases use an independent <a href="ntqaccel.html">TQAccel</a>
object.
@@ -555,7 +555,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="ntqmenudata.html#removeItem">removeItem</a>(), <a href="ntqmenudata.html#changeItem">changeItem</a>(), <a href="ntqmenudata.html#setAccel">setAccel</a>(), and <a href="ntqmenudata.html#connectItem">connectItem</a>().
-<h3 class=fn>int <a name="insertItem-d"></a>TQMenuData::insertItem ( <a href="ntqwidget.html">TQWidget</a>&nbsp;*&nbsp;widget, int&nbsp;id = -1, int&nbsp;index = -1 )
+<h3 class=fn>int <a name="insertItem-d"></a>TQMenuData::insertItem ( <a href="tqwidget.html">TQWidget</a>&nbsp;*&nbsp;widget, int&nbsp;id = -1, int&nbsp;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
@@ -565,7 +565,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.
@@ -576,14 +576,14 @@ 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>
- if ( <a href="ntqwidget.html#isVisible">isVisible</a>() &amp;&amp;
- <a href="ntqwidget.html#parentWidget">parentWidget</a>() &amp;&amp;
- <a href="ntqwidget.html#parentWidget">parentWidget</a>()-&gt;inherits("TQPopupMenu") )
- <a href="ntqwidget.html#parentWidget">parentWidget</a>()-&gt;close();
+ if ( <a href="tqwidget.html#isVisible">isVisible</a>() &amp;&amp;
+ <a href="tqwidget.html#parentWidget">parentWidget</a>() &amp;&amp;
+ <a href="tqwidget.html#parentWidget">parentWidget</a>()-&gt;inherits("TQPopupMenu") )
+ <a href="tqwidget.html#parentWidget">parentWidget</a>()-&gt;close();
</pre>
<p> Returns the allocated <a href="ntqmenudata.html#menu-identifier">menu identifier</a> number (<em>id</em> if <em>id</em> >= 0).
@@ -687,12 +687,12 @@ no pixmap has been set.
Displays the popup menu so that the item number <em>indexAtPoint</em>
will be at the specified <em>global</em> position <em>pos</em>. To translate a
widget's local coordinates into global coordinates, use
-<a href="ntqwidget.html#mapToGlobal">TQWidget::mapToGlobal</a>().
+<a href="tqwidget.html#mapToGlobal">TQWidget::mapToGlobal</a>().
<p> When positioning a popup with <a href="#exec">exec</a>() or <a href="#popup">popup</a>(), bear in mind that
-you cannot rely on the popup menu's current <a href="ntqwidget.html#size">size</a>(). For
+you cannot rely on the popup menu's current <a href="tqwidget.html#size">size</a>(). For
performance reasons, the popup adapts its size only when
necessary, so in many cases, the size before and after the show is
-different. Instead, use <a href="ntqwidget.html#sizeHint">sizeHint</a>(). It calculates the proper size
+different. Instead, use <a href="tqwidget.html#sizeHint">sizeHint</a>(). It calculates the proper size
depending on the menu's current contents.
<p>Example: <a href="listviews-example.html#x159">listviews/listviews.cpp</a>.
@@ -724,7 +724,7 @@ accelerators in TQPopupMenu items only work for menus that are
associated with a certain window. This is true for popup menus
that live in a menu bar since their accelerators will then be
installed in the menu bar itself. This also applies to stand-alone
-popup menus that have a top-level widget in their <a href="ntqwidget.html#parentWidget">parentWidget</a>()
+popup menus that have a top-level widget in their <a href="tqwidget.html#parentWidget">parentWidget</a>()
chain. The menu will then install its accelerator object on that
top-level widget. For all other cases use an independent <a href="ntqaccel.html">TQAccel</a>
object.