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.html16
1 files changed, 8 insertions, 8 deletions
diff --git a/doc/html/ntqmenubar.html b/doc/html/ntqmenubar.html
index 143a14a90..b1b2cc108 100644
--- a/doc/html/ntqmenubar.html
+++ b/doc/html/ntqmenubar.html
@@ -155,7 +155,7 @@ stand-alone TQPopupMenus.
conform more closely to accepted Mac OS X menubar layout. The
merging functionality is based on string matching the title of a
<a href="ntqpopupmenu.html">TQPopupMenu</a> entry. These strings are translated (using
-<a href="ntqobject.html#tr">TQObject::tr</a>()) in the "TQMenuBar" context. If an entry is moved its
+<a href="tqobject.html#tr">TQObject::tr</a>()) in the "TQMenuBar" context. If an entry is moved its
slots will still fire as if it was in the original place. The
table below outlines the strings looked for and where the entry is
placed if matched:
@@ -248,7 +248,7 @@ several items to a single slot (most often if the user selects
from an array). This signal is useful in such cases.
<p> <p>See also <a href="#activated">activated</a>() and <a href="ntqmenudata.html#insertItem">TQMenuData::insertItem</a>().
-<h3 class=fn>int <a name="insertItem"></a>TQMenuData::insertItem ( const&nbsp;<a href="ntqstring.html">TQString</a>&nbsp;&amp;&nbsp;text, const&nbsp;<a href="ntqobject.html">TQObject</a>&nbsp;*&nbsp;receiver, const&nbsp;char&nbsp;*&nbsp;member, const&nbsp;<a href="ntqkeysequence.html">TQKeySequence</a>&nbsp;&amp;&nbsp;accel = 0, int&nbsp;id = -1, int&nbsp;index = -1 )
+<h3 class=fn>int <a name="insertItem"></a>TQMenuData::insertItem ( const&nbsp;<a href="ntqstring.html">TQString</a>&nbsp;&amp;&nbsp;text, const&nbsp;<a href="tqobject.html">TQObject</a>&nbsp;*&nbsp;receiver, const&nbsp;char&nbsp;*&nbsp;member, const&nbsp;<a href="ntqkeysequence.html">TQKeySequence</a>&nbsp;&amp;&nbsp;accel = 0, int&nbsp;id = -1, int&nbsp;index = -1 )
</h3>
The family of <a href="ntqmenudata.html#insertItem">insertItem</a>() functions inserts menu items into a
popup menu or a menu bar.
@@ -275,12 +275,12 @@ connects it to the slot <em>member</em> in the object <em>receiver</em>.
<p> Not all insert functions take an object/slot parameter or an
accelerator key. Use <a href="ntqmenudata.html#connectItem">connectItem</a>() and <a href="ntqmenudata.html#setAccel">setAccel</a>() on those items.
-<p> If you need to translate accelerators, use <a href="ntqobject.html#tr">tr</a>() with the text and
+<p> If you need to translate accelerators, use <a href="tqobject.html#tr">tr</a>() with the text and
accelerator. (For translations use a string <a href="ntqkeysequence.html">key
sequence</a>.):
<pre>
- fileMenu-&gt;insertItem( <a href="ntqobject.html#tr">tr</a>("Open"), myView, TQ_SLOT(open()),
- <a href="ntqobject.html#tr">tr</a>("Ctrl+O") );
+ fileMenu-&gt;insertItem( <a href="tqobject.html#tr">tr</a>("Open"), myView, TQ_SLOT(open()),
+ <a href="tqobject.html#tr">tr</a>("Ctrl+O") );
</pre>
<p> In the example above, pressing Ctrl+O or selecting "Open" from the
@@ -315,7 +315,7 @@ version.
<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>(), <a href="ntqmenudata.html#connectItem">connectItem</a>(), <a href="ntqaccel.html">TQAccel</a>, and <a href="qnamespace-h.html">ntqnamespace.h</a>.
<p>Examples: <a href="addressbook-example.html#x569">addressbook/mainwindow.cpp</a>, <a href="canvas-example.html#x2936">canvas/canvas.cpp</a>, <a href="menu-example.html#x1869">menu/menu.cpp</a>, <a href="qwerty-example.html#x371">qwerty/qwerty.cpp</a>, <a href="scrollview-example.html#x634">scrollview/scrollview.cpp</a>, <a href="showimg-example.html#x1327">showimg/showimg.cpp</a>, and <a href="sound-example.html#x2810">sound/sound.cpp</a>.
-<h3 class=fn>int <a name="insertItem-2"></a>TQMenuData::insertItem ( const&nbsp;<a href="ntqiconset.html">TQIconSet</a>&nbsp;&amp;&nbsp;icon, const&nbsp;<a href="ntqstring.html">TQString</a>&nbsp;&amp;&nbsp;text, const&nbsp;<a href="ntqobject.html">TQObject</a>&nbsp;*&nbsp;receiver, const&nbsp;char&nbsp;*&nbsp;member, const&nbsp;<a href="ntqkeysequence.html">TQKeySequence</a>&nbsp;&amp;&nbsp;accel = 0, int&nbsp;id = -1, int&nbsp;index = -1 )
+<h3 class=fn>int <a name="insertItem-2"></a>TQMenuData::insertItem ( const&nbsp;<a href="ntqiconset.html">TQIconSet</a>&nbsp;&amp;&nbsp;icon, const&nbsp;<a href="ntqstring.html">TQString</a>&nbsp;&amp;&nbsp;text, const&nbsp;<a href="tqobject.html">TQObject</a>&nbsp;*&nbsp;receiver, const&nbsp;char&nbsp;*&nbsp;member, const&nbsp;<a href="ntqkeysequence.html">TQKeySequence</a>&nbsp;&amp;&nbsp;accel = 0, 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 with icon <em>icon</em>, text <em>text</em>, accelerator
@@ -325,7 +325,7 @@ icon will be displayed to the left of the text in the item.
<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>(), <a href="ntqmenudata.html#connectItem">connectItem</a>(), <a href="ntqaccel.html">TQAccel</a>, and <a href="qnamespace-h.html">ntqnamespace.h</a>.
-<h3 class=fn>int <a name="insertItem-3"></a>TQMenuData::insertItem ( const&nbsp;<a href="ntqpixmap.html">TQPixmap</a>&nbsp;&amp;&nbsp;pixmap, const&nbsp;<a href="ntqobject.html">TQObject</a>&nbsp;*&nbsp;receiver, const&nbsp;char&nbsp;*&nbsp;member, const&nbsp;<a href="ntqkeysequence.html">TQKeySequence</a>&nbsp;&amp;&nbsp;accel = 0, int&nbsp;id = -1, int&nbsp;index = -1 )
+<h3 class=fn>int <a name="insertItem-3"></a>TQMenuData::insertItem ( const&nbsp;<a href="ntqpixmap.html">TQPixmap</a>&nbsp;&amp;&nbsp;pixmap, const&nbsp;<a href="tqobject.html">TQObject</a>&nbsp;*&nbsp;receiver, const&nbsp;char&nbsp;*&nbsp;member, const&nbsp;<a href="ntqkeysequence.html">TQKeySequence</a>&nbsp;&amp;&nbsp;accel = 0, 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 with pixmap <em>pixmap</em>, accelerator <em>accel</em>,
@@ -337,7 +337,7 @@ should provide a mask (see <a href="ntqpixmap.html#mask">TQPixmap::mask</a>()).
<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-4"></a>TQMenuData::insertItem ( const&nbsp;<a href="ntqiconset.html">TQIconSet</a>&nbsp;&amp;&nbsp;icon, const&nbsp;<a href="ntqpixmap.html">TQPixmap</a>&nbsp;&amp;&nbsp;pixmap, const&nbsp;<a href="ntqobject.html">TQObject</a>&nbsp;*&nbsp;receiver, const&nbsp;char&nbsp;*&nbsp;member, const&nbsp;<a href="ntqkeysequence.html">TQKeySequence</a>&nbsp;&amp;&nbsp;accel = 0, int&nbsp;id = -1, int&nbsp;index = -1 )
+<h3 class=fn>int <a name="insertItem-4"></a>TQMenuData::insertItem ( const&nbsp;<a href="ntqiconset.html">TQIconSet</a>&nbsp;&amp;&nbsp;icon, const&nbsp;<a href="ntqpixmap.html">TQPixmap</a>&nbsp;&amp;&nbsp;pixmap, const&nbsp;<a href="tqobject.html">TQObject</a>&nbsp;*&nbsp;receiver, const&nbsp;char&nbsp;*&nbsp;member, const&nbsp;<a href="ntqkeysequence.html">TQKeySequence</a>&nbsp;&amp;&nbsp;accel = 0, 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 with icon <em>icon</em>, pixmap <em>pixmap</em>,