diff options
Diffstat (limited to 'doc/man/man3/tqcustommenuitem.3qt')
-rw-r--r-- | doc/man/man3/tqcustommenuitem.3qt | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/man/man3/tqcustommenuitem.3qt b/doc/man/man3/tqcustommenuitem.3qt index 534f87769..65bc9d6c3 100644 --- a/doc/man/man3/tqcustommenuitem.3qt +++ b/doc/man/man3/tqcustommenuitem.3qt @@ -28,10 +28,10 @@ Inherits Qt. .BI "virtual bool \fBisSeparator\fR () const" .br .ti -1c -.BI "virtual void \fBsetFont\fR ( const QFont & font )" +.BI "virtual void \fBsetFont\fR ( const TQFont & font )" .br .ti -1c -.BI "virtual void \fBpaint\fR ( QPainter * p, const QColorGroup & cg, bool act, bool enabled, int x, int y, int w, int h ) = 0" +.BI "virtual void \fBpaint\fR ( TQPainter * p, const TQColorGroup & cg, bool act, bool enabled, int x, int y, int w, int h ) = 0" .br .ti -1c .BI "virtual TQSize \fBsizeHint\fR () = 0" @@ -69,11 +69,11 @@ Destroys a QCustomMenuItem Returns TRUE if this item wants to span the entire popup menu width; otherwise returns FALSE. The default is FALSE, meaning that the menu may show an icon and an accelerator key for this item as well. .SH "bool QCustomMenuItem::isSeparator () const\fC [virtual]\fR" Returns TRUE if this item is just a separator; otherwise returns FALSE. -.SH "void QCustomMenuItem::paint ( QPainter * p, const QColorGroup & cg, bool act, bool enabled, int x, int y, int w, int h )\fC [pure virtual]\fR" +.SH "void QCustomMenuItem::paint ( TQPainter * p, const TQColorGroup & cg, bool act, bool enabled, int x, int y, int w, int h )\fC [pure virtual]\fR" Paints this item. When this function is invoked, the painter \fIp\fR is set to a font and foreground color suitable for a menu item text using color group \fIcg\fR. The item is active if \fIact\fR is TRUE and enabled if \fIenabled\fR is TRUE. The geometry values \fIx\fR, \fIy\fR, \fIw\fR and \fIh\fR specify where to draw the item. .PP Do not draw any background, this has already been done by the popup menu according to the current GUI style. -.SH "void QCustomMenuItem::setFont ( const QFont & font )\fC [virtual]\fR" +.SH "void QCustomMenuItem::setFont ( const TQFont & font )\fC [virtual]\fR" 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. |