summaryrefslogtreecommitdiffstats
path: root/src/kernel/qrect.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-06-17 17:28:28 -0500
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-06-17 17:28:28 -0500
commit6dec101d43dcbd4195c47d54bd388db1a8d7230e (patch)
tree7c336cbed3a93807a34cd4df39b2f92a7d48a141 /src/kernel/qrect.cpp
parentf27c2533f735d53c6b555f387c6390c0690cc246 (diff)
downloadtqt-6dec101d43dcbd4195c47d54bd388db1a8d7230e.tar.gz
tqt-6dec101d43dcbd4195c47d54bd388db1a8d7230e.zip
Automated update from Qt3
Diffstat (limited to 'src/kernel/qrect.cpp')
-rw-r--r--src/kernel/qrect.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/kernel/qrect.cpp b/src/kernel/qrect.cpp
index 3a8bd2fb6..2ca88a4c2 100644
--- a/src/kernel/qrect.cpp
+++ b/src/kernel/qrect.cpp
@@ -926,11 +926,11 @@ bool operator!=( const TQRect &r1, const TQRect &r2 )
TQDataStream &operator<<( TQDataStream &s, const TQRect &r )
{
if ( s.version() == 1 )
- s << (Q_INT16)r.left() << (Q_INT16)r.top()
- << (Q_INT16)r.right() << (Q_INT16)r.bottom();
+ s << (TQ_INT16)r.left() << (TQ_INT16)r.top()
+ << (TQ_INT16)r.right() << (TQ_INT16)r.bottom();
else
- s << (Q_INT32)r.left() << (Q_INT32)r.top()
- << (Q_INT32)r.right() << (Q_INT32)r.bottom();
+ s << (TQ_INT32)r.left() << (TQ_INT32)r.top()
+ << (TQ_INT32)r.right() << (TQ_INT32)r.bottom();
return s;
}
@@ -946,12 +946,12 @@ TQDataStream &operator<<( TQDataStream &s, const TQRect &r )
TQDataStream &operator>>( TQDataStream &s, TQRect &r )
{
if ( s.version() == 1 ) {
- Q_INT16 x1, y1, x2, y2;
+ TQ_INT16 x1, y1, x2, y2;
s >> x1; s >> y1; s >> x2; s >> y2;
r.setCoords( x1, y1, x2, y2 );
}
else {
- Q_INT32 x1, y1, x2, y2;
+ TQ_INT32 x1, y1, x2, y2;
s >> x1; s >> y1; s >> x2; s >> y2;
r.setCoords( x1, y1, x2, y2 );
}