summaryrefslogtreecommitdiffstats
path: root/doc/man/man3/tqpen.3qt
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2024-07-20 20:15:52 +0900
committerMichele Calgaro <[email protected]>2024-07-21 23:04:19 +0900
commit1e9fa8e06de5da7fcc268e9cccb2d6b21c5f53a3 (patch)
tree5f1bb482f68ee0f95843fbf375cd2274acdabf25 /doc/man/man3/tqpen.3qt
parent14c414378d96f7463b989384f4a0e5dd76632b6d (diff)
downloadtqt3-1e9fa8e06de5da7fcc268e9cccb2d6b21c5f53a3.tar.gz
tqt3-1e9fa8e06de5da7fcc268e9cccb2d6b21c5f53a3.zip
Rename graphics class nt* related files to equivalent tq* (part 2)
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'doc/man/man3/tqpen.3qt')
-rw-r--r--doc/man/man3/tqpen.3qt76
1 files changed, 38 insertions, 38 deletions
diff --git a/doc/man/man3/tqpen.3qt b/doc/man/man3/tqpen.3qt
index fa631e8f0..0bac205aa 100644
--- a/doc/man/man3/tqpen.3qt
+++ b/doc/man/man3/tqpen.3qt
@@ -1,5 +1,5 @@
'\" t
-.TH QPen 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*-
+.TH TQPen 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*-
.\" Copyright 1992-2007 Trolltech ASA. All rights reserved. See the
.\" license file included in the distribution for a complete license
.\" statement.
@@ -7,34 +7,34 @@
.ad l
.nh
.SH NAME
-QPen \- Defines how a TQPainter should draw lines and outlines of shapes
+TQPen \- Defines how a TQPainter should draw lines and outlines of shapes
.SH SYNOPSIS
-\fC#include <ntqpen.h>\fR
+\fC#include <tqpen.h>\fR
.PP
Inherits Qt.
.PP
.SS "Public Members"
.in +1c
.ti -1c
-.BI "\fBQPen\fR ()"
+.BI "\fBTQPen\fR ()"
.br
.ti -1c
-.BI "\fBQPen\fR ( PenStyle style )"
+.BI "\fBTQPen\fR ( PenStyle style )"
.br
.ti -1c
-.BI "\fBQPen\fR ( const TQColor & color, uint width = 0, PenStyle style = SolidLine )"
+.BI "\fBTQPen\fR ( const TQColor & color, uint width = 0, PenStyle style = SolidLine )"
.br
.ti -1c
-.BI "\fBQPen\fR ( const TQColor & cl, uint w, PenStyle s, PenCapStyle c, PenJoinStyle j )"
+.BI "\fBTQPen\fR ( const TQColor & cl, uint w, PenStyle s, PenCapStyle c, PenJoinStyle j )"
.br
.ti -1c
-.BI "\fBQPen\fR ( const QPen & p )"
+.BI "\fBTQPen\fR ( const TQPen & p )"
.br
.ti -1c
-.BI "\fB~QPen\fR ()"
+.BI "\fB~TQPen\fR ()"
.br
.ti -1c
-.BI "QPen & \fBoperator=\fR ( const QPen & p )"
+.BI "TQPen & \fBoperator=\fR ( const TQPen & p )"
.br
.ti -1c
.BI "PenStyle \fBstyle\fR () const"
@@ -67,23 +67,23 @@ Inherits Qt.
.BI "void \fBsetJoinStyle\fR ( PenJoinStyle j )"
.br
.ti -1c
-.BI "bool \fBoperator==\fR ( const QPen & p ) const"
+.BI "bool \fBoperator==\fR ( const TQPen & p ) const"
.br
.ti -1c
-.BI "bool \fBoperator!=\fR ( const QPen & p ) const"
+.BI "bool \fBoperator!=\fR ( const TQPen & p ) const"
.br
.in -1c
.SH RELATED FUNCTION DOCUMENTATION
.in +1c
.ti -1c
-.BI "TQDataStream & \fBoperator<<\fR ( TQDataStream & s, const QPen & p )"
+.BI "TQDataStream & \fBoperator<<\fR ( TQDataStream & s, const TQPen & p )"
.br
.ti -1c
-.BI "TQDataStream & \fBoperator>>\fR ( TQDataStream & s, QPen & p )"
+.BI "TQDataStream & \fBoperator>>\fR ( TQDataStream & s, TQPen & p )"
.br
.in -1c
.SH DESCRIPTION
-The QPen class defines how a TQPainter should draw lines and outlines of shapes.
+The TQPen class defines how a TQPainter should draw lines and outlines of shapes.
.PP
A pen has a style, width, color, cap style and join style.
.PP
@@ -103,7 +103,7 @@ Example:
.br
TQPainter painter;
.br
- QPen pen( red, 2 ); // red solid line, 2 pixels wide
+ TQPen pen( red, 2 ); // red solid line, 2 pixels wide
.br
painter.begin( &anyPaintDevice ); // paint something
.br
@@ -133,55 +133,55 @@ A pen's color(), width(), style(), capStyle() and joinStyle() can be set in the
.PP
See also TQPainter, TQPainter::setPen(), Graphics Classes, Image Processing Classes, and Implicitly and Explicitly Shared Classes.
.SH MEMBER FUNCTION DOCUMENTATION
-.SH "QPen::QPen ()"
+.SH "TQPen::TQPen ()"
Constructs a default black solid line pen with 0 width, which renders lines 1 pixel wide (fast diagonals).
-.SH "QPen::QPen ( PenStyle style )"
+.SH "TQPen::TQPen ( PenStyle style )"
Constructs a black pen with 0 width (fast diagonals) and style \fIstyle\fR.
.PP
See also setStyle().
-.SH "QPen::QPen ( const TQColor & color, uint width = 0, PenStyle style = SolidLine )"
+.SH "TQPen::TQPen ( 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 TQColor & cl, uint w, PenStyle s, PenCapStyle c, PenJoinStyle j )"
+.SH "TQPen::TQPen ( 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.
.PP
See also setWidth(), setStyle(), and setColor().
-.SH "QPen::QPen ( const QPen & p )"
+.SH "TQPen::TQPen ( const TQPen & p )"
Constructs a pen that is a copy of \fIp\fR.
-.SH "QPen::~QPen ()"
+.SH "TQPen::~TQPen ()"
Destroys the pen.
-.SH "PenCapStyle QPen::capStyle () const"
+.SH "PenCapStyle TQPen::capStyle () const"
Returns the pen's cap style.
.PP
See also setCapStyle().
-.SH "const TQColor & QPen::color () const"
+.SH "const TQColor & TQPen::color () const"
Returns the pen color.
.PP
See also setColor().
.PP
Example: scribble/scribble.h.
-.SH "PenJoinStyle QPen::joinStyle () const"
+.SH "PenJoinStyle TQPen::joinStyle () const"
Returns the pen's join style.
.PP
See also setJoinStyle().
-.SH "bool QPen::operator!= ( const QPen & p ) const"
+.SH "bool TQPen::operator!= ( const TQPen & p ) const"
Returns TRUE if the pen is different from \fIp\fR; otherwise returns FALSE.
.PP
Two pens are different if they have different styles, widths or colors.
.PP
See also operator==().
-.SH "QPen & QPen::operator= ( const QPen & p )"
+.SH "TQPen & TQPen::operator= ( const TQPen & p )"
Assigns \fIp\fR to this pen and returns a reference to this pen.
-.SH "bool QPen::operator== ( const QPen & p ) const"
+.SH "bool TQPen::operator== ( const TQPen & p ) const"
Returns TRUE if the pen is equal to \fIp\fR; otherwise returns FALSE.
.PP
Two pens are equal if they have equal styles, widths and colors.
.PP
See also operator!=().
-.SH "void QPen::setCapStyle ( PenCapStyle c )"
+.SH "void TQPen::setCapStyle ( PenCapStyle c )"
Sets the pen's cap style to \fIc\fR.
.PP
The default value is FlatCap. The cap style has no effect on 0-width pens.
@@ -197,14 +197,14 @@ 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 TQColor & c )"
+.SH "void TQPen::setColor ( const TQColor & c )"
Sets the pen color to \fIc\fR.
.PP
See also color().
.PP
Examples:
.)l progress/progress.cpp and scribble/scribble.h.
-.SH "void QPen::setJoinStyle ( PenJoinStyle j )"
+.SH "void TQPen::setJoinStyle ( PenJoinStyle j )"
Sets the pen's join style to \fIj\fR.
.PP
The default value is MiterJoin. The join style has no effect on 0-width pens.
@@ -220,7 +220,7 @@ The default value is MiterJoin. The join style has no effect on 0-width pens.
See also joinStyle().
.PP
Example: themes/wood.cpp.
-.SH "void QPen::setStyle ( PenStyle s )"
+.SH "void TQPen::setStyle ( PenStyle s )"
Sets the pen style to \fIs\fR.
.PP
See the TQt::PenStyle documentation for a list of all the styles.
@@ -232,7 +232,7 @@ See the TQt::PenStyle documentation for a list of all the styles.
See also style().
.PP
Example: chart/chartform_canvas.cpp.
-.SH "void QPen::setWidth ( uint w )"
+.SH "void TQPen::setWidth ( uint w )"
Sets the pen width to \fIw\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.
@@ -241,28 +241,28 @@ See also width().
.PP
Examples:
.)l multiple/ax2.h, progress/progress.cpp, and scribble/scribble.h.
-.SH "PenStyle QPen::style () const"
+.SH "PenStyle TQPen::style () const"
Returns the pen style.
.PP
See also setStyle().
-.SH "uint QPen::width () const"
+.SH "uint TQPen::width () const"
Returns the pen width.
.PP
See also setWidth().
.PP
Example: scribble/scribble.h.
.SH RELATED FUNCTION DOCUMENTATION
-.SH "TQDataStream & operator<< ( TQDataStream & s, const QPen & p )"
+.SH "TQDataStream & operator<< ( TQDataStream & s, const TQPen & p )"
Writes the pen \fIp\fR to the stream \fIs\fR and returns a reference to the stream.
.PP
See also Format of the TQDataStream operators.
-.SH "TQDataStream & operator>> ( TQDataStream & s, QPen & p )"
+.SH "TQDataStream & operator>> ( TQDataStream & s, TQPen & p )"
Reads a pen from the stream \fIs\fR into \fIp\fR and returns a reference to the stream.
.PP
See also Format of the TQDataStream operators.
.SH "SEE ALSO"
-.BR http://doc.trolltech.com/ntqpen.html
+.BR http://doc.trolltech.com/tqpen.html
.BR http://www.trolltech.com/faq/tech.html
.SH COPYRIGHT
Copyright 1992-2007 Trolltech ASA, http://www.trolltech.com. See the