From bd87b2af9dde0633e56a792665cdec7a9675da95 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Sun, 25 Nov 2012 14:05:14 -0600 Subject: Automated update from Qt3 --- doc/html/porting2.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'doc/html/porting2.html') 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 qRgb(int r,int g,int b) and the -access functions qRed(TQRgb), qBlue(TQRgb), and qGreen(TQRgb). +creator function tqRgb(int r,int g,int b) and the +access functions tqRed(TQRgb), tqBlue(TQRgb), and tqGreen(TQRgb). If you are using the alpha channel, it hasn't moved, but you should use -the functions qRgba(int,int,int,int) and qAlpha(TQRgb). Note also that +the functions tqRgba(int,int,int,int) and tqAlpha(TQRgb). Note also that TQColor::pixel() does not 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 TQColor::rgb() if you want a TQRgb. -- cgit v1.2.1