summaryrefslogtreecommitdiffstats
path: root/karbon/shapes
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 /karbon/shapes
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 'karbon/shapes')
-rw-r--r--karbon/shapes/vellipse.cc2
-rw-r--r--karbon/shapes/vpolygon.cc4
-rw-r--r--karbon/shapes/vpolyline.cc2
-rw-r--r--karbon/shapes/vrectangle.cc4
-rw-r--r--karbon/shapes/vstar.h6
5 files changed, 9 insertions, 9 deletions
diff --git a/karbon/shapes/vellipse.cc b/karbon/shapes/vellipse.cc
index 0b5fd80c..ef5bb070 100644
--- a/karbon/shapes/vellipse.cc
+++ b/karbon/shapes/vellipse.cc
@@ -254,7 +254,7 @@ VEllipse::loadOasis( const TQDomElement &element, KoOasisLoadingContext &context
double startAngle = element.attributeNS( KoXmlNS::draw, "start-angle", TQString() ).toDouble();
double endAngle = element.attributeNS( KoXmlNS::draw, "end-angle", TQString() ).toDouble();
- // the tqshape gets mirrored in y-direction, so make the angles temporary clockwise
+ // the shape gets mirrored in y-direction, so make the angles temporary clockwise
// just for creating the path
m_startAngle = 360.0 - endAngle;
m_endAngle = 360.0 - startAngle;
diff --git a/karbon/shapes/vpolygon.cc b/karbon/shapes/vpolygon.cc
index 650b4698..1735471f 100644
--- a/karbon/shapes/vpolygon.cc
+++ b/karbon/shapes/vpolygon.cc
@@ -108,8 +108,8 @@ VPolygon::save( TQDomElement& element ) const
me.setAttribute( "x", m_topLeft.x() );
me.setAttribute( "y", m_topLeft.y() );
- me.setAttribute( "width", TQString("%1pt").tqarg( m_width ) );
- me.setAttribute( "height", TQString("%1pt").tqarg( m_height ) );
+ me.setAttribute( "width", TQString("%1pt").arg( m_width ) );
+ me.setAttribute( "height", TQString("%1pt").arg( m_height ) );
me.setAttribute( "points", m_points );
diff --git a/karbon/shapes/vpolyline.cc b/karbon/shapes/vpolyline.cc
index d716c325..cef5bda2 100644
--- a/karbon/shapes/vpolyline.cc
+++ b/karbon/shapes/vpolyline.cc
@@ -157,7 +157,7 @@ VPolyline::loadOasis( const TQDomElement &element, KoOasisLoadingContext &contex
p2.setX( KoUnit::parseValue( element.attributeNS( KoXmlNS::svg, "x2", TQString() ) ) );
p2.setY( KoUnit::parseValue( element.attributeNS( KoXmlNS::svg, "y2", TQString() ) ) );
- m_points = TQString( "%1,%2 %3,%4" ).tqarg( p1.x() ).tqarg( p1.y() ).tqarg( p2.x() ).tqarg( p2.y() );
+ m_points = TQString( "%1,%2 %3,%4" ).arg( p1.x() ).arg( p1.y() ).arg( p2.x() ).arg( p2.y() );
moveTo( p1 );
lineTo( p2 );
diff --git a/karbon/shapes/vrectangle.cc b/karbon/shapes/vrectangle.cc
index bb3512fd..bbeef50f 100644
--- a/karbon/shapes/vrectangle.cc
+++ b/karbon/shapes/vrectangle.cc
@@ -125,8 +125,8 @@ VRectangle::save( TQDomElement& element ) const
me.setAttribute( "x", m_topLeft.x() );
me.setAttribute( "y", m_topLeft.y() );
- me.setAttribute( "width", TQString("%1pt").tqarg( m_width ) );
- me.setAttribute( "height", TQString("%1pt").tqarg( m_height ) );
+ me.setAttribute( "width", TQString("%1pt").arg( m_width ) );
+ me.setAttribute( "height", TQString("%1pt").arg( m_height ) );
me.setAttribute( "rx", m_rx );
me.setAttribute( "ry", m_ry );
diff --git a/karbon/shapes/vstar.h b/karbon/shapes/vstar.h
index d82cdf9e..e6134662 100644
--- a/karbon/shapes/vstar.h
+++ b/karbon/shapes/vstar.h
@@ -23,11 +23,11 @@
#include "vcomposite.h"
#include <koffice_export.h>
/**
- * This tqshape offers star-like tqshapes with a lot of parameters :
+ * This shape offers star-like shapes with a lot of parameters :
*
* Types :
*
- * Star - fully connected star tqshape.
+ * Star - fully connected star shape.
* Star outline - like star but without the cross connections.
* Framed star - like star outline but with an enclosing path.
* Spoke - basically a star outline with inner radius of zero.
@@ -42,7 +42,7 @@
* Inner radius - inner radius where star has to connect to. This value
* doesn't apply to polygon, spoke and wheel.
* Inner angle - extra radius amount for inner radius.
- * Roundness - uses curves instead of lines for the star tqshape.
+ * Roundness - uses curves instead of lines for the star shape.
*/
class KARBONBASE_EXPORT VStar : public VPath
{