summaryrefslogtreecommitdiffstats
path: root/src/kernel/qsize.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/kernel/qsize.cpp')
-rw-r--r--src/kernel/qsize.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/kernel/qsize.cpp b/src/kernel/qsize.cpp
index d871aa74d..2fbe1f4e8 100644
--- a/src/kernel/qsize.cpp
+++ b/src/kernel/qsize.cpp
@@ -401,9 +401,9 @@ void TQSize::warningDivByZero()
TQDataStream &operator<<( TQDataStream &s, const TQSize &sz )
{
if ( s.version() == 1 )
- s << (Q_INT16)sz.width() << (Q_INT16)sz.height();
+ s << (TQ_INT16)sz.width() << (TQ_INT16)sz.height();
else
- s << (Q_INT32)sz.width() << (Q_INT32)sz.height();
+ s << (TQ_INT32)sz.width() << (TQ_INT32)sz.height();
return s;
}
@@ -418,12 +418,12 @@ TQDataStream &operator<<( TQDataStream &s, const TQSize &sz )
TQDataStream &operator>>( TQDataStream &s, TQSize &sz )
{
if ( s.version() == 1 ) {
- Q_INT16 w, h;
+ TQ_INT16 w, h;
s >> w; sz.rwidth() = w;
s >> h; sz.rheight() = h;
}
else {
- Q_INT32 w, h;
+ TQ_INT32 w, h;
s >> w; sz.rwidth() = w;
s >> h; sz.rheight() = h;
}