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 /kspread/kspread_util.cpp | |
| parent | c9973bfbf1091ef91f30b5ab456015676123aa47 (diff) | |
| download | koffice-c8c5e11f05f023849896d09cf06917e9a2c016ca.tar.gz koffice-c8c5e11f05f023849896d09cf06917e9a2c016ca.zip | |
Replace Qt with TQt
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit ef06f14f2475bd08d3ea2ceec54a7b2238f3554e)
Diffstat (limited to 'kspread/kspread_util.cpp')
| -rw-r--r-- | kspread/kspread_util.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/kspread/kspread_util.cpp b/kspread/kspread_util.cpp index c7b28af12..1db4b0498 100644 --- a/kspread/kspread_util.cpp +++ b/kspread/kspread_util.cpp @@ -171,7 +171,7 @@ TQPen KSpread::util_toPen( TQDomElement & element ) bool ok; TQPen p; - p.setStyle( (Qt::PenStyle)element.attribute("style").toInt( &ok ) ); + p.setStyle( (TQt::PenStyle)element.attribute("style").toInt( &ok ) ); if ( !ok ) return TQPen(); @@ -970,7 +970,7 @@ TQPen KSpread::convertOasisStringToPen( const TQString &border ) //string like "0.088cm solid #800000" if (border.isEmpty() || border=="none" || border=="hidden") // in fact no border { - pen.setStyle( Qt::NoPen ); + pen.setStyle( TQt::NoPen ); return pen; } //code from koborder, for the moment kspread doesn't use koborder @@ -982,17 +982,17 @@ TQPen KSpread::convertOasisStringToPen( const TQString &border ) pen.setWidth( ( int )( KoUnit::parseValue( _width, 1.0 ) ) ); if ( _style =="none" ) - pen.setStyle( Qt::NoPen ); + pen.setStyle( TQt::NoPen ); else if ( _style =="solid" ) - pen.setStyle( Qt::SolidLine ); + pen.setStyle( TQt::SolidLine ); else if ( _style =="dashed" ) - pen.setStyle( Qt::DashLine ); + pen.setStyle( TQt::DashLine ); else if ( _style =="dotted" ) - pen.setStyle( Qt::DotLine ); + pen.setStyle( TQt::DotLine ); else if ( _style =="dot-dash" ) - pen.setStyle( Qt::DashDotLine ); + pen.setStyle( TQt::DashDotLine ); else if ( _style =="dot-dot-dash" ) - pen.setStyle( Qt::DashDotDotLine ); + pen.setStyle( TQt::DashDotDotLine ); else kdDebug()<<" style undefined : "<<_style<<endl; |
