From f0de9e167e289ab7dc33e57f077c1f04ec7c68c8 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Mon, 19 Dec 2011 11:38:41 -0600 Subject: Remove additional unneeded tq method conversions --- .../kiviosdk/kivio_sml_stencil_spawner.cpp | 32 +++++++++++----------- 1 file changed, 16 insertions(+), 16 deletions(-) (limited to 'kivio/kiviopart/kiviosdk/kivio_sml_stencil_spawner.cpp') 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: -- cgit v1.2.1