summaryrefslogtreecommitdiffstats
path: root/doc/man/man3/tqmenubar.3qt
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-08-25 15:36:25 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-08-29 22:23:36 +0900
commit0917fbb5387978eb7b2e2fd68bcb6beaa8c46505 (patch)
tree0ef68a6a92087957855c7607ac176821d10d049d /doc/man/man3/tqmenubar.3qt
parent7b1d2ad2df8cd011b487c43336aa67639fa359c9 (diff)
downloadtqt-0917fbb5387978eb7b2e2fd68bcb6beaa8c46505.tar.gz
tqt-0917fbb5387978eb7b2e2fd68bcb6beaa8c46505.zip
Rename remaining ntq[a-c]* related files to equivalent tq* (except ntqapplication.h and ntqconfig.h)
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'doc/man/man3/tqmenubar.3qt')
-rw-r--r--doc/man/man3/tqmenubar.3qt26
1 files changed, 13 insertions, 13 deletions
diff --git a/doc/man/man3/tqmenubar.3qt b/doc/man/man3/tqmenubar.3qt
index 17b5cd547..2d9efaf8a 100644
--- a/doc/man/man3/tqmenubar.3qt
+++ b/doc/man/man3/tqmenubar.3qt
@@ -97,10 +97,10 @@ Inherits TQFrame and TQMenuData.
.BI "int \fBinsertItem\fR ( TQWidget * widget, int id = -1, int index = -1 )"
.br
.ti -1c
-.BI "int \fBinsertItem\fR ( const TQIconSet & icon, QCustomMenuItem * custom, int id = -1, int index = -1 )"
+.BI "int \fBinsertItem\fR ( const TQIconSet & icon, TQCustomMenuItem * custom, int id = -1, int index = -1 )"
.br
.ti -1c
-.BI "int \fBinsertItem\fR ( QCustomMenuItem * custom, int id = -1, int index = -1 )"
+.BI "int \fBinsertItem\fR ( TQCustomMenuItem * custom, int id = -1, int index = -1 )"
.br
.ti -1c
.BI "int \fBinsertSeparator\fR ( int index = -1 )"
@@ -198,7 +198,7 @@ Example (from action/application.cpp):
fileNewAction->addTo( file );
.fi
.PP
-Menu items can have text and pixmaps (or iconsets), see the various insertItem() overloads, as well as separators, see insertSeparator(). You can also add custom menu items that are derived from QCustomMenuItem.
+Menu items can have text and pixmaps (or iconsets), see the various insertItem() overloads, as well as separators, see insertSeparator(). You can also add custom menu items that are derived from TQCustomMenuItem.
.PP
Menu items may be removed with removeItem() and enabled or disabled with setItemEnabled().
.PP
@@ -225,7 +225,7 @@ l - l. String matches Placement Notes about.* Application Menu | About If this e
.PP
menu/menu.cpp is an example of TQMenuBar and TQPopupMenu use.
.PP
-See also TQPopupMenu, QAccel, TQAction, Aqua Style Guidelines, GUI Design Handbook: Menu Bar, and Main Window and Related Classes.
+See also TQPopupMenu, TQAccel, TQAction, Aqua Style Guidelines, GUI Design Handbook: Menu Bar, and Main Window and Related Classes.
.SS "Member Type Documentation"
.SH "TQMenuBar::Separator"
This enum type is used to decide whether TQMenuBar should draw a separator line at its bottom.
@@ -278,7 +278,7 @@ See also activated() and TQMenuData::insertItem().
.SH "int TQMenuData::insertItem ( const TQString & text, const TQObject * receiver, const char * member, const QKeySequence & accel = 0, int id = -1, int index = -1 )"
The family of insertItem() functions inserts menu items into a popup menu or a menu bar.
.PP
-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 QCustomMenuItem) or even widgets into popup menus.
+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 even widgets into popup menus.
.PP
Some insertItem() members take a popup menu as an additional argument. Use this to insert submenus into existing menus or pulldown menus into a menu bar.
.PP
@@ -322,7 +322,7 @@ The \fIid\fR specifies the identification number associated with the menu item.
.PP
The \fIindex\fR specifies the position in the menu. The menu item is appended at the end of the list if \fIindex\fR is negative.
.PP
-Note that keyboard accelerators in TQt are not application-global, instead they are bound to a certain top-level window. For example, accelerators in TQPopupMenu items only work for menus that are associated with a certain window. This is true for popup menus 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 QAccel object.
+Note that keyboard accelerators in TQt are not application-global, instead they are bound to a certain top-level window. For example, accelerators in TQPopupMenu items only work for menus that are associated with a certain window. This is true for popup menus 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 object.
.PP
\fBWarning:\fR Be careful when passing a literal 0 to insertItem() because some C++ compilers choose the wrong overloaded function. Cast the 0 to what you mean, e.g. \fC(TQObject*)0\fR.
.PP
@@ -330,7 +330,7 @@ Note that keyboard accelerators in TQt are not application-global, instead they
.PP
Returns the allocated menu identifier number (\fIid\fR if \fIid\fR >= 0).
.PP
-See also removeItem(), changeItem(), setAccel(), connectItem(), QAccel, and ntqnamespace.h.
+See also removeItem(), changeItem(), setAccel(), connectItem(), TQAccel, and ntqnamespace.h.
.PP
Examples:
.)l addressbook/mainwindow.cpp, canvas/canvas.cpp, menu/menu.cpp, qwerty/qwerty.cpp, scrollview/scrollview.cpp, showimg/showimg.cpp, and sound/sound.cpp.
@@ -341,7 +341,7 @@ Inserts a menu item with icon \fIicon\fR, text \fItext\fR, accelerator \fIaccel\
.PP
Returns the allocated menu identifier number (\fIid\fR if \fIid\fR >= 0).
.PP
-See also removeItem(), changeItem(), setAccel(), connectItem(), QAccel, and ntqnamespace.h.
+See also removeItem(), changeItem(), setAccel(), connectItem(), TQAccel, and ntqnamespace.h.
.SH "int TQMenuData::insertItem ( const TQPixmap & pixmap, const TQObject * receiver, const char * member, const QKeySequence & accel = 0, int id = -1, int index = -1 )"
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
.PP
@@ -361,7 +361,7 @@ To look best when being highlighted as a menu item, the pixmap should provide a
.PP
Returns the allocated menu identifier number (\fIid\fR if \fIid\fR >= 0).
.PP
-See also removeItem(), changeItem(), setAccel(), connectItem(), QAccel, and ntqnamespace.h.
+See also removeItem(), changeItem(), setAccel(), connectItem(), TQAccel, and ntqnamespace.h.
.SH "int TQMenuData::insertItem ( const TQString & text, int id = -1, int index = -1 )"
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
.PP
@@ -464,7 +464,7 @@ If the widget is focus-enabled it will get focus when the user traverses the pop
Returns the allocated menu identifier number (\fIid\fR if \fIid\fR >= 0).
.PP
See also removeItem().
-.SH "int TQMenuData::insertItem ( const TQIconSet & icon, QCustomMenuItem * custom, int id = -1, int index = -1 )"
+.SH "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.
.PP
Inserts a custom menu item \fIcustom\fR with an \fIicon\fR and with optional id \fIid\fR, and optional \fIindex\fR position.
@@ -475,8 +475,8 @@ If you want to connect a custom item to a slot, use connectItem().
.PP
Returns the allocated menu identifier number (\fIid\fR if \fIid\fR >= 0).
.PP
-See also connectItem(), removeItem(), and QCustomMenuItem.
-.SH "int TQMenuData::insertItem ( QCustomMenuItem * custom, int id = -1, int index = -1 )"
+See also connectItem(), removeItem(), and TQCustomMenuItem.
+.SH "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.
.PP
Inserts a custom menu item \fIcustom\fR with optional id \fIid\fR, and optional \fIindex\fR position.
@@ -487,7 +487,7 @@ If you want to connect a custom item to a slot, use connectItem().
.PP
Returns the allocated menu identifier number (\fIid\fR if \fIid\fR >= 0).
.PP
-See also connectItem(), removeItem(), and QCustomMenuItem.
+See also connectItem(), removeItem(), and TQCustomMenuItem.
.SH "int TQMenuData::insertSeparator ( int index = -1 )"
Inserts a separator at position \fIindex\fR, and returns the menu identifier number allocated to it. The separator becomes the last menu item if \fIindex\fR is negative.
.PP