From ef06f14f2475bd08d3ea2ceec54a7b2238f3554e Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Sun, 5 Nov 2023 11:54:26 +0900 Subject: Replace Qt with TQt Signed-off-by: Michele Calgaro --- lib/kwmf/kowmfreadprivate.cpp | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'lib/kwmf/kowmfreadprivate.cpp') 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 ); } } -- cgit v1.2.1