diff options
Diffstat (limited to 'doc/man/man3/tqpainter.3qt')
-rw-r--r-- | doc/man/man3/tqpainter.3qt | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/doc/man/man3/tqpainter.3qt b/doc/man/man3/tqpainter.3qt index 7558fd0ff..7072d00f2 100644 --- a/doc/man/man3/tqpainter.3qt +++ b/doc/man/man3/tqpainter.3qt @@ -463,7 +463,7 @@ Mostly, all this is done inside a paint event. (In fact, 99% of all QPainter use .br QPainter paint( this ); .br - paint.setPen( Qt::blue ); + paint.setPen( TQt::blue ); .br paint.drawText( rect(), AlignCenter, "The Text" ); .br @@ -710,7 +710,7 @@ If several of the horizontal or several of the vertical alignment flags are set, .PP The \fIintern\fR parameter should not be used. .PP -See also Qt::TextFlags. +See also TQt::TextFlags. .SH "QRect QPainter::boundingRect ( const QRect & r, int flags, const TQString & str, int len = -1, QTextParag ** internal = 0 )" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP @@ -718,7 +718,7 @@ Returns the bounding rectangle of the aligned text that would be printed with th .PP The \fIinternal\fR parameter should not be used. .PP -See also drawText(), fontMetrics(), QFontMetrics::boundingRect(), and Qt::TextFlags. +See also drawText(), fontMetrics(), QFontMetrics::boundingRect(), and TQt::TextFlags. .SH "const QBrush & QPainter::brush () const" Returns the painter's current brush. .PP @@ -821,7 +821,7 @@ Draws the image \fIi\fR at point \fIp\fR. .PP If the image needs to be modified to fit in a lower-resolution result (e.g. converting from 32-bit to 8-bit), use the \fIconversion_flags\fR to specify how you'd prefer this to happen. .PP -See also Qt::ImageConversionFlags. +See also TQt::ImageConversionFlags. .SH "void QPainter::drawImage ( const QRect & r, const TQImage & i )" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP @@ -997,13 +997,13 @@ Draws the text from position \fIpos\fR, at point \fI(x, y)\fR. If \fIlen\fR is - .SH "void QPainter::drawText ( int x, int y, int w, int h, int flags, const TQString &, int len = -1, QRect * br = 0, QTextParag ** internal = 0 )" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP -Draws the given text within the rectangle starting at \fIx\fR, \fIy\fR, with width \fIw\fR and height \fIh\fR. If \fIlen\fR is -1 (the default) all the text is drawn, otherwise the first \fIlen\fR characters are drawn. The text's flags that are given in the \fIflags\fR parameter are Qt::AlignmentFlags and Qt::TextFlags OR'd together. \fIbr\fR (if not null) is set to the actual bounding rectangle of the output. The \fIinternal\fR parameter is for internal use only. +Draws the given text within the rectangle starting at \fIx\fR, \fIy\fR, with width \fIw\fR and height \fIh\fR. If \fIlen\fR is -1 (the default) all the text is drawn, otherwise the first \fIlen\fR characters are drawn. The text's flags that are given in the \fIflags\fR parameter are TQt::AlignmentFlags and TQt::TextFlags OR'd together. \fIbr\fR (if not null) is set to the actual bounding rectangle of the output. The \fIinternal\fR parameter is for internal use only. .SH "void QPainter::drawText ( const QRect & r, int tf, const TQString & str, int len = -1, QRect * brect = 0, QTextParag ** internal = 0 )" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Draws at most \fIlen\fR characters from \fIstr\fR in the rectangle \fIr\fR. .PP -This function draws formatted text. The \fItf\fR text format is really of type Qt::AlignmentFlags and Qt::TextFlags OR'd together. +This function draws formatted text. The \fItf\fR text format is really of type TQt::AlignmentFlags and TQt::TextFlags OR'd together. .PP Horizontal alignment defaults to AlignAuto and vertical alignment defaults to AlignTop. .PP @@ -1341,7 +1341,7 @@ See also pen() and QPen. .SH "void QPainter::setRasterOp ( RasterOp r )" Sets the raster operation to \fIr\fR. The default is CopyROP. .PP -See also rasterOp() and Qt::RasterOp. +See also rasterOp() and TQt::RasterOp. .SH "void QPainter::setTabArray ( int * ta )" Sets the tab stop array to \fIta\fR. This puts tab stops at \fIta[0]\fR, \fIta[1]\fR and so on. The array is null-terminated. .PP |