diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-06-02 23:07:22 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-06-02 23:22:42 +0900 |
commit | 8ac0e970e4464d9f8f73c0fb34a178ff135be8c3 (patch) | |
tree | b95884617b9a37accc843676d5d42be4116a3f54 /doc/html/ntqmenubar.html | |
parent | 68b81013e8668f50fc18b7e26a520ec93a7a1251 (diff) | |
download | tqt-8ac0e970.tar.gz tqt-8ac0e970.zip |
Rename ntqwidget* related files to equivalent tqwidget*
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'doc/html/ntqmenubar.html')
-rw-r--r-- | doc/html/ntqmenubar.html | 28 |
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> * parent = 0, const char * name = 0 ) +<h3 class=fn><a name="TQMenuBar"></a>TQMenuBar::TQMenuBar ( <a href="tqwidget.html">TQWidget</a> * parent = 0, const char * 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 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> * 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 @@ -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>() && - <a href="ntqwidget.html#parentWidget">parentWidget</a>() && - <a href="ntqwidget.html#parentWidget">parentWidget</a>()->inherits("TQPopupMenu") ) - <a href="ntqwidget.html#parentWidget">parentWidget</a>()->close(); + if ( <a href="tqwidget.html#isVisible">isVisible</a>() && + <a href="tqwidget.html#parentWidget">parentWidget</a>() && + <a href="tqwidget.html#parentWidget">parentWidget</a>()->inherits("TQPopupMenu") ) + <a href="tqwidget.html#parentWidget">parentWidget</a>()->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. |