From 0917fbb5387978eb7b2e2fd68bcb6beaa8c46505 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Sun, 25 Aug 2024 15:36:25 +0900 Subject: Rename remaining ntq[a-c]* related files to equivalent tq* (except ntqapplication.h and ntqconfig.h) Signed-off-by: Michele Calgaro --- doc/html/tqmenudata.html | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) (limited to 'doc/html/tqmenudata.html') diff --git a/doc/html/tqmenudata.html b/doc/html/tqmenudata.html index 6b13e1e9f..cb78fabd4 100644 --- a/doc/html/tqmenudata.html +++ b/doc/html/tqmenudata.html @@ -129,7 +129,7 @@ They can be hidden (and shown again) with setItemVisib

Menu items are stored in a list. Use findItem() to find an item by its list position or by its menu identifier. (See also indexOf() and idAt().) -

See also TQAccel, TQPopupMenu, TQAction, and Miscellaneous Classes. +

See also TQAccel, TQPopupMenu, TQAction, and Miscellaneous Classes.


Member Function Documentation

TQMenuData::TQMenuData () @@ -146,7 +146,7 @@ connected. Returns the accelerator key that has been defined for the menu item id, or 0 if it has no accelerator key or if there is no such menu item. -

See also setAccel(), TQAccel, and ntqnamespace.h. +

See also setAccel(), TQAccel, and ntqnamespace.h.

void TQMenuData::activateItemAt ( int index ) [virtual]

@@ -278,7 +278,7 @@ The family of insertItem() functions inserts menu item popup menu or a menu bar.

A menu item is usually either a text string or a pixmap, both with an optional icon or keyboard accelerator. For special cases it is -also possible to insert custom items (see TQCustomMenuItem) or +also possible to insert custom items (see TQCustomMenuItem) or even widgets into popup menus.

Some insertItem() members take a popup menu as an additional argument. Use this to insert submenus into existing menus or @@ -325,7 +325,7 @@ that live in a menu bar since their accelerators will then be installed in the menu bar itself. This also applies to stand-alone popup menus that have a top-level widget in their parentWidget() chain. The menu will then install its accelerator object on that -top-level widget. For all other cases use an independent TQAccel +top-level widget. For all other cases use an independent TQAccel object.

Warning: Be careful when passing a literal 0 to insertItem() because some C++ compilers choose the wrong overloaded function. @@ -336,7 +336,7 @@ about signals or slots. Instead insert the items into a popup menu and insert the popup menu into the menubar. This may be fixed in a future TQt version.

Returns the allocated menu identifier number (id if id >= 0). -

See also removeItem(), changeItem(), setAccel(), connectItem(), TQAccel, and ntqnamespace.h. +

See also removeItem(), changeItem(), setAccel(), connectItem(), TQAccel, and ntqnamespace.h.

Examples: addressbook/mainwindow.cpp, canvas/canvas.cpp, menu/menu.cpp, qwerty/qwerty.cpp, scrollview/scrollview.cpp, showimg/showimg.cpp, and sound/sound.cpp.

int TQMenuData::insertItem ( const TQIconSet & icon, const TQString & text, const TQObject * receiver, const char * member, const TQKeySequence & accel = 0, int id = -1, int index = -1 ) @@ -347,7 +347,7 @@ This is an overloaded member function, provided for convenience. It behaves esse menu item is connected it to the receiver's member slot. The icon will be displayed to the left of the text in the item.

Returns the allocated menu identifier number (id if id >= 0). -

See also removeItem(), changeItem(), setAccel(), connectItem(), TQAccel, and ntqnamespace.h. +

See also removeItem(), changeItem(), setAccel(), connectItem(), TQAccel, and ntqnamespace.h.

int TQMenuData::insertItem ( const TQPixmap & pixmap, const TQObject * receiver, const char * member, const TQKeySequence & accel = 0, int id = -1, int index = -1 )

@@ -371,7 +371,7 @@ the item. The item is connected to the member slot in the receiver<

To look best when being highlighted as a menu item, the pixmap should provide a mask (see TQPixmap::mask()).

Returns the allocated menu identifier number (id if id >= 0). -

See also removeItem(), changeItem(), setAccel(), connectItem(), TQAccel, and ntqnamespace.h. +

See also removeItem(), changeItem(), setAccel(), connectItem(), TQAccel, and ntqnamespace.h.

int TQMenuData::insertItem ( const TQString & text, int id = -1, int index = -1 )

@@ -487,7 +487,7 @@ safely by calling:

Returns the allocated menu identifier number (id if id >= 0).

See also removeItem(). -

int TQMenuData::insertItem ( const TQIconSet & icon, TQCustomMenuItem * custom, int id = -1, int index = -1 ) +

int TQMenuData::insertItem ( const TQIconSet & icon, TQCustomMenuItem * custom, int id = -1, int index = -1 )

This is an overloaded member function, provided for convenience. It behaves essentially like the above function.

Inserts a custom menu item custom with an icon and with @@ -496,9 +496,9 @@ optional id id, and optional index position. bars. Ownership of custom is transferred to the popup menu.

If you want to connect a custom item to a slot, use connectItem().

Returns the allocated menu identifier number (id if id >= 0). -

See also connectItem(), removeItem(), and TQCustomMenuItem. +

See also connectItem(), removeItem(), and TQCustomMenuItem. -

int TQMenuData::insertItem ( TQCustomMenuItem * custom, int id = -1, int index = -1 ) +

int TQMenuData::insertItem ( TQCustomMenuItem * custom, int id = -1, int index = -1 )

This is an overloaded member function, provided for convenience. It behaves essentially like the above function.

Inserts a custom menu item custom with optional id id, and @@ -507,7 +507,7 @@ optional index position. bars. Ownership of custom is transferred to the popup menu.

If you want to connect a custom item to a slot, use connectItem().

Returns the allocated menu identifier number (id if id >= 0). -

See also connectItem(), removeItem(), and TQCustomMenuItem. +

See also connectItem(), removeItem(), and TQCustomMenuItem.

int TQMenuData::insertSeparator ( int index = -1 )

@@ -610,7 +610,7 @@ that live in a menu bar since their accelerators will then be installed in the menu bar itself. This also applies to stand-alone popup menus that have a top-level widget in their parentWidget() chain. The menu will then install its accelerator object on that -top-level widget. For all other cases use an independent TQAccel +top-level widget. For all other cases use an independent TQAccel object.

Example:

@@ -631,7 +631,7 @@ object.
 

You can also specify the accelerator in the insertItem() function. You may prefer to use TQAction to associate accelerators with menu items. -

See also accel(), insertItem(), TQAccel, and TQAction. +

See also accel(), insertItem(), TQAccel, and TQAction.

Example: menu/menu.cpp.

void TQMenuData::setId ( int index, int id ) [virtual] -- cgit v1.2.1