diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-06-06 13:44:12 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-06-06 13:52:29 +0900 |
commit | e6077c30d14e9d662e8843c554db86c0d366d0b6 (patch) | |
tree | 672319afee32f0316bad258c0e9a1e0dd737bd61 /doc/html/ntqmenudata.html | |
parent | 8c029298d9d3f1f84b65ac4a3a16cd1fa28d9cde (diff) | |
download | tqt-e6077c30.tar.gz tqt-e6077c30.zip |
Rename str nt* related files to equivalent tq*
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'doc/html/ntqmenudata.html')
-rw-r--r-- | doc/html/ntqmenudata.html | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/doc/html/ntqmenudata.html b/doc/html/ntqmenudata.html index a0bf6d49d..ca96bbf0a 100644 --- a/doc/html/ntqmenudata.html +++ b/doc/html/ntqmenudata.html @@ -154,7 +154,7 @@ Activates the menu item at position <em>index</em>. <p> If the index is invalid (for example, -1), the object itself is deactivated. -<h3 class=fn>void <a name="changeItem"></a>TQMenuData::changeItem ( int id, const <a href="ntqstring.html">TQString</a> & text ) +<h3 class=fn>void <a name="changeItem"></a>TQMenuData::changeItem ( int id, const <a href="tqstring.html">TQString</a> & text ) </h3> Changes the text of the menu item <em>id</em> to <em>text</em>. If the item has an icon, the icon remains unchanged. @@ -167,7 +167,7 @@ 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="ntqstring.html">TQString</a> & text ) +<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> 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> @@ -181,7 +181,7 @@ This is an overloaded member function, provided for convenience. It behaves esse and <em>pixmap</em> respectively. <p> <p>See also <a href="#pixmap">pixmap</a>(). -<h3 class=fn>void <a name="changeItem-5"></a>TQMenuData::changeItem ( const <a href="ntqstring.html">TQString</a> & text, int id ) +<h3 class=fn>void <a name="changeItem-5"></a>TQMenuData::changeItem ( 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. @@ -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="ntqstring.html">TQString</a> & text, int id ) +<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> <b>This function is obsolete.</b> It is provided to keep old source working. We strongly advise against using it in new code. @@ -272,7 +272,7 @@ there is no item with this identifier. <p> <p>See also <a href="#idAt">idAt</a>() and <a href="#findItem">findItem</a>(). <p>Example: <a href="scrollview-example.html#x633">scrollview/scrollview.cpp</a>. -<h3 class=fn>int <a name="insertItem"></a>TQMenuData::insertItem ( const <a href="ntqstring.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="ntqkeysequence.html">TQKeySequence</a> & accel = 0, int id = -1, int index = -1 ) </h3> The family of <a href="#insertItem">insertItem</a>() functions inserts menu items into a popup menu or a menu bar. @@ -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="ntqstring.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="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> 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 @@ -373,7 +373,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>(), <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-5"></a>TQMenuData::insertItem ( const <a href="ntqstring.html">TQString</a> & text, int id = -1, int index = -1 ) +<h3 class=fn>int <a name="insertItem-5"></a>TQMenuData::insertItem ( 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 text <em>text</em>, optional id <em>id</em>, and @@ -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="ntqstring.html">TQString</a> & text, int id = -1, int index = -1 ) +<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> 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 @@ -390,7 +390,7 @@ 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="#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-7"></a>TQMenuData::insertItem ( const <a href="ntqstring.html">TQString</a> & text, <a href="ntqpopupmenu.html">TQPopupMenu</a> * popup, int id = -1, int index = -1 ) +<h3 class=fn>int <a name="insertItem-7"></a>TQMenuData::insertItem ( 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 text <em>text</em>, submenu <em>popup</em>, optional @@ -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="ntqstring.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="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> 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 @@ -668,17 +668,17 @@ If <em>visible</em> is TRUE, shows the menu item with id <em>id</em>; otherwise hides the menu item with id <em>id</em>. <p> <p>See also <a href="#isItemVisible">isItemVisible</a>() and <a href="#isItemEnabled">isItemEnabled</a>(). -<h3 class=fn>void <a name="setWhatsThis"></a>TQMenuData::setWhatsThis ( int id, const <a href="ntqstring.html">TQString</a> & text ) +<h3 class=fn>void <a name="setWhatsThis"></a>TQMenuData::setWhatsThis ( int id, const <a href="tqstring.html">TQString</a> & text ) </h3> Sets <em>text</em> as What's This help for the menu item with identifier <em>id</em>. <p> <p>See also <a href="#whatsThis">whatsThis</a>(). <p>Examples: <a href="simple-application-example.html#x1554">application/application.cpp</a>, <a href="helpsystem-example.html#x2689">helpsystem/mainwindow.cpp</a>, and <a href="mdi-example.html#x2035">mdi/application.cpp</a>. -<h3 class=fn><a href="ntqstring.html">TQString</a> <a name="text"></a>TQMenuData::text ( int id ) const +<h3 class=fn><a href="tqstring.html">TQString</a> <a name="text"></a>TQMenuData::text ( int id ) const </h3> Returns the text that has been set for menu item <em>id</em>, or -<a href="ntqstring.html#TQString-null">TQString::null</a> if no text has been set. +<a href="tqstring.html#TQString-null">TQString::null</a> if no text has been set. <p> <p>See also <a href="#changeItem">changeItem</a>(), <a href="#pixmap">pixmap</a>(), and <a href="#iconSet">iconSet</a>(). <p>Examples: <a href="qdir-example.html#x1831">qdir/qdir.cpp</a> and <a href="showimg-example.html#x1332">showimg/showimg.cpp</a>. @@ -688,9 +688,9 @@ Virtual function; notifies subclasses about an item with <em>id</em> that has been changed. <p>Reimplemented in <a href="ntqpopupmenu.html#updateItem">TQPopupMenu</a>. -<h3 class=fn><a href="ntqstring.html">TQString</a> <a name="whatsThis"></a>TQMenuData::whatsThis ( int id ) const +<h3 class=fn><a href="tqstring.html">TQString</a> <a name="whatsThis"></a>TQMenuData::whatsThis ( int id ) const </h3> -Returns the What's This help text for the item with identifier <em>id</em> or <a href="ntqstring.html#TQString-null">TQString::null</a> if no text has yet been defined. +Returns the What's This help text for the item with identifier <em>id</em> or <a href="tqstring.html#TQString-null">TQString::null</a> if no text has yet been defined. <p> <p>See also <a href="#setWhatsThis">setWhatsThis</a>(). <!-- eof --> |