diff options
Diffstat (limited to 'filters/karbon/wmf')
-rw-r--r-- | filters/karbon/wmf/wmfexport.cpp | 14 | ||||
-rw-r--r-- | filters/karbon/wmf/wmfimportparser.cpp | 4 | ||||
-rw-r--r-- | filters/karbon/wmf/wmfimportparser.h | 4 |
3 files changed, 11 insertions, 11 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 ); } } diff --git a/filters/karbon/wmf/wmfimportparser.cpp b/filters/karbon/wmf/wmfimportparser.cpp index 275490fef..58be2e08e 100644 --- a/filters/karbon/wmf/wmfimportparser.cpp +++ b/filters/karbon/wmf/wmfimportparser.cpp @@ -49,7 +49,7 @@ bool WMFImportParser::play( VDocument& doc ) bool WMFImportParser::begin() { TQRect bounding = boundingRect(); - mBackgroundMode = Qt::TransparentMode; + mBackgroundMode = TQt::TransparentMode; mCurrentOrg.setX( bounding.left() ); mCurrentOrg.setY( bounding.top() ); @@ -111,7 +111,7 @@ void WMFImportParser::setBackgroundColor( const TQColor &c ) { } -void WMFImportParser::setBackgroundMode( Qt::BGMode mode ) { +void WMFImportParser::setBackgroundMode( TQt::BGMode mode ) { mBackgroundMode = mode; } diff --git a/filters/karbon/wmf/wmfimportparser.h b/filters/karbon/wmf/wmfimportparser.h index 4e904d7fc..a297c9967 100644 --- a/filters/karbon/wmf/wmfimportparser.h +++ b/filters/karbon/wmf/wmfimportparser.h @@ -60,7 +60,7 @@ private: // Drawing attributes/modes void setBackgroundColor( const TQColor &c ); - void setBackgroundMode( Qt::BGMode mode ); + void setBackgroundMode( TQt::BGMode mode ); void setRasterOp( TQt::RasterOp op ); /** @@ -128,7 +128,7 @@ private: TQRegion mClippingRegion; TQPen mPen; TQBrush mBrush; - Qt::BGMode mBackgroundMode; + TQt::BGMode mBackgroundMode; TQColor mBackgroundColor; // current origin of WMF logical coordinate TQPoint mCurrentOrg; |