diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-11-25 14:05:14 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-11-25 14:05:14 -0600 |
commit | bd87b2af9dde0633e56a792665cdec7a9675da95 (patch) | |
tree | 372fc8bc287d9712646388e9543b291a30b9cbd6 /doc/html/porting2.html | |
parent | c5e69959c9eeb6a1396f1a60d7cf4f9781a2d47c (diff) | |
download | tqt3-bd87b2af9dde0633e56a792665cdec7a9675da95.tar.gz tqt3-bd87b2af9dde0633e56a792665cdec7a9675da95.zip |
Automated update from Qt3
Diffstat (limited to 'doc/html/porting2.html')
-rw-r--r-- | doc/html/porting2.html | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/html/porting2.html b/doc/html/porting2.html index 0276d068b..c9983a872 100644 --- a/doc/html/porting2.html +++ b/doc/html/porting2.html @@ -515,10 +515,10 @@ be in the more efficient order (for typical contemporary hardware). If your code made assumptions about the order, you will get blue where you expect red and vice versa (you'll not notice the problem if you use shades of gray, green, or magenta). You should port your code to use the -creator function <a href="ntqcolor.html#qRgb">qRgb</a>(int r,int g,int b) and the -access functions <a href="ntqcolor.html#qRed">qRed</a>(TQRgb), <a href="ntqcolor.html#qBlue">qBlue</a>(TQRgb), and <a href="ntqcolor.html#qGreen">qGreen</a>(TQRgb). +creator function <a href="ntqcolor.html#qRgb">tqRgb</a>(int r,int g,int b) and the +access functions <a href="ntqcolor.html#qRed">tqRed</a>(TQRgb), <a href="ntqcolor.html#qBlue">tqBlue</a>(TQRgb), and <a href="ntqcolor.html#qGreen">tqGreen</a>(TQRgb). If you are using the alpha channel, it hasn't moved, but you should use -the functions <a href="ntqcolor.html#qRgba">qRgba</a>(int,int,int,int) and <a href="ntqcolor.html#qAlpha">qAlpha</a>(TQRgb). Note also that +the functions <a href="ntqcolor.html#qRgba">tqRgba</a>(int,int,int,int) and <a href="ntqcolor.html#qAlpha">tqAlpha</a>(TQRgb). Note also that <a href="ntqcolor.html#pixel">TQColor::pixel</a>() does <i>not</i> return a TQRgb (it never did on all platforms, but your code may have assumed so on your platform) - this may also produce strange color results - use <a href="ntqcolor.html#rgb">TQColor::rgb</a>() if you want a TQRgb. |