summaryrefslogtreecommitdiffstats
path: root/kpresenter/KPrAutoformObject.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kpresenter/KPrAutoformObject.cpp')
-rw-r--r--kpresenter/KPrAutoformObject.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/kpresenter/KPrAutoformObject.cpp b/kpresenter/KPrAutoformObject.cpp
index 90a1eeba..88245f6d 100644
--- a/kpresenter/KPrAutoformObject.cpp
+++ b/kpresenter/KPrAutoformObject.cpp
@@ -80,8 +80,8 @@ bool KPrAutoformObject::saveOasisObjectAttributes( KPOasisSaveContext &sc ) cons
kdDebug(33001) << "bool KPrAutoformObject::saveOasisObjectAttributes()" << endl;
TQSize size( int( ext.width() * 100 ), int( ext.height() * 100 ) );
- sc.xmlWriter.addAttribute( "svg:viewBox", TQString( "0 0 %1 %2" ).arg( size.width() )
- .arg( size.height() ) );
+ sc.xmlWriter.addAttribute( "svg:viewBox", TQString( "0 0 %1 %2" ).tqarg( size.width() )
+ .tqarg( size.height() ) );
TQPointArray points = const_cast<ATFInterpreter &>( atfInterp ).getPointArray( size.width(), size.height() );
@@ -93,14 +93,14 @@ bool KPrAutoformObject::saveOasisObjectAttributes( KPOasisSaveContext &sc ) cons
--pointCount;
TQString d;
- d += TQString( "M%1 %2" ).arg( points.at(pos).x() )
- .arg( points.at(pos).y() );
+ d += TQString( "M%1 %2" ).tqarg( points.at(pos).x() )
+ .tqarg( points.at(pos).y() );
++pos;
while ( pos < pointCount )
{
- d += TQString( "L%1 %2" ).arg( points.at( pos ).x() )
- .arg( points.at( pos ).y() );
+ d += TQString( "L%1 %2" ).tqarg( points.at( pos ).x() )
+ .tqarg( points.at( pos ).y() );
++pos;
}
@@ -237,8 +237,8 @@ void KPrAutoformObject::paint( TQPainter* _painter, KoTextZoomHandler *_zoomHand
{
if ( angle == 0 || angle==360 )
{
- //int ox = _painter->viewport().x() + static_cast<int>( _painter->worldMatrix().dx() );
- //int oy = _painter->viewport().y() + static_cast<int>( _painter->worldMatrix().dy() );
+ //int ox = _painter->viewport().x() + static_cast<int>( _painter->tqworldMatrix().dx() );
+ //int oy = _painter->viewport().y() + static_cast<int>( _painter->tqworldMatrix().dy() );
TQPointArray pntArray3 = pntArray2.copy();
_painter->save();