summaryrefslogtreecommitdiffstats
path: root/kpresenter/KPrObject.cpp
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 /kpresenter/KPrObject.cpp
parent11191ef0b9908604d1d7aaca382b011ef22c454c (diff)
downloadkoffice-f0de9e167e289ab7dc33e57f077c1f04ec7c68c8.tar.gz
koffice-f0de9e167e289ab7dc33e57f077c1f04ec7c68c8.zip
Remove additional unneeded tq method conversions
Diffstat (limited to 'kpresenter/KPrObject.cpp')
-rw-r--r--kpresenter/KPrObject.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/kpresenter/KPrObject.cpp b/kpresenter/KPrObject.cpp
index 5a03896a..8bc6089d 100644
--- a/kpresenter/KPrObject.cpp
+++ b/kpresenter/KPrObject.cpp
@@ -357,7 +357,7 @@ void KPrObject::saveOasisPosObject( KoXmlWriter &xmlWriter, int indexObj ) const
transX.setNum( trans.x(), 'g', DBL_DIG );
TQCString transY;
transY.setNum( trans.y(), 'g', DBL_DIG );
- TQString str = TQString( "rotate(%1) translate(%2pt %3pt)" ).tqarg( angInRad ).tqarg( transX.data() ).tqarg( transY.data() );
+ TQString str = TQString( "rotate(%1) translate(%2pt %3pt)" ).arg( angInRad ).arg( transX.data() ).arg( transY.data() );
xmlWriter.addAttribute( "draw:transform", str );
}
else
@@ -422,8 +422,8 @@ bool KPrObject::saveOasisObjectStyleShowAnimation( KoXmlWriter &animation, int o
{
if ( effect != EF_NONE || appearStep != 0 || !a_fileName.isEmpty() )
{
- animation.startElement( "presentation:show-tqshape" );
- animation.addAttribute( "draw:tqshape-id", "object" + TQString::number( objectId ) );
+ animation.startElement( "presentation:show-shape" );
+ animation.addAttribute( "draw:shape-id", "object" + TQString::number( objectId ) );
animation.addAttribute( "koffice:order-id", appearStep );
switch( effect )
@@ -522,8 +522,8 @@ bool KPrObject::saveOasisObjectStyleHideAnimation( KoXmlWriter &animation, int o
//FIXME oo doesn't support hide animation object
if ( effect3 != EF3_NONE || disappearStep != 0 || !d_fileName.isEmpty())
{
- animation.startElement( "presentation:hide-tqshape" );
- animation.addAttribute( "draw:tqshape-id", "object" + TQString::number( objectId ) );
+ animation.startElement( "presentation:hide-shape" );
+ animation.addAttribute( "draw:shape-id", "object" + TQString::number( objectId ) );
animation.addAttribute( "koffice:order-id", disappearStep );
switch( effect3 )
{
@@ -1743,14 +1743,14 @@ bool KPrShadowObject::saveOasisDrawPoints( const KoPointArray &points, KPOasisSa
int tmpY = int( ( *it ).y() * 10000 );
// no space allows before first element
if ( !listOfPoint.isEmpty() )
- listOfPoint += TQString( " %1,%2" ).tqarg( tmpX ).tqarg( tmpY );
+ listOfPoint += TQString( " %1,%2" ).arg( tmpX ).arg( tmpY );
else
- listOfPoint = TQString( "%1,%2" ).tqarg( tmpX ).tqarg( tmpY );
+ listOfPoint = TQString( "%1,%2" ).arg( tmpX ).arg( tmpY );
maxX = TQMAX( maxX, tmpX );
maxY = TQMAX( maxY, tmpY );
}
sc.xmlWriter.addAttribute("draw:points", listOfPoint );
- sc.xmlWriter.addAttribute("svg:viewBox", TQString( "0 0 %1 %2" ).tqarg( maxX ).tqarg( maxY ) );
+ sc.xmlWriter.addAttribute("svg:viewBox", TQString( "0 0 %1 %2" ).arg( maxX ).arg( maxY ) );
return true;
}