summaryrefslogtreecommitdiffstats
path: root/src/kernel/qcolor.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2012-06-17 17:28:28 -0500
committerTimothy Pearson <[email protected]>2012-06-17 17:28:28 -0500
commit6dec101d43dcbd4195c47d54bd388db1a8d7230e (patch)
tree7c336cbed3a93807a34cd4df39b2f92a7d48a141 /src/kernel/qcolor.cpp
parentf27c2533f735d53c6b555f387c6390c0690cc246 (diff)
downloadtqt3-6dec101d43dcbd4195c47d54bd388db1a8d7230e.tar.gz
tqt3-6dec101d43dcbd4195c47d54bd388db1a8d7230e.zip
Automated update from Qt3
Diffstat (limited to 'src/kernel/qcolor.cpp')
-rw-r--r--src/kernel/qcolor.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/kernel/qcolor.cpp b/src/kernel/qcolor.cpp
index eb345bfd7..af11e67a7 100644
--- a/src/kernel/qcolor.cpp
+++ b/src/kernel/qcolor.cpp
@@ -930,7 +930,7 @@ uint TQColor::pixel() const
TQDataStream &operator<<( TQDataStream &s, const TQColor &c )
{
- Q_UINT32 p = (Q_UINT32)c.rgb();
+ TQ_UINT32 p = (TQ_UINT32)c.rgb();
if ( s.version() == 1 ) // Swap red and blue
p = ((p << 16) & 0xff0000) | ((p >> 16) & 0xff) | (p & 0xff00ff00);
return s << p;
@@ -945,7 +945,7 @@ TQDataStream &operator<<( TQDataStream &s, const TQColor &c )
TQDataStream &operator>>( TQDataStream &s, TQColor &c )
{
- Q_UINT32 p;
+ TQ_UINT32 p;
s >> p;
if ( s.version() == 1 ) // Swap red and blue
p = ((p << 16) & 0xff0000) | ((p >> 16) & 0xff) | (p & 0xff00ff00);