diff options
Diffstat (limited to 'doc/html/ntqpopupmenu.html')
-rw-r--r-- | doc/html/ntqpopupmenu.html | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/doc/html/ntqpopupmenu.html b/doc/html/ntqpopupmenu.html index 78310f096..8c7cfe4a1 100644 --- a/doc/html/ntqpopupmenu.html +++ b/doc/html/ntqpopupmenu.html @@ -240,14 +240,14 @@ This is an overloaded member function, provided for convenience. It behaves esse If the item has an icon, the icon is unchanged. <p> <p>See also <a href="ntqmenudata.html#pixmap">pixmap</a>(). -<h3 class=fn>void <a name="changeItem-3"></a>TQMenuData::changeItem ( int id, const <a href="ntqiconset.html">TQIconSet</a> & icon, const <a href="tqstring.html">TQString</a> & text ) +<h3 class=fn>void <a name="changeItem-3"></a>TQMenuData::changeItem ( int id, const <a href="tqiconset.html">TQIconSet</a> & icon, const <a href="tqstring.html">TQString</a> & text ) </h3> This is an overloaded member function, provided for convenience. It behaves essentially like the above function. <p> Changes the iconset and text of the menu item <em>id</em> to the <em>icon</em> and <em>text</em> respectively. <p> <p>See also <a href="ntqmenudata.html#pixmap">pixmap</a>(). -<h3 class=fn>void <a name="changeItem-4"></a>TQMenuData::changeItem ( int id, const <a href="ntqiconset.html">TQIconSet</a> & icon, const <a href="ntqpixmap.html">TQPixmap</a> & pixmap ) +<h3 class=fn>void <a name="changeItem-4"></a>TQMenuData::changeItem ( int id, const <a href="tqiconset.html">TQIconSet</a> & icon, const <a href="ntqpixmap.html">TQPixmap</a> & pixmap ) </h3> This is an overloaded member function, provided for convenience. It behaves essentially like the above function. <p> Changes the iconset and pixmap of the menu item <em>id</em> to <em>icon</em> @@ -354,7 +354,7 @@ depending on the menu's current contents. the id of the highlighted item. <p> <p>See also <a href="#activated">activated</a>() and <a href="ntqmenudata.html#insertItem">TQMenuData::insertItem</a>(). -<h3 class=fn><a href="ntqiconset.html">TQIconSet</a> * <a name="iconSet"></a>TQMenuData::iconSet ( int id ) const +<h3 class=fn><a href="tqiconset.html">TQIconSet</a> * <a name="iconSet"></a>TQMenuData::iconSet ( int id ) const </h3> Returns the icon set that has been set for menu item <em>id</em>, or 0 if no icon set has been set. @@ -411,7 +411,7 @@ accelerator. (For translations use a string <a href="ntqkeysequence.html">key <p> In the example above, pressing Ctrl+O or selecting "Open" from the menu activates the myView->open() function. -<p> Some insert functions take a <a href="ntqiconset.html">TQIconSet</a> parameter to specify the +<p> Some insert functions take a <a href="tqiconset.html">TQIconSet</a> parameter to specify the little menu item icon. Note that you can always pass a <a href="ntqpixmap.html">TQPixmap</a> object instead. <p> The <em>id</em> specifies the identification number associated with the @@ -441,7 +441,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 <a href="ntqiconset.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="ntqkeysequence.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 @@ -463,7 +463,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 <a href="ntqiconset.html">TQIconSet</a> & icon, const <a href="ntqpixmap.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="ntqpixmap.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> 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>, @@ -483,7 +483,7 @@ optional <em>index</em> position. <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-6"></a>TQMenuData::insertItem ( const <a href="ntqiconset.html">TQIconSet</a> & icon, const <a href="tqstring.html">TQString</a> & text, int id = -1, int index = -1 ) +<h3 class=fn>int <a name="insertItem-6"></a>TQMenuData::insertItem ( const <a href="tqiconset.html">TQIconSet</a> & icon, const <a href="tqstring.html">TQString</a> & text, 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>, optional id @@ -503,7 +503,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-8"></a>TQMenuData::insertItem ( const <a href="ntqiconset.html">TQIconSet</a> & icon, const <a href="tqstring.html">TQString</a> & text, <a href="ntqpopupmenu.html">TQPopupMenu</a> * popup, int id = -1, int index = -1 ) +<h3 class=fn>int <a name="insertItem-8"></a>TQMenuData::insertItem ( const <a href="tqiconset.html">TQIconSet</a> & icon, const <a href="tqstring.html">TQString</a> & text, <a href="ntqpopupmenu.html">TQPopupMenu</a> * popup, 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>, submenu <em>popup</em>, optional id <em>id</em>, and optional <em>index</em> position. The icon @@ -524,7 +524,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-a"></a>TQMenuData::insertItem ( const <a href="ntqiconset.html">TQIconSet</a> & icon, const <a href="ntqpixmap.html">TQPixmap</a> & pixmap, int id = -1, int index = -1 ) +<h3 class=fn>int <a name="insertItem-a"></a>TQMenuData::insertItem ( const <a href="tqiconset.html">TQIconSet</a> & icon, const <a href="ntqpixmap.html">TQPixmap</a> & pixmap, 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>, optional @@ -544,7 +544,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-c"></a>TQMenuData::insertItem ( const <a href="ntqiconset.html">TQIconSet</a> & icon, const <a href="ntqpixmap.html">TQPixmap</a> & pixmap, <a href="ntqpopupmenu.html">TQPopupMenu</a> * popup, int id = -1, int index = -1 ) +<h3 class=fn>int <a name="insertItem-c"></a>TQMenuData::insertItem ( const <a href="tqiconset.html">TQIconSet</a> & icon, const <a href="ntqpixmap.html">TQPixmap</a> & pixmap, <a href="ntqpopupmenu.html">TQPopupMenu</a> * popup, 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> submenu <em>popup</em>, optional id <em>id</em>, and optional <em>index</em> position. The icon @@ -589,7 +589,7 @@ safely by calling: <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>(). -<h3 class=fn>int <a name="insertItem-e"></a>TQMenuData::insertItem ( const <a href="ntqiconset.html">TQIconSet</a> & icon, <a href="qcustommenuitem.html">TQCustomMenuItem</a> * custom, int id = -1, int index = -1 ) +<h3 class=fn>int <a name="insertItem-e"></a>TQMenuData::insertItem ( const <a href="tqiconset.html">TQIconSet</a> & icon, <a href="qcustommenuitem.html">TQCustomMenuItem</a> * custom, 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 custom menu item <em>custom</em> with an <em>icon</em> and with |