summaryrefslogtreecommitdiffstats
path: root/lib/kwmf/kowmfreadprivate.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/kwmf/kowmfreadprivate.cpp')
-rw-r--r--lib/kwmf/kowmfreadprivate.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/lib/kwmf/kowmfreadprivate.cpp b/lib/kwmf/kowmfreadprivate.cpp
index f812b766..01ba4df4 100644
--- a/lib/kwmf/kowmfreadprivate.cpp
+++ b/lib/kwmf/kowmfreadprivate.cpp
@@ -574,9 +574,9 @@ void KoWmfReadPrivate::setBkMode( TQ_UINT32, TQDataStream& stream )
stream >> bkMode;
if ( bkMode == 1 )
- mReadWmf->setBackgroundMode( Qt::TransparentMode );
+ mReadWmf->setBackgroundMode( TQt::TransparentMode );
else
- mReadWmf->setBackgroundMode( Qt::OpaqueMode );
+ mReadWmf->setBackgroundMode( TQt::OpaqueMode );
}
@@ -867,7 +867,7 @@ void KoWmfReadPrivate::createEmptyObject()
void KoWmfReadPrivate::createBrushIndirect( TQ_UINT32, TQDataStream& stream )
{
- Qt::BrushStyle style;
+ TQt::BrushStyle style;
TQ_UINT16 sty, arg2;
TQ_UINT32 color;
KoWmfBrushHandle* handle = new KoWmfBrushHandle;
@@ -881,7 +881,7 @@ void KoWmfReadPrivate::createBrushIndirect( TQ_UINT32, TQDataStream& stream )
else
{
kdDebug() << "KoWmfReadPrivate::createBrushIndirect: invalid hatched brush " << arg2 << endl;
- style = Qt::SolidPattern;
+ style = TQt::SolidPattern;
}
}
else {
@@ -889,7 +889,7 @@ void KoWmfReadPrivate::createBrushIndirect( TQ_UINT32, TQDataStream& stream )
style = koWmfStyleBrush[ sty ];
else {
kdDebug() << "KoWmfReadPrivate::createBrushIndirect: invalid brush " << sty << endl;
- style = Qt::SolidPattern;
+ style = TQt::SolidPattern;
}
}
handle->brush.setStyle( style );
@@ -901,7 +901,7 @@ void KoWmfReadPrivate::createBrushIndirect( TQ_UINT32, TQDataStream& stream )
void KoWmfReadPrivate::createPenIndirect( TQ_UINT32, TQDataStream& stream )
{
// TODO: userStyle and alternateStyle
- Qt::PenStyle penStyle;
+ TQt::PenStyle penStyle;
TQ_UINT32 color;
TQ_UINT16 style, width, arg;
@@ -914,12 +914,12 @@ void KoWmfReadPrivate::createPenIndirect( TQ_UINT32, TQDataStream& stream )
penStyle=koWmfStylePen[ style ];
else {
kdDebug() << "KoWmfReadPrivate::createPenIndirect: invalid pen " << style << endl;
- penStyle = Qt::SolidLine;
+ penStyle = TQt::SolidLine;
}
handle->pen.setStyle( penStyle );
handle->pen.setColor( qtColor( color ) );
- handle->pen.setCapStyle( Qt::RoundCap );
+ handle->pen.setCapStyle( TQt::RoundCap );
handle->pen.setWidth( width );
}
}