summaryrefslogtreecommitdiffstats
path: root/kpresenter/KPrFreehandObject.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-16 09:56:31 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-16 09:56:31 -0600
commitc9cb4f487428aad5d8cda5e3a4b9ad87390d7e54 (patch)
tree1ee1912ac4bb966475f0db0f2a78678661b4b4a5 /kpresenter/KPrFreehandObject.cpp
parent94844816550ad672ccfcdc25659c625546239998 (diff)
downloadkoffice-c9cb4f487428aad5d8cda5e3a4b9ad87390d7e54.tar.gz
koffice-c9cb4f487428aad5d8cda5e3a4b9ad87390d7e54.zip
Revert "Rename a number of old tq methods that are no longer tq specific"
This reverts commit 94844816550ad672ccfcdc25659c625546239998.
Diffstat (limited to 'kpresenter/KPrFreehandObject.cpp')
-rw-r--r--kpresenter/KPrFreehandObject.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/kpresenter/KPrFreehandObject.cpp b/kpresenter/KPrFreehandObject.cpp
index 273d6041..077b9eed 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" ).arg( int( rect.width() * 100 ) )
- .arg( int( rect.height() * 100 ) ) );
+ sc.xmlWriter.addAttribute("svg:viewBox", TQString( "0 0 %1 %2" ).tqarg( int( rect.width() * 100 ) )
+ .tqarg( int( rect.height() * 100 ) ) );
unsigned int pointCount = points.count();
unsigned int pos = 0;
TQString d;
- d += TQString( "M%1 %2" ).arg( int( points.at(pos).x() * 100 ) )
- .arg( int( points.at(pos).y() * 100 ) );
+ d += TQString( "M%1 %2" ).tqarg( int( points.at(pos).x() * 100 ) )
+ .tqarg( int( points.at(pos).y() * 100 ) );
++pos;
while ( pos < pointCount )
{
- d += TQString( "L%1 %2" ).arg( int( points.at( pos ).x() * 100 ) )
- .arg( int( points.at( pos ).y() * 100 ) );
+ d += TQString( "L%1 %2" ).tqarg( int( points.at( pos ).x() * 100 ) )
+ .tqarg( int( points.at( pos ).y() * 100 ) );
++pos;
}