summaryrefslogtreecommitdiffstats
path: root/lib/kwmf/kowmfreadprivate.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-11-05 11:54:26 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-11-16 23:37:57 +0900
commitef06f14f2475bd08d3ea2ceec54a7b2238f3554e (patch)
tree03df826633e4ba084d133ca977c4fc37c74f21ac /lib/kwmf/kowmfreadprivate.cpp
parent895081803a715ee89f4a90cfbf63d558ef2b2ebc (diff)
downloadkoffice-ef06f14f2475bd08d3ea2ceec54a7b2238f3554e.tar.gz
koffice-ef06f14f2475bd08d3ea2ceec54a7b2238f3554e.zip
Replace Qt with TQt
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
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 );
}
}