summaryrefslogtreecommitdiffstats
path: root/src/kernel/qpoint.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/kernel/qpoint.cpp')
-rw-r--r--src/kernel/qpoint.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/kernel/qpoint.cpp b/src/kernel/qpoint.cpp
index e75134a28..98dc72576 100644
--- a/src/kernel/qpoint.cpp
+++ b/src/kernel/qpoint.cpp
@@ -397,9 +397,9 @@ void TQPoint::warningDivByZero()
TQDataStream &operator<<( TQDataStream &s, const TQPoint &p )
{
if ( s.version() == 1 )
- s << (Q_INT16)p.x() << (Q_INT16)p.y();
+ s << (TQ_INT16)p.x() << (TQ_INT16)p.y();
else
- s << (Q_INT32)p.x() << (Q_INT32)p.y();
+ s << (TQ_INT32)p.x() << (TQ_INT32)p.y();
return s;
}
@@ -415,12 +415,12 @@ TQDataStream &operator<<( TQDataStream &s, const TQPoint &p )
TQDataStream &operator>>( TQDataStream &s, TQPoint &p )
{
if ( s.version() == 1 ) {
- Q_INT16 x, y;
+ TQ_INT16 x, y;
s >> x; p.rx() = x;
s >> y; p.ry() = y;
}
else {
- Q_INT32 x, y;
+ TQ_INT32 x, y;
s >> x; p.rx() = x;
s >> y; p.ry() = y;
}