diff options
Diffstat (limited to 'kivio/kiviopart/kiviosdk/kivio_sml_stencil_spawner.cpp')
-rw-r--r-- | kivio/kiviopart/kiviosdk/kivio_sml_stencil_spawner.cpp | 32 |
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 d18caae8..588a468e 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 shape from an XML node. + * Loads a tqshape from an XML node. */ -void KivioSMLStencilSpawner::loadShape( TQDomNode &shapeNode ) +void KivioSMLStencilSpawner::loadShape( TQDomNode &tqshapeNode ) { KivioShapeData::KivioShapeType t; KivioShape *pShape = NULL; - TQDomElement shapeElement = shapeNode.toElement(); + TQDomElement tqshapeElement = tqshapeNode.toElement(); - t = KivioShapeData::shapeTypeFromString( XmlReadString( shapeElement, "type", "None" ) ); + t = KivioShapeData::tqshapeTypeFromString( XmlReadString( tqshapeElement, "type", "None" ) ); switch( t ) { @@ -180,51 +180,51 @@ void KivioSMLStencilSpawner::loadShape( TQDomNode &shapeNode ) break; case KivioShapeData::kstArc: - pShape = KivioShape::loadShapeArc( shapeElement ); + pShape = KivioShape::loadShapeArc( tqshapeElement ); break; case KivioShapeData::kstPie: - pShape = KivioShape::loadShapePie( shapeElement ); + pShape = KivioShape::loadShapePie( tqshapeElement ); break; case KivioShapeData::kstLineArray: - pShape = KivioShape::loadShapeLineArray( shapeElement ); + pShape = KivioShape::loadShapeLineArray( tqshapeElement ); break; case KivioShapeData::kstPolyline: - pShape = KivioShape::loadShapePolyline( shapeElement ); + pShape = KivioShape::loadShapePolyline( tqshapeElement ); break; case KivioShapeData::kstPolygon: - pShape = KivioShape::loadShapePolygon( shapeElement ); + pShape = KivioShape::loadShapePolygon( tqshapeElement ); break; case KivioShapeData::kstBezier: - pShape = KivioShape::loadShapeBezier( shapeElement ); + pShape = KivioShape::loadShapeBezier( tqshapeElement ); break; case KivioShapeData::kstRectangle: - pShape = KivioShape::loadShapeRectangle( shapeElement ); + pShape = KivioShape::loadShapeRectangle( tqshapeElement ); break; case KivioShapeData::kstRoundRectangle: - pShape = KivioShape::loadShapeRoundRectangle( shapeElement ); + pShape = KivioShape::loadShapeRoundRectangle( tqshapeElement ); break; case KivioShapeData::kstEllipse: - pShape = KivioShape::loadShapeEllipse( shapeElement ); + pShape = KivioShape::loadShapeEllipse( tqshapeElement ); break; case KivioShapeData::kstOpenPath: - pShape = KivioShape::loadShapeOpenPath( shapeElement ); + pShape = KivioShape::loadShapeOpenPath( tqshapeElement ); break; case KivioShapeData::kstClosedPath: - pShape = KivioShape::loadShapeClosedPath( shapeElement ); + pShape = KivioShape::loadShapeClosedPath( tqshapeElement ); break; case KivioShapeData::kstTextBox: - pShape = KivioShape::loadShapeTextBox( shapeElement ); + pShape = KivioShape::loadShapeTextBox( tqshapeElement ); break; default: |