diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-16 09:56:31 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-16 09:56:31 -0600 |
commit | c9cb4f487428aad5d8cda5e3a4b9ad87390d7e54 (patch) | |
tree | 1ee1912ac4bb966475f0db0f2a78678661b4b4a5 /karbon/shapes | |
parent | 94844816550ad672ccfcdc25659c625546239998 (diff) | |
download | koffice-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 'karbon/shapes')
-rw-r--r-- | karbon/shapes/vellipse.cc | 2 | ||||
-rw-r--r-- | karbon/shapes/vpolygon.cc | 4 | ||||
-rw-r--r-- | karbon/shapes/vpolyline.cc | 2 | ||||
-rw-r--r-- | karbon/shapes/vrectangle.cc | 4 | ||||
-rw-r--r-- | karbon/shapes/vstar.h | 6 |
5 files changed, 9 insertions, 9 deletions
diff --git a/karbon/shapes/vellipse.cc b/karbon/shapes/vellipse.cc index ef5bb070..0b5fd80c 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 shape gets mirrored in y-direction, so make the angles temporary clockwise + // the tqshape 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 1735471f..650b4698 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").arg( m_width ) ); - me.setAttribute( "height", TQString("%1pt").arg( m_height ) ); + me.setAttribute( "width", TQString("%1pt").tqarg( m_width ) ); + me.setAttribute( "height", TQString("%1pt").tqarg( m_height ) ); me.setAttribute( "points", m_points ); diff --git a/karbon/shapes/vpolyline.cc b/karbon/shapes/vpolyline.cc index cef5bda2..d716c325 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" ).arg( p1.x() ).arg( p1.y() ).arg( p2.x() ).arg( p2.y() ); + m_points = TQString( "%1,%2 %3,%4" ).tqarg( p1.x() ).tqarg( p1.y() ).tqarg( p2.x() ).tqarg( p2.y() ); moveTo( p1 ); lineTo( p2 ); diff --git a/karbon/shapes/vrectangle.cc b/karbon/shapes/vrectangle.cc index bbeef50f..bb3512fd 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").arg( m_width ) ); - me.setAttribute( "height", TQString("%1pt").arg( m_height ) ); + me.setAttribute( "width", TQString("%1pt").tqarg( m_width ) ); + me.setAttribute( "height", TQString("%1pt").tqarg( 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 e6134662..d82cdf9e 100644 --- a/karbon/shapes/vstar.h +++ b/karbon/shapes/vstar.h @@ -23,11 +23,11 @@ #include "vcomposite.h" #include <koffice_export.h> /** - * This shape offers star-like shapes with a lot of parameters : + * This tqshape offers star-like tqshapes with a lot of parameters : * * Types : * - * Star - fully connected star shape. + * Star - fully connected star tqshape. * 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 shape. + * Roundness - uses curves instead of lines for the star tqshape. */ class KARBONBASE_EXPORT VStar : public VPath { |