summaryrefslogtreecommitdiffstats
path: root/filters/karbon/wmf/wmfexport.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:40:13 +0900
commitc8c5e11f05f023849896d09cf06917e9a2c016ca (patch)
treea62f00b0249b967528e115e2123b56d40633c17a /filters/karbon/wmf/wmfexport.cpp
parentc9973bfbf1091ef91f30b5ab456015676123aa47 (diff)
downloadkoffice-c8c5e11f.tar.gz
koffice-c8c5e11f.zip
Replace Qt with TQt
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit ef06f14f2475bd08d3ea2ceec54a7b2238f3554e)
Diffstat (limited to 'filters/karbon/wmf/wmfexport.cpp')
-rw-r--r--filters/karbon/wmf/wmfexport.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/filters/karbon/wmf/wmfexport.cpp b/filters/karbon/wmf/wmfexport.cpp
index de929ca88..6236aa577 100644
--- a/filters/karbon/wmf/wmfexport.cpp
+++ b/filters/karbon/wmf/wmfexport.cpp
@@ -225,15 +225,15 @@ void WmfExport::getBrush( TQBrush& brush, const VFill *fill ) {
if( (fill->type() == VFill::solid) || (fill->type() == VFill::grad)
|| (fill->type() == VFill::patt) ) {
if ( fill->color().opacity() < 0.1 ) {
- brush.setStyle( Qt::NoBrush );
+ brush.setStyle( TQt::NoBrush );
}
else {
- brush.setStyle( Qt::SolidPattern );
+ brush.setStyle( TQt::SolidPattern );
brush.setColor( fill->color() );
}
}
else {
- brush.setStyle( Qt::NoBrush );
+ brush.setStyle( TQt::NoBrush );
}
}
@@ -244,17 +244,17 @@ void WmfExport::getPen( TQPen& pen, const VStroke *stroke ) {
// TODO : Dash pattern.
if ( stroke->lineCap() == VStroke::capRound ) {
- pen.setCapStyle( Qt::RoundCap );
+ pen.setCapStyle( TQt::RoundCap );
}
else {
- pen.setCapStyle( Qt::SquareCap );
+ pen.setCapStyle( TQt::SquareCap );
}
- pen.setStyle( Qt::SolidLine );
+ pen.setStyle( TQt::SolidLine );
pen.setColor( stroke->color() );
pen.setWidth( coordX( stroke->lineWidth() ) );
}
else {
- pen.setStyle( Qt::NoPen );
+ pen.setStyle( TQt::NoPen );
}
}