summaryrefslogtreecommitdiffstats
path: root/src/kernel/qsize.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/qsize.cpp
parentf27c2533f735d53c6b555f387c6390c0690cc246 (diff)
downloadtqt3-6dec101d43dcbd4195c47d54bd388db1a8d7230e.tar.gz
tqt3-6dec101d43dcbd4195c47d54bd388db1a8d7230e.zip
Automated update from Qt3
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;
}