summaryrefslogtreecommitdiffstats
path: root/src/kernel/qpainter.cpp
diff options
context:
space:
mode:
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;