diff options
Diffstat (limited to 'doc/html/tqmenudata.html')
-rw-r--r-- | doc/html/tqmenudata.html | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/doc/html/tqmenudata.html b/doc/html/tqmenudata.html index 04be45ed8..c82cf318a 100644 --- a/doc/html/tqmenudata.html +++ b/doc/html/tqmenudata.html @@ -160,7 +160,7 @@ Changes the text of the menu item <em>id</em> to <em>text</em>. If the item has an icon, the icon remains unchanged. <p> <p>See also <a href="#text">text</a>(). -<h3 class=fn>void <a name="changeItem-2"></a>TQMenuData::changeItem ( int id, const <a href="ntqpixmap.html">TQPixmap</a> & pixmap ) +<h3 class=fn>void <a name="changeItem-2"></a>TQMenuData::changeItem ( int id, const <a href="tqpixmap.html">TQPixmap</a> & pixmap ) </h3> This is an overloaded member function, provided for convenience. It behaves essentially like the above function. <p> Changes the pixmap of the menu item <em>id</em> to the pixmap <em>pixmap</em>. @@ -174,7 +174,7 @@ This is an overloaded member function, provided for convenience. It behaves esse 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="tqiconset.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="tqpixmap.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> @@ -189,7 +189,7 @@ and <em>pixmap</em> respectively. the icon remains unchanged. <p> <p>See also <a href="#text">text</a>(). -<h3 class=fn>void <a name="changeItem-6"></a>TQMenuData::changeItem ( const <a href="ntqpixmap.html">TQPixmap</a> & pixmap, int id ) +<h3 class=fn>void <a name="changeItem-6"></a>TQMenuData::changeItem ( const <a href="tqpixmap.html">TQPixmap</a> & pixmap, 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. @@ -310,7 +310,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="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> +little menu item icon. Note that you can always pass a <a href="tqpixmap.html">TQPixmap</a> object instead. <p> The <em>id</em> specifies the identification number associated with the menu item. Note that only positive values are valid, as a negative @@ -349,7 +349,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="#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>. -<h3 class=fn>int <a name="insertItem-3"></a>TQMenuData::insertItem ( 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-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> 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>, @@ -357,11 +357,11 @@ optional id <em>id</em>, and optional <em>index</em> position. The menu item is connected it to the <em>receiver</em>'s <em>member</em> slot. The icon will be displayed to the left of the text in the item. <p> To look best when being highlighted as a menu item, the pixmap -should provide a mask (see <a href="ntqpixmap.html#mask">TQPixmap::mask</a>()). +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="#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="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 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> 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>, @@ -369,7 +369,7 @@ accelerator <em>accel</em>, optional id <em>id</em>, and optional <em>index</em> position. The icon will be displayed to the left of the pixmap in the item. The item is connected to the <em>member</em> slot in the <em>receiver</em> object. <p> To look best when being highlighted as a menu item, the pixmap -should provide a mask (see <a href="ntqpixmap.html#mask">TQPixmap::mask</a>()). +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="#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>. @@ -412,17 +412,17 @@ the menu is deleted. <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="#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-9"></a>TQMenuData::insertItem ( const <a href="ntqpixmap.html">TQPixmap</a> & pixmap, int id = -1, int index = -1 ) +<h3 class=fn>int <a name="insertItem-9"></a>TQMenuData::insertItem ( const <a href="tqpixmap.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 pixmap <em>pixmap</em>, optional id <em>id</em>, and optional <em>index</em> position. <p> To look best when being highlighted as a menu item, the pixmap -should provide a mask (see <a href="ntqpixmap.html#mask">TQPixmap::mask</a>()). +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="#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="tqiconset.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="tqpixmap.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 @@ -431,7 +431,7 @@ displayed to the left of the pixmap 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="#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-b"></a>TQMenuData::insertItem ( const <a href="ntqpixmap.html">TQPixmap</a> & pixmap, <a href="tqpopupmenu.html">TQPopupMenu</a> * popup, int id = -1, int index = -1 ) +<h3 class=fn>int <a name="insertItem-b"></a>TQMenuData::insertItem ( const <a href="tqpixmap.html">TQPixmap</a> & pixmap, <a href="tqpopupmenu.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 pixmap <em>pixmap</em>, submenu <em>popup</em>, @@ -442,7 +442,7 @@ the menu is deleted. <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="#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="tqiconset.html">TQIconSet</a> & icon, const <a href="ntqpixmap.html">TQPixmap</a> & pixmap, <a href="tqpopupmenu.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="tqpixmap.html">TQPixmap</a> & pixmap, <a href="tqpopupmenu.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 @@ -574,7 +574,7 @@ Virtual function; notifies subclasses that one or more items have changed state (enabled/disabled or checked/unchecked). <p>Reimplemented in <a href="tqmenubar.html#menuStateChanged">TQMenuBar</a>. -<h3 class=fn><a href="ntqpixmap.html">TQPixmap</a> * <a name="pixmap"></a>TQMenuData::pixmap ( int id ) const +<h3 class=fn><a href="tqpixmap.html">TQPixmap</a> * <a name="pixmap"></a>TQMenuData::pixmap ( int id ) const </h3> Returns the pixmap that has been set for menu item <em>id</em>, or 0 if no pixmap has been set. |