summaryrefslogtreecommitdiffstats
path: root/src/kernel/qpainter.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/qpainter.cpp
parentf27c2533f735d53c6b555f387c6390c0690cc246 (diff)
downloadtqt3-6dec101d43dcbd4195c47d54bd388db1a8d7230e.tar.gz
tqt3-6dec101d43dcbd4195c47d54bd388db1a8d7230e.zip
Automated update from Qt3
Diffstat (limited to 'src/kernel/qpainter.cpp')
-rw-r--r--src/kernel/qpainter.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/kernel/qpainter.cpp b/src/kernel/qpainter.cpp
index e3841b4d4..0dad68364 100644
--- a/src/kernel/qpainter.cpp
+++ b/src/kernel/qpainter.cpp
@@ -3538,10 +3538,10 @@ TQDataStream &operator<<( TQDataStream &s, const TQPen &p )
{
// ### width() should not be restricted to 8-bit values
if ( s.version() < 3 )
- return s << (Q_UINT8)p.style() << (Q_UINT8)p.width() << p.color();
+ return s << (TQ_UINT8)p.style() << (TQ_UINT8)p.width() << p.color();
else
- return s << (Q_UINT8)( p.style() | p.capStyle() | p.joinStyle() )
- << (Q_UINT8)p.width() << p.color();
+ return s << (TQ_UINT8)( p.style() | p.capStyle() | p.joinStyle() )
+ << (TQ_UINT8)p.width() << p.color();
}
/*!
@@ -3555,7 +3555,7 @@ TQDataStream &operator<<( TQDataStream &s, const TQPen &p )
TQDataStream &operator>>( TQDataStream &s, TQPen &p )
{
- Q_UINT8 style, width;
+ TQ_UINT8 style, width;
TQColor color;
s >> style;
s >> width;
@@ -3927,7 +3927,7 @@ bool TQBrush::operator==( const TQBrush &b ) const
TQDataStream &operator<<( TQDataStream &s, const TQBrush &b )
{
- s << (Q_UINT8)b.style() << b.color();
+ s << (TQ_UINT8)b.style() << b.color();
if ( b.style() == TQt::CustomPattern )
#ifndef QT_NO_IMAGEIO
s << *b.pixmap();
@@ -3948,7 +3948,7 @@ TQDataStream &operator<<( TQDataStream &s, const TQBrush &b )
TQDataStream &operator>>( TQDataStream &s, TQBrush &b )
{
- Q_UINT8 style;
+ TQ_UINT8 style;
TQColor color;
s >> style;
s >> color;