diff options
Diffstat (limited to 'doc/html/ntqmenudata.html')
-rw-r--r-- | doc/html/ntqmenudata.html | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/doc/html/ntqmenudata.html b/doc/html/ntqmenudata.html index ca96bbf0a..ecffc3ca2 100644 --- a/doc/html/ntqmenudata.html +++ b/doc/html/ntqmenudata.html @@ -167,14 +167,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="#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="#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> @@ -197,7 +197,7 @@ the icon remains unchanged. the icon remains unchanged. <p> <p>See also <a href="#pixmap">pixmap</a>(). -<h3 class=fn>void <a name="changeItem-7"></a>TQMenuData::changeItem ( const <a href="ntqiconset.html">TQIconSet</a> & icon, const <a href="tqstring.html">TQString</a> & text, int id ) +<h3 class=fn>void <a name="changeItem-7"></a>TQMenuData::changeItem ( const <a href="tqiconset.html">TQIconSet</a> & icon, const <a href="tqstring.html">TQString</a> & text, int id ) </h3> <b>This function is obsolete.</b> It is provided to keep old source working. We strongly advise against using it in new code. @@ -253,7 +253,7 @@ need to call this function. Use the higher level functions like attributes instead. <p> <p>See also <a href="#indexOf">indexOf</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. @@ -309,7 +309,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 @@ -339,7 +339,7 @@ version. <p> <p>See also <a href="#removeItem">removeItem</a>(), <a href="#changeItem">changeItem</a>(), <a href="#setAccel">setAccel</a>(), <a href="#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 @@ -361,7 +361,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="#removeItem">removeItem</a>(), <a href="#changeItem">changeItem</a>(), <a href="#setAccel">setAccel</a>(), and <a href="#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>, @@ -381,7 +381,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="#removeItem">removeItem</a>(), <a href="#changeItem">changeItem</a>(), <a href="#setAccel">setAccel</a>(), and <a href="#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 @@ -401,7 +401,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="#removeItem">removeItem</a>(), <a href="#changeItem">changeItem</a>(), <a href="#setAccel">setAccel</a>(), and <a href="#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 @@ -422,7 +422,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="#removeItem">removeItem</a>(), <a href="#changeItem">changeItem</a>(), <a href="#setAccel">setAccel</a>(), and <a href="#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 @@ -442,7 +442,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="#removeItem">removeItem</a>(), <a href="#changeItem">changeItem</a>(), <a href="#setAccel">setAccel</a>(), and <a href="#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 @@ -487,7 +487,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="#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 |