summaryrefslogtreecommitdiffstats
path: root/kivio/kiviopart/kiviosdk/kivio_sml_stencil_spawner.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-19 11:38:41 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-19 11:38:41 -0600
commitf0de9e167e289ab7dc33e57f077c1f04ec7c68c8 (patch)
tree1fc538e179833e62caec21956bfe47a252be5a72 /kivio/kiviopart/kiviosdk/kivio_sml_stencil_spawner.cpp
parent11191ef0b9908604d1d7aaca382b011ef22c454c (diff)
downloadkoffice-f0de9e167e289ab7dc33e57f077c1f04ec7c68c8.tar.gz
koffice-f0de9e167e289ab7dc33e57f077c1f04ec7c68c8.zip
Remove additional unneeded tq method conversions
Diffstat (limited to 'kivio/kiviopart/kiviosdk/kivio_sml_stencil_spawner.cpp')
-rw-r--r--kivio/kiviopart/kiviosdk/kivio_sml_stencil_spawner.cpp32
1 files changed, 16 insertions, 16 deletions
diff --git a/kivio/kiviopart/kiviosdk/kivio_sml_stencil_spawner.cpp b/kivio/kiviopart/kiviosdk/kivio_sml_stencil_spawner.cpp
index 588a468e..d18caae8 100644
--- a/kivio/kiviopart/kiviosdk/kivio_sml_stencil_spawner.cpp
+++ b/kivio/kiviopart/kiviosdk/kivio_sml_stencil_spawner.cpp
@@ -164,15 +164,15 @@ bool KivioSMLStencilSpawner::loadXML( const TQString &file, TQDomDocument &d )
/**
- * Loads a tqshape from an XML node.
+ * Loads a shape from an XML node.
*/
-void KivioSMLStencilSpawner::loadShape( TQDomNode &tqshapeNode )
+void KivioSMLStencilSpawner::loadShape( TQDomNode &shapeNode )
{
KivioShapeData::KivioShapeType t;
KivioShape *pShape = NULL;
- TQDomElement tqshapeElement = tqshapeNode.toElement();
+ TQDomElement shapeElement = shapeNode.toElement();
- t = KivioShapeData::tqshapeTypeFromString( XmlReadString( tqshapeElement, "type", "None" ) );
+ t = KivioShapeData::shapeTypeFromString( XmlReadString( shapeElement, "type", "None" ) );
switch( t )
{
@@ -180,51 +180,51 @@ void KivioSMLStencilSpawner::loadShape( TQDomNode &tqshapeNode )
break;
case KivioShapeData::kstArc:
- pShape = KivioShape::loadShapeArc( tqshapeElement );
+ pShape = KivioShape::loadShapeArc( shapeElement );
break;
case KivioShapeData::kstPie:
- pShape = KivioShape::loadShapePie( tqshapeElement );
+ pShape = KivioShape::loadShapePie( shapeElement );
break;
case KivioShapeData::kstLineArray:
- pShape = KivioShape::loadShapeLineArray( tqshapeElement );
+ pShape = KivioShape::loadShapeLineArray( shapeElement );
break;
case KivioShapeData::kstPolyline:
- pShape = KivioShape::loadShapePolyline( tqshapeElement );
+ pShape = KivioShape::loadShapePolyline( shapeElement );
break;
case KivioShapeData::kstPolygon:
- pShape = KivioShape::loadShapePolygon( tqshapeElement );
+ pShape = KivioShape::loadShapePolygon( shapeElement );
break;
case KivioShapeData::kstBezier:
- pShape = KivioShape::loadShapeBezier( tqshapeElement );
+ pShape = KivioShape::loadShapeBezier( shapeElement );
break;
case KivioShapeData::kstRectangle:
- pShape = KivioShape::loadShapeRectangle( tqshapeElement );
+ pShape = KivioShape::loadShapeRectangle( shapeElement );
break;
case KivioShapeData::kstRoundRectangle:
- pShape = KivioShape::loadShapeRoundRectangle( tqshapeElement );
+ pShape = KivioShape::loadShapeRoundRectangle( shapeElement );
break;
case KivioShapeData::kstEllipse:
- pShape = KivioShape::loadShapeEllipse( tqshapeElement );
+ pShape = KivioShape::loadShapeEllipse( shapeElement );
break;
case KivioShapeData::kstOpenPath:
- pShape = KivioShape::loadShapeOpenPath( tqshapeElement );
+ pShape = KivioShape::loadShapeOpenPath( shapeElement );
break;
case KivioShapeData::kstClosedPath:
- pShape = KivioShape::loadShapeClosedPath( tqshapeElement );
+ pShape = KivioShape::loadShapeClosedPath( shapeElement );
break;
case KivioShapeData::kstTextBox:
- pShape = KivioShape::loadShapeTextBox( tqshapeElement );
+ pShape = KivioShape::loadShapeTextBox( shapeElement );
break;
default: