summaryrefslogtreecommitdiffstats
path: root/karbon/core/vcomposite.cc
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-19 11:38:41 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-19 11:38:41 -0600
commitf0de9e167e289ab7dc33e57f077c1f04ec7c68c8 (patch)
tree1fc538e179833e62caec21956bfe47a252be5a72 /karbon/core/vcomposite.cc
parent11191ef0b9908604d1d7aaca382b011ef22c454c (diff)
downloadkoffice-f0de9e167e289ab7dc33e57f077c1f04ec7c68c8.tar.gz
koffice-f0de9e167e289ab7dc33e57f077c1f04ec7c68c8.zip
Remove additional unneeded tq method conversions
Diffstat (limited to 'karbon/core/vcomposite.cc')
-rw-r--r--karbon/core/vcomposite.cc30
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;
}