summaryrefslogtreecommitdiffstats
path: root/kpresenter/KPrBezierCurveObject.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-15 15:32:11 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-15 15:32:11 -0600
commit94844816550ad672ccfcdc25659c625546239998 (patch)
treee35fc60fd736c645d59f6408af032774ad8023d3 /kpresenter/KPrBezierCurveObject.cpp
parent2a811c38c74c03648ecf857e566c44483cbad706 (diff)
downloadkoffice-94844816550ad672ccfcdc25659c625546239998.tar.gz
koffice-94844816550ad672ccfcdc25659c625546239998.zip
Rename a number of old tq methods that are no longer tq specific
Diffstat (limited to 'kpresenter/KPrBezierCurveObject.cpp')
-rw-r--r--kpresenter/KPrBezierCurveObject.cpp24
1 files changed, 12 insertions, 12 deletions
diff --git a/kpresenter/KPrBezierCurveObject.cpp b/kpresenter/KPrBezierCurveObject.cpp
index 0b12115e..a2e71ea0 100644
--- a/kpresenter/KPrBezierCurveObject.cpp
+++ b/kpresenter/KPrBezierCurveObject.cpp
@@ -60,31 +60,31 @@ KPrBezierCurveObject &KPrBezierCurveObject::operator=( const KPrBezierCurveObjec
bool KPrBezierCurveObject::saveOasisObjectAttributes( KPOasisSaveContext &sc ) const
{
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 ) );
while ( pos + 4 <= pointCount )
{
- d += TQString( "C%1 %2 %3 %4 %5 %6" ).tqarg( int( points.at( pos + 2 ).x() * 100 ) )
- .tqarg( int( points.at( pos + 2 ).y() * 100 ) )
- .tqarg( int( points.at( pos + 3 ).x() * 100 ) )
- .tqarg( int( points.at( pos + 3 ).y() * 100 ) )
- .tqarg( int( points.at( pos + 1 ).x() * 100 ) )
- .tqarg( int( points.at( pos + 1 ).y() * 100 ) );
+ d += TQString( "C%1 %2 %3 %4 %5 %6" ).arg( int( points.at( pos + 2 ).x() * 100 ) )
+ .arg( int( points.at( pos + 2 ).y() * 100 ) )
+ .arg( int( points.at( pos + 3 ).x() * 100 ) )
+ .arg( int( points.at( pos + 3 ).y() * 100 ) )
+ .arg( int( points.at( pos + 1 ).x() * 100 ) )
+ .arg( int( points.at( pos + 1 ).y() * 100 ) );
pos += 4;
}
if ( pos < pointCount )
{
- d += TQString( "L%1 %2" ).tqarg( int( points.at( pos + 1 ).x() * 100 ) )
- .tqarg( int( points.at( pos + 1 ).y() * 100 ) );
+ d += TQString( "L%1 %2" ).arg( int( points.at( pos + 1 ).x() * 100 ) )
+ .arg( int( points.at( pos + 1 ).y() * 100 ) );
}
sc.xmlWriter.addAttribute( "svg:d", d );