diff options
| author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-11-05 11:54:26 +0900 |
|---|---|---|
| committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-11-16 23:40:13 +0900 |
| commit | c8c5e11f05f023849896d09cf06917e9a2c016ca (patch) | |
| tree | a62f00b0249b967528e115e2123b56d40633c17a /filters/karbon | |
| parent | c9973bfbf1091ef91f30b5ab456015676123aa47 (diff) | |
| download | koffice-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')
| -rw-r--r-- | filters/karbon/eps/epsexport.cpp | 2 | ||||
| -rw-r--r-- | filters/karbon/eps/epsexportdlg.cpp | 2 | ||||
| -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 |
5 files changed, 13 insertions, 13 deletions
diff --git a/filters/karbon/eps/epsexport.cpp b/filters/karbon/eps/epsexport.cpp index 023074daa..6d0621042 100644 --- a/filters/karbon/eps/epsexport.cpp +++ b/filters/karbon/eps/epsexport.cpp @@ -197,7 +197,7 @@ EpsExport::visitVDocument( VDocument& document ) TQDateTime now( TQDateTime::currentDateTime() ); *m_stream << - "%%CreationDate: (" << now.toString( Qt::LocalDate ) << ")\n" + "%%CreationDate: (" << now.toString( TQt::LocalDate ) << ")\n" "%%For: (" << authorPage->fullName() << ") (" << authorPage->company() << ")\n" "%%Title: (" << docInfo.title() << ")" << endl; diff --git a/filters/karbon/eps/epsexportdlg.cpp b/filters/karbon/eps/epsexportdlg.cpp index 4bf4aec7e..6ceb99e0c 100644 --- a/filters/karbon/eps/epsexportdlg.cpp +++ b/filters/karbon/eps/epsexportdlg.cpp @@ -34,7 +34,7 @@ EpsExportDlg::EpsExportDlg( TQWidget* parent, const char* name ) { TQVBox* page = makeVBoxMainWidget(); - m_psLevelButtons = new TQButtonGroup( 1, Qt::Horizontal, + m_psLevelButtons = new TQButtonGroup( 1, TQt::Horizontal, i18n( "Options" ), page ); TQRadioButton* radio; 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; |
