diff options
author | Timothy Pearson <[email protected]> | 2011-12-19 11:38:41 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2011-12-19 11:38:41 -0600 |
commit | f0de9e167e289ab7dc33e57f077c1f04ec7c68c8 (patch) | |
tree | 1fc538e179833e62caec21956bfe47a252be5a72 /kpresenter/KPrFreehandObject.cpp | |
parent | 11191ef0b9908604d1d7aaca382b011ef22c454c (diff) | |
download | koffice-f0de9e167e289ab7dc33e57f077c1f04ec7c68c8.tar.gz koffice-f0de9e167e289ab7dc33e57f077c1f04ec7c68c8.zip |
Remove additional unneeded tq method conversions
Diffstat (limited to 'kpresenter/KPrFreehandObject.cpp')
-rw-r--r-- | kpresenter/KPrFreehandObject.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/kpresenter/KPrFreehandObject.cpp b/kpresenter/KPrFreehandObject.cpp index 077b9eed..273d6041 100644 --- a/kpresenter/KPrFreehandObject.cpp +++ b/kpresenter/KPrFreehandObject.cpp @@ -59,20 +59,20 @@ bool KPrFreehandObject::saveOasisObjectAttributes( KPOasisSaveContext &sc ) cons { // the rect for the view box have to be the rect and not the real rect KoRect rect( getRect() ); - sc.xmlWriter.addAttribute("svg:viewBox", TQString( "0 0 %1 %2" ).tqarg( int( rect.width() * 100 ) ) - .tqarg( int( rect.height() * 100 ) ) ); + sc.xmlWriter.addAttribute("svg:viewBox", TQString( "0 0 %1 %2" ).arg( int( rect.width() * 100 ) ) + .arg( int( rect.height() * 100 ) ) ); unsigned int pointCount = points.count(); unsigned int pos = 0; TQString d; - d += TQString( "M%1 %2" ).tqarg( int( points.at(pos).x() * 100 ) ) - .tqarg( int( points.at(pos).y() * 100 ) ); + d += TQString( "M%1 %2" ).arg( int( points.at(pos).x() * 100 ) ) + .arg( int( points.at(pos).y() * 100 ) ); ++pos; while ( pos < pointCount ) { - d += TQString( "L%1 %2" ).tqarg( int( points.at( pos ).x() * 100 ) ) - .tqarg( int( points.at( pos ).y() * 100 ) ); + d += TQString( "L%1 %2" ).arg( int( points.at( pos ).x() * 100 ) ) + .arg( int( points.at( pos ).y() * 100 ) ); ++pos; } |