diff options
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 c7b28af1..1db4b049 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; |