summaryrefslogtreecommitdiffstats
path: root/doc/porting2.doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc/porting2.doc')
-rw-r--r--doc/porting2.doc6
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/porting2.doc b/doc/porting2.doc
index 26ff61b59..5b70b5fda 100644
--- a/doc/porting2.doc
+++ b/doc/porting2.doc
@@ -576,10 +576,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(QRgb), qBlue(QRgb), and qGreen(QRgb).
+creator function tqRgb(int r,int g,int b) and the
+access functions tqRed(QRgb), tqBlue(QRgb), and tqGreen(QRgb).
If you are using the alpha channel, it hasn't moved, but you should use
-the functions qRgba(int,int,int,int) and qAlpha(QRgb). Note also that
+the functions tqRgba(int,int,int,int) and tqAlpha(QRgb). Note also that
QColor::pixel() does <i>not</i> return a QRgb (it never did on all platforms,
but your code may have assumed so on your platform) - this may also produce
strange color results - use QColor::rgb() if you want a QRgb.