summaryrefslogtreecommitdiffstats
path: root/doc/porting2.doc
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-02-27 02:13:42 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-02-27 02:13:42 -0600
commit520c05ef06ce203ad32470730f68402bc7719157 (patch)
tree8d0bb18bbbecb4c837e232848905e5819db84b81 /doc/porting2.doc
parentb82553bf90cb5311cfe8e673b07cf6cffc95fd3c (diff)
downloadtqt3-520c05ef06ce203ad32470730f68402bc7719157.tar.gz
tqt3-520c05ef06ce203ad32470730f68402bc7719157.zip
Automated update from qt3
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.