summaryrefslogtreecommitdiffstats
path: root/doc/man/man3/tqcustommenuitem.3qt
diff options
context:
space:
mode:
Diffstat (limited to 'doc/man/man3/tqcustommenuitem.3qt')
-rw-r--r--doc/man/man3/tqcustommenuitem.3qt10
1 files changed, 5 insertions, 5 deletions
diff --git a/doc/man/man3/tqcustommenuitem.3qt b/doc/man/man3/tqcustommenuitem.3qt
index 44b9da324..534f87769 100644
--- a/doc/man/man3/tqcustommenuitem.3qt
+++ b/doc/man/man3/tqcustommenuitem.3qt
@@ -9,7 +9,7 @@
.SH NAME
QCustomMenuItem \- Abstract base class for custom menu items in popup menus
.SH SYNOPSIS
-\fC#include <ntqmenudata.h>\fR
+\fC#include <tqmenudata.h>\fR
.PP
Inherits Qt.
.PP
@@ -34,7 +34,7 @@ Inherits Qt.
.BI "virtual void \fBpaint\fR ( QPainter * p, const QColorGroup & cg, bool act, bool enabled, int x, int y, int w, int h ) = 0"
.br
.ti -1c
-.BI "virtual QSize \fBsizeHint\fR () = 0"
+.BI "virtual TQSize \fBsizeHint\fR () = 0"
.br
.in -1c
.SH DESCRIPTION
@@ -44,7 +44,7 @@ A custom menu item is a menu item that is defined by two pure virtual functions,
.PP
This simple mechanism allows you to create all kinds of application specific menu items. Examples are items showing different fonts in a word processor or menus that allow the selection of drawing utilities in a vector drawing program.
.PP
-A custom item is inserted into a popup menu with QPopupMenu::insertItem().
+A custom item is inserted into a popup menu with TQPopupMenu::insertItem().
.PP
By default, a custom item can also have an icon and a keyboard accelerator. You can reimplement fullSpan() to return TRUE if you want the item to span the entire popup menu width. This is particularly useful for labels.
.PP
@@ -59,7 +59,7 @@ Note: the current implementation of QCustomMenuItem will not recognize shortcut
.ce 1
.B "[Image Omitted]"
.PP
-See also QMenuData, QPopupMenu, and Miscellaneous Classes.
+See also TQMenuData, TQPopupMenu, and Miscellaneous Classes.
.SH MEMBER FUNCTION DOCUMENTATION
.SH "QCustomMenuItem::QCustomMenuItem ()"
Constructs a QCustomMenuItem
@@ -77,7 +77,7 @@ Do not draw any background, this has already been done by the popup menu accordi
Sets the font of the custom menu item to \fIfont\fR.
.PP
This function is called whenever the font in the popup menu changes. For menu items that show their own individual font entry, you want to ignore this.
-.SH "QSize QCustomMenuItem::sizeHint ()\fC [pure virtual]\fR"
+.SH "TQSize QCustomMenuItem::sizeHint ()\fC [pure virtual]\fR"
Returns the item's size hint.
.SH "SEE ALSO"