diff options
Diffstat (limited to 'lib/kofficecore/KoOasisStyles.cpp')
-rw-r--r-- | lib/kofficecore/KoOasisStyles.cpp | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/lib/kofficecore/KoOasisStyles.cpp b/lib/kofficecore/KoOasisStyles.cpp index 9560a559..a5d34c0b 100644 --- a/lib/kofficecore/KoOasisStyles.cpp +++ b/lib/kofficecore/KoOasisStyles.cpp @@ -1431,7 +1431,7 @@ TQBrush KoOasisStyles::loadOasisFillStyle( const KoStyleStack &styleStack, const TQBrush tmpBrush; if ( fill == "solid" ) { - tmpBrush.setStyle(static_cast<Qt::BrushStyle>( 1 ) ); + tmpBrush.setStyle(static_cast<TQt::BrushStyle>( 1 ) ); if ( styleStack.hasAttributeNS( KoXmlNS::draw, "fill-color" ) ) tmpBrush.setColor(styleStack.attributeNS( KoXmlNS::draw, "fill-color" ) ); if ( styleStack.hasAttributeNS( KoXmlNS::draw, "transparency" ) ) @@ -1439,35 +1439,35 @@ TQBrush KoOasisStyles::loadOasisFillStyle( const KoStyleStack &styleStack, const TQString transparency = styleStack.attributeNS( KoXmlNS::draw, "transparency" ); if ( transparency == "94%" ) { - tmpBrush.setStyle(Qt::Dense1Pattern); + tmpBrush.setStyle(TQt::Dense1Pattern); } else if ( transparency == "88%" ) { - tmpBrush.setStyle(Qt::Dense2Pattern); + tmpBrush.setStyle(TQt::Dense2Pattern); } else if ( transparency == "63%" ) { - tmpBrush.setStyle(Qt::Dense3Pattern); + tmpBrush.setStyle(TQt::Dense3Pattern); } else if ( transparency == "50%" ) { - tmpBrush.setStyle(Qt::Dense4Pattern); + tmpBrush.setStyle(TQt::Dense4Pattern); } else if ( transparency == "37%" ) { - tmpBrush.setStyle(Qt::Dense5Pattern); + tmpBrush.setStyle(TQt::Dense5Pattern); } else if ( transparency == "12%" ) { - tmpBrush.setStyle(Qt::Dense6Pattern); + tmpBrush.setStyle(TQt::Dense6Pattern); } else if ( transparency == "6%" ) { - tmpBrush.setStyle(Qt::Dense7Pattern); + tmpBrush.setStyle(TQt::Dense7Pattern); } else @@ -1514,19 +1514,19 @@ TQBrush KoOasisStyles::loadOasisFillStyle( const KoStyleStack &styleStack, const { case 0: case 180: - tmpBrush.setStyle(Qt::HorPattern ); + tmpBrush.setStyle(TQt::HorPattern ); break; case 45: case 225: - tmpBrush.setStyle(Qt::BDiagPattern ); + tmpBrush.setStyle(TQt::BDiagPattern ); break; case 90: case 270: - tmpBrush.setStyle(Qt::VerPattern ); + tmpBrush.setStyle(TQt::VerPattern ); break; case 135: case 315: - tmpBrush.setStyle(Qt::FDiagPattern ); + tmpBrush.setStyle(TQt::FDiagPattern ); break; default: //todo fixme when we will have a kopaint @@ -1542,13 +1542,13 @@ TQBrush KoOasisStyles::loadOasisFillStyle( const KoStyleStack &styleStack, const case 180: case 90: case 270: - tmpBrush.setStyle(Qt::CrossPattern ); + tmpBrush.setStyle(TQt::CrossPattern ); break; case 45: case 135: case 225: case 315: - tmpBrush.setStyle(Qt::DiagCrossPattern ); + tmpBrush.setStyle(TQt::DiagCrossPattern ); break; default: //todo fixme when we will have a kopaint |