diff options
Diffstat (limited to 'doc/html/tqpopupmenu.html')
-rw-r--r-- | doc/html/tqpopupmenu.html | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/doc/html/tqpopupmenu.html b/doc/html/tqpopupmenu.html index 34a6745a9..9158f3699 100644 --- a/doc/html/tqpopupmenu.html +++ b/doc/html/tqpopupmenu.html @@ -208,7 +208,7 @@ You can connect it to any slot that sets up the menu contents <p> <p>See also <a href="#aboutToHide">aboutToHide</a>(), <a href="tqmenudata.html#setItemEnabled">setItemEnabled</a>(), <a href="tqmenudata.html#setItemChecked">setItemChecked</a>(), <a href="tqmenudata.html#insertItem">insertItem</a>(), and <a href="tqmenudata.html#removeItem">removeItem</a>(). <p>Example: <a href="mdi-example.html#x2048">mdi/application.cpp</a>. -<h3 class=fn><a href="ntqkeysequence.html">TQKeySequence</a> <a name="accel"></a>TQMenuData::accel ( int id ) const +<h3 class=fn><a href="tqkeysequence.html">TQKeySequence</a> <a name="accel"></a>TQMenuData::accel ( int id ) const </h3> Returns the accelerator key that has been defined for the menu item <em>id</em>, or 0 if it has no accelerator key or if there is no @@ -374,7 +374,7 @@ This is an overloaded member function, provided for convenience. It behaves esse <p> Returns the id of the item at <em>pos</em>, or -1 if there is no item there or if it is a separator. -<h3 class=fn>int <a name="insertItem"></a>TQMenuData::insertItem ( const <a href="tqstring.html">TQString</a> & text, const <a href="tqobject.html">TQObject</a> * receiver, const char * member, const <a href="ntqkeysequence.html">TQKeySequence</a> & accel = 0, int id = -1, int index = -1 ) +<h3 class=fn>int <a name="insertItem"></a>TQMenuData::insertItem ( const <a href="tqstring.html">TQString</a> & text, const <a href="tqobject.html">TQObject</a> * receiver, const char * member, const <a href="tqkeysequence.html">TQKeySequence</a> & accel = 0, int id = -1, int index = -1 ) </h3> The family of <a href="tqmenudata.html#insertItem">insertItem</a>() functions inserts menu items into a popup menu or a menu bar. @@ -402,7 +402,7 @@ 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="tqmenudata.html#connectItem">connectItem</a>() and <a href="tqmenudata.html#setAccel">setAccel</a>() on those items. <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 +accelerator. (For translations use a string <a href="tqkeysequence.html">key sequence</a>.): <pre> fileMenu->insertItem( <a href="tqobject.html#tr">tr</a>("Open"), myView, TQ_SLOT(open()), @@ -441,7 +441,7 @@ version. <p> <p>See also <a href="tqmenudata.html#removeItem">removeItem</a>(), <a href="tqmenudata.html#changeItem">changeItem</a>(), <a href="tqmenudata.html#setAccel">setAccel</a>(), <a href="tqmenudata.html#connectItem">connectItem</a>(), <a href="tqaccel.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 <a href="tqiconset.html">TQIconSet</a> & icon, const <a href="tqstring.html">TQString</a> & text, const <a href="tqobject.html">TQObject</a> * receiver, const char * member, const <a href="ntqkeysequence.html">TQKeySequence</a> & accel = 0, int id = -1, int index = -1 ) +<h3 class=fn>int <a name="insertItem-2"></a>TQMenuData::insertItem ( const <a href="tqiconset.html">TQIconSet</a> & icon, const <a href="tqstring.html">TQString</a> & text, const <a href="tqobject.html">TQObject</a> * receiver, const char * member, const <a href="tqkeysequence.html">TQKeySequence</a> & accel = 0, 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 with icon <em>icon</em>, text <em>text</em>, accelerator @@ -451,7 +451,7 @@ icon will be displayed to the left of the text in the item. <p> Returns the allocated <a href="tqmenudata.html#menu-identifier">menu identifier</a> number (<em>id</em> if <em>id</em> >= 0). <p> <p>See also <a href="tqmenudata.html#removeItem">removeItem</a>(), <a href="tqmenudata.html#changeItem">changeItem</a>(), <a href="tqmenudata.html#setAccel">setAccel</a>(), <a href="tqmenudata.html#connectItem">connectItem</a>(), <a href="tqaccel.html">TQAccel</a>, and <a href="qnamespace-h.html">ntqnamespace.h</a>. -<h3 class=fn>int <a name="insertItem-3"></a>TQMenuData::insertItem ( const <a href="tqpixmap.html">TQPixmap</a> & pixmap, const <a href="tqobject.html">TQObject</a> * receiver, const char * member, const <a href="ntqkeysequence.html">TQKeySequence</a> & accel = 0, int id = -1, int index = -1 ) +<h3 class=fn>int <a name="insertItem-3"></a>TQMenuData::insertItem ( const <a href="tqpixmap.html">TQPixmap</a> & pixmap, const <a href="tqobject.html">TQObject</a> * receiver, const char * member, const <a href="tqkeysequence.html">TQKeySequence</a> & accel = 0, 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 with pixmap <em>pixmap</em>, accelerator <em>accel</em>, @@ -463,7 +463,7 @@ should provide a mask (see <a href="tqpixmap.html#mask">TQPixmap::mask</a>()). <p> Returns the allocated <a href="tqmenudata.html#menu-identifier">menu identifier</a> number (<em>id</em> if <em>id</em> >= 0). <p> <p>See also <a href="tqmenudata.html#removeItem">removeItem</a>(), <a href="tqmenudata.html#changeItem">changeItem</a>(), <a href="tqmenudata.html#setAccel">setAccel</a>(), and <a href="tqmenudata.html#connectItem">connectItem</a>(). -<h3 class=fn>int <a name="insertItem-4"></a>TQMenuData::insertItem ( const <a href="tqiconset.html">TQIconSet</a> & icon, const <a href="tqpixmap.html">TQPixmap</a> & pixmap, const <a href="tqobject.html">TQObject</a> * receiver, const char * member, const <a href="ntqkeysequence.html">TQKeySequence</a> & accel = 0, int id = -1, int index = -1 ) +<h3 class=fn>int <a name="insertItem-4"></a>TQMenuData::insertItem ( const <a href="tqiconset.html">TQIconSet</a> & icon, const <a href="tqpixmap.html">TQPixmap</a> & pixmap, const <a href="tqobject.html">TQObject</a> * receiver, const char * member, const <a href="tqkeysequence.html">TQKeySequence</a> & accel = 0, 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 with icon <em>icon</em>, pixmap <em>pixmap</em>, @@ -708,7 +708,7 @@ depending on the menu's current contents. Removes the menu item at position <em>index</em>. <p> <p>See also <a href="tqmenudata.html#removeItem">removeItem</a>() and <a href="tqmenudata.html#clear">clear</a>(). -<h3 class=fn>void <a name="setAccel"></a>TQMenuData::setAccel ( const <a href="ntqkeysequence.html">TQKeySequence</a> & key, int id ) +<h3 class=fn>void <a name="setAccel"></a>TQMenuData::setAccel ( const <a href="tqkeysequence.html">TQKeySequence</a> & key, int id ) </h3> Sets the accelerator key for the menu item <em>id</em> to <em>key</em>. <p> An accelerator key consists of a key code and a combination of the |