diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-02-27 02:13:42 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-02-27 02:13:42 -0600 |
commit | 520c05ef06ce203ad32470730f68402bc7719157 (patch) | |
tree | 8d0bb18bbbecb4c837e232848905e5819db84b81 /doc/man/man3/qcolor.3qt | |
parent | b82553bf90cb5311cfe8e673b07cf6cffc95fd3c (diff) | |
download | tqt3-520c05ef06ce203ad32470730f68402bc7719157.tar.gz tqt3-520c05ef06ce203ad32470730f68402bc7719157.zip |
Automated update from qt3
Diffstat (limited to 'doc/man/man3/qcolor.3qt')
-rw-r--r-- | doc/man/man3/qcolor.3qt | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/doc/man/man3/qcolor.3qt b/doc/man/man3/qcolor.3qt index 76793dd46..17024287b 100644 --- a/doc/man/man3/qcolor.3qt +++ b/doc/man/man3/qcolor.3qt @@ -167,7 +167,7 @@ QColor \- Colors based on RGB or HSV values .BI "int \fBqGray\fR ( int r, int g, int b )" .br .ti -1c -.BI "int \fBqGray\fR ( qRgb rgb )" +.BI "int \fBqGray\fR ( tqRgb rgb )" .br .in -1c .SH DESCRIPTION @@ -482,7 +482,7 @@ The return type \fIQRgb\fR is equivalent to \fCunsigned\fR \fCint\fR. .PP For an invalid color, the alpha value of the returned color is unspecified. .PP -See also setRgb(), hsv(), qRed(), qBlue(), qGreen(), and isValid(). +See also setRgb(), hsv(), tqRed(), tqBlue(), tqGreen(), and isValid(). .SH "void QColor::rgb ( int * r, int * g, int * b ) const" \fBThis function is obsolete.\fR It is provided to keep old source working. We strongly advise against using it in new code. Use getRgb() instead .SH "void QColor::setHsv ( int h, int s, int v )" @@ -531,40 +531,40 @@ See also Format of the QDataStream operators. Reads a color object, \fIc\fR, from the stream, \fIs\fR. .PP See also Format of the QDataStream operators. -.SH "int qAlpha ( QRgb rgba )" +.SH "int tqAlpha ( QRgb rgba )" Returns the alpha component of the RGBA quadruplet \fIrgba\fR. -.SH "int qBlue ( QRgb rgb )" +.SH "int tqBlue ( QRgb rgb )" Returns the blue component of the RGB triplet \fIrgb\fR. .PP -See also qRgb() and QColor::blue(). -.SH "int qGray ( int r, int g, int b )" +See also tqRgb() and QColor::blue(). +.SH "int tqGray ( int r, int g, int b )" Returns a gray value 0..255 from the (\fIr\fR, \fIg\fR, \fIb\fR) triplet. .PP The gray value is calculated using the formula (r*11 + g*16 + b*5)/32. -.SH "int qGray ( qRgb rgb )" +.SH "int tqGray ( tqRgb rgb )" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Returns a gray value 0..255 from the given \fIrgb\fR colour. -.SH "int qGreen ( QRgb rgb )" +.SH "int tqGreen ( QRgb rgb )" Returns the green component of the RGB triplet \fIrgb\fR. .PP -See also qRgb() and QColor::green(). -.SH "int qRed ( QRgb rgb )" +See also tqRgb() and QColor::green(). +.SH "int tqRed ( QRgb rgb )" Returns the red component of the RGB triplet \fIrgb\fR. .PP -See also qRgb() and QColor::red(). -.SH "QRgb qRgb ( int r, int g, int b )" +See also tqRgb() and QColor::red(). +.SH "QRgb tqRgb ( int r, int g, int b )" Returns the RGB triplet \fI(r,g,b)\fR. .PP The return type QRgb is equivalent to \fCunsigned\fR \fCint\fR. .PP -See also qRgba(), qRed(), qGreen(), and qBlue(). -.SH "QRgb qRgba ( int r, int g, int b, int a )" +See also tqRgba(), tqRed(), tqGreen(), and tqBlue(). +.SH "QRgb tqRgba ( int r, int g, int b, int a )" Returns the RGBA quadruplet \fI(r,g,b,a)\fR. .PP The return type QRgba is equivalent to \fCunsigned\fR \fCint\fR. .PP -See also qRgb(), qRed(), qGreen(), and qBlue(). +See also tqRgb(), tqRed(), tqGreen(), and tqBlue(). .SH "SEE ALSO" .BR http://doc.trolltech.com/ntqcolor.html |