summaryrefslogtreecommitdiffstats
path: root/doc/man/man3/tqpen.3qt
diff options
context:
space:
mode:
Diffstat (limited to 'doc/man/man3/tqpen.3qt')
-rw-r--r--doc/man/man3/tqpen.3qt18
1 files changed, 9 insertions, 9 deletions
diff --git a/doc/man/man3/tqpen.3qt b/doc/man/man3/tqpen.3qt
index 303738670..50ec2848e 100644
--- a/doc/man/man3/tqpen.3qt
+++ b/doc/man/man3/tqpen.3qt
@@ -22,10 +22,10 @@ Inherits Qt.
.BI "\fBQPen\fR ( PenStyle style )"
.br
.ti -1c
-.BI "\fBQPen\fR ( const QColor & color, uint width = 0, PenStyle style = SolidLine )"
+.BI "\fBQPen\fR ( const TQColor & color, uint width = 0, PenStyle style = SolidLine )"
.br
.ti -1c
-.BI "\fBQPen\fR ( const QColor & cl, uint w, PenStyle s, PenCapStyle c, PenJoinStyle j )"
+.BI "\fBQPen\fR ( const TQColor & cl, uint w, PenStyle s, PenCapStyle c, PenJoinStyle j )"
.br
.ti -1c
.BI "\fBQPen\fR ( const QPen & p )"
@@ -49,10 +49,10 @@ Inherits Qt.
.BI "void \fBsetWidth\fR ( uint w )"
.br
.ti -1c
-.BI "const QColor & \fBcolor\fR () const"
+.BI "const TQColor & \fBcolor\fR () const"
.br
.ti -1c
-.BI "void \fBsetColor\fR ( const QColor & c )"
+.BI "void \fBsetColor\fR ( const TQColor & c )"
.br
.ti -1c
.BI "PenCapStyle \fBcapStyle\fR () const"
@@ -91,7 +91,7 @@ The pen style defines the line type. The default pen style is Qt::SolidLine. Set
.PP
When drawing 1 pixel wide diagonal lines you can either use a very fast algorithm (specified by a line width of 0, which is the default), or a slower but more accurate algorithm (specified by a line width of 1). For horizontal and vertical lines a line width of 0 is the same as a line width of 1. The cap and join style have no effect on 0-width lines.
.PP
-The pen color defines the color of lines and text. The default line color is black. The QColor documentation lists predefined colors.
+The pen color defines the color of lines and text. The default line color is black. The TQColor documentation lists predefined colors.
.PP
The cap style defines how the end points of lines are drawn. The join style defines how the joins between two lines are drawn when multiple connected lines are drawn (QPainter::drawPolyline() etc.). The cap and join styles only apply to wide lines, i.e. when the width is 1 or greater.
.PP
@@ -139,11 +139,11 @@ Constructs a default black solid line pen with 0 width, which renders lines 1 pi
Constructs a black pen with 0 width (fast diagonals) and style \fIstyle\fR.
.PP
See also setStyle().
-.SH "QPen::QPen ( const QColor & color, uint width = 0, PenStyle style = SolidLine )"
+.SH "QPen::QPen ( const TQColor & color, uint width = 0, PenStyle style = SolidLine )"
Constructs a pen with the specified \fIcolor\fR, \fIwidth\fR and \fIstyle\fR.
.PP
See also setWidth(), setStyle(), and setColor().
-.SH "QPen::QPen ( const QColor & cl, uint w, PenStyle s, PenCapStyle c, PenJoinStyle j )"
+.SH "QPen::QPen ( const TQColor & cl, uint w, PenStyle s, PenCapStyle c, PenJoinStyle j )"
Constructs a pen with the specified color \fIcl\fR and width \fIw\fR. The pen style is set to \fIs\fR, the pen cap style to \fIc\fR and the pen join style to \fIj\fR.
.PP
A line width of 0 will produce a 1 pixel wide line using a fast algorithm for diagonals. A line width of 1 will also produce a 1 pixel wide line, but uses a slower more accurate algorithm for diagonals. For horizontal and vertical lines a line width of 0 is the same as a line width of 1. The cap and join style have no effect on 0-width lines.
@@ -157,7 +157,7 @@ Destroys the pen.
Returns the pen's cap style.
.PP
See also setCapStyle().
-.SH "const QColor & QPen::color () const"
+.SH "const TQColor & QPen::color () const"
Returns the pen color.
.PP
See also setColor().
@@ -197,7 +197,7 @@ The default value is FlatCap. The cap style has no effect on 0-width pens.
See also capStyle().
.PP
Example: themes/wood.cpp.
-.SH "void QPen::setColor ( const QColor & c )"
+.SH "void QPen::setColor ( const TQColor & c )"
Sets the pen color to \fIc\fR.
.PP
See also color().