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 /kivio/kiviopart/kiviosdk/kivio_sml_stencil_spawner.cpp | |
| 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 '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 d18caae89..588a468e3 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: |
