diff options
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. |