summaryrefslogtreecommitdiffstats
path: root/doc/html/ntqmenubar.html
diff options
context:
space:
mode:
Diffstat (limited to 'doc/html/ntqmenubar.html')
-rw-r--r--doc/html/ntqmenubar.html28
1 files changed, 14 insertions, 14 deletions
diff --git a/doc/html/ntqmenubar.html b/doc/html/ntqmenubar.html
index b1b2cc108..8ae3abdec 100644
--- a/doc/html/ntqmenubar.html
+++ b/doc/html/ntqmenubar.html
@@ -189,7 +189,7 @@ and having two looks wrong.
good in Windows style, but nowhere else.
</ul>
<hr><h2>Member Function Documentation</h2>
-<h3 class=fn><a name="TQMenuBar"></a>TQMenuBar::TQMenuBar ( <a href="ntqwidget.html">TQWidget</a>&nbsp;*&nbsp;parent = 0, const&nbsp;char&nbsp;*&nbsp;name = 0 )
+<h3 class=fn><a name="TQMenuBar"></a>TQMenuBar::TQMenuBar ( <a href="tqwidget.html">TQWidget</a>&nbsp;*&nbsp;parent = 0, const&nbsp;char&nbsp;*&nbsp;name = 0 )
</h3>
Constructs a menu bar called <em>name</em> with parent <em>parent</em>.
@@ -229,14 +229,14 @@ can be useful for simple layout tasks in which the height of the
menu bar is needed after items have been inserted. See <a href="showimg-example.html">showimg/showimg.cpp</a> for an example of the usage.
<p>Example: <a href="showimg-example.html#x1325">showimg/showimg.cpp</a>.
-<p>Reimplemented from <a href="ntqwidget.html#heightForWidth">TQWidget</a>.
+<p>Reimplemented from <a href="tqwidget.html#heightForWidth">TQWidget</a>.
<h3 class=fn>void <a name="hide"></a>TQMenuBar::hide ()<tt> [virtual]</tt>
</h3>
-Reimplements <a href="ntqwidget.html#hide">TQWidget::hide</a>() in order to deselect any selected
+Reimplements <a href="tqwidget.html#hide">TQWidget::hide</a>() in order to deselect any selected
item, and calls setUpLayout() for the main window.
<p>Example: <a href="grapher-nsplugin-example.html#x2745">grapher/grapher.cpp</a>.
-<p>Reimplemented from <a href="ntqwidget.html#hide">TQWidget</a>.
+<p>Reimplemented from <a href="tqwidget.html#hide">TQWidget</a>.
<h3 class=fn>void <a name="highlighted"></a>TQMenuBar::highlighted ( int&nbsp;id )<tt> [signal]</tt>
</h3>
@@ -299,7 +299,7 @@ accelerators in <a href="ntqpopupmenu.html">TQPopupMenu</a> items only work for
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.
@@ -429,7 +429,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
@@ -439,7 +439,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.
@@ -450,14 +450,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).
@@ -558,12 +558,12 @@ hides the menu item with id <em>id</em>.
See the <a href="ntqmenubar.html#separator-prop">"separator"</a> property for details.
<h3 class=fn>void <a name="show"></a>TQMenuBar::show ()<tt> [virtual]</tt>
</h3>
-Reimplements <a href="ntqwidget.html#show">TQWidget::show</a>() in order to set up the correct
+Reimplements <a href="tqwidget.html#show">TQWidget::show</a>() in order to set up the correct
keyboard accelerators and to raise itself to the top of the widget
stack.
<p>Example: <a href="grapher-nsplugin-example.html#x2746">grapher/grapher.cpp</a>.
-<p>Reimplemented from <a href="ntqwidget.html#show">TQWidget</a>.
+<p>Reimplemented from <a href="tqwidget.html#show">TQWidget</a>.
<hr><h2>Property Documentation</h2>
<h3 class=fn>bool <a name="defaultUp-prop"></a>defaultUp</h3>
<p>This property holds the popup orientation.