diff options
Diffstat (limited to 'karbon/core/vcomposite.cc')
-rw-r--r-- | karbon/core/vcomposite.cc | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/karbon/core/vcomposite.cc b/karbon/core/vcomposite.cc index 570b06dc..25636211 100644 --- a/karbon/core/vcomposite.cc +++ b/karbon/core/vcomposite.cc @@ -377,7 +377,7 @@ VPath::saveOasis( KoStore *store, KoXmlWriter *docWriter, KoGenStyles &mainStyle double w = boundingBox().width(); double h = boundingBox().height(); - docWriter->addAttribute( "svg:viewBox", TQString( "%1 %2 %3 %4" ).tqarg( x ).tqarg( y ).tqarg( w ).tqarg( h ) ); + docWriter->addAttribute( "svg:viewBox", TQString( "%1 %2 %3 %4" ).arg( x ).arg( y ).arg( w ).arg( h ) ); docWriter->addAttributePt( "svg:x", x ); docWriter->addAttributePt( "svg:y", y ); docWriter->addAttributePt( "svg:width", w ); @@ -456,7 +456,7 @@ VPath::loadOasis( const TQDomElement &element, KoOasisLoadingContext &context ) viewbox = element.attributeNS( KoXmlNS::svg, "viewBox", TQString() ); } - else if( element.localName() == "custom-tqshape" ) + else if( element.localName() == "custom-shape" ) { TQDomNodeList list = element.childNodes(); for( uint i = 0; i < list.count(); ++i ) @@ -467,7 +467,7 @@ VPath::loadOasis( const TQDomElement &element, KoOasisLoadingContext &context ) if( e.namespaceURI() != KoXmlNS::draw ) continue; - if( e.localName() == "enhanced-tqgeometry" ) + if( e.localName() == "enhanced-geometry" ) { TQString data = e.attributeNS( KoXmlNS::draw, "enhanced-path", TQString() ); if( ! data.isEmpty() ) @@ -742,12 +742,12 @@ VPath::buildSvgTransform( const TQWMatrix &mat ) const TQString transform; if( !mat.isIdentity() ) { - transform = TQString( "matrix(%1, %2, %3, %4, %5, %6)" ).tqarg( mat.m11() ) - .tqarg( mat.m12() ) - .tqarg( mat.m21() ) - .tqarg( mat.m22() ) - .tqarg( mat.dx() ) - .tqarg( mat.dy() ); + transform = TQString( "matrix(%1, %2, %3, %4, %5, %6)" ).arg( mat.m11() ) + .arg( mat.m12() ) + .arg( mat.m21() ) + .arg( mat.m22() ) + .arg( mat.dx() ) + .arg( mat.dy() ); } return transform; } @@ -764,12 +764,12 @@ VPath::buildOasisTransform( const TQWMatrix &mat ) const TQString transform; if( !mat.isIdentity() ) { - transform = TQString( "matrix(%1, %2, %3, %4, %5pt, %6pt)" ).tqarg( mat.m11() ) - .tqarg( mat.m12() ) - .tqarg( mat.m21() ) - .tqarg( mat.m22() ) - .tqarg( mat.dx() ) - .tqarg( mat.dy() ); + transform = TQString( "matrix(%1, %2, %3, %4, %5pt, %6pt)" ).arg( mat.m11() ) + .arg( mat.m12() ) + .arg( mat.m21() ) + .arg( mat.m22() ) + .arg( mat.dx() ) + .arg( mat.dy() ); } return transform; } |