diff options
Diffstat (limited to 'kivio/kiviopart/kiviosdk/kivio_connector_point.cpp')
-rw-r--r-- | kivio/kiviopart/kiviosdk/kivio_connector_point.cpp | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/kivio/kiviopart/kiviosdk/kivio_connector_point.cpp b/kivio/kiviopart/kiviosdk/kivio_connector_point.cpp index d0ca6616..0208f932 100644 --- a/kivio/kiviopart/kiviosdk/kivio_connector_point.cpp +++ b/kivio/kiviopart/kiviosdk/kivio_connector_point.cpp @@ -83,10 +83,10 @@ void KivioConnectorPoint::setTarget( KivioConnectorTarget *pTarget ) * Sets the x coordinate. * * @param newX The new value - * @param updateStencil Whether or not the stencil's geometry should be updated (def=true) + * @param updateStencil Whether or not the stencil's tqgeometry should be updated (def=true) * * Sets the X coordinate to a new value, and optionally - * updates the stencil's geometry if updateStencil is true. + * updates the stencil's tqgeometry if updateStencil is true. */ void KivioConnectorPoint::setX( double newX, bool updateStencil ) { @@ -102,10 +102,10 @@ void KivioConnectorPoint::setX( double newX, bool updateStencil ) * Sets the y coordinate. * * @param newY The new value - * @param updateStencil Whether or not the stencil's geometry should be updated (def=true) + * @param updateStencil Whether or not the stencil's tqgeometry should be updated (def=true) * * Sets the Y coordinate to a new value, and optionally - * updates the stencil's geometry if updateStencil is true. + * updates the stencil's tqgeometry if updateStencil is true. */ void KivioConnectorPoint::setY( double newY, bool updateStencil ) { @@ -122,10 +122,10 @@ void KivioConnectorPoint::setY( double newY, bool updateStencil ) * * @param newX The new x value * @param newY The new y value - * @param updateStencil Whether or not the stencil's geometry should be updated (def=true) + * @param updateStencil Whether or not the stencil's tqgeometry should be updated (def=true) * * Sets the X & Y coordinates to new values, and optionally - * updates the stencil's geometry if updateStencil is true. + * updates the stencil's tqgeometry if updateStencil is true. */ void KivioConnectorPoint::setPosition( double newX, double newY, bool updateStencil ) { @@ -165,11 +165,11 @@ void KivioConnectorPoint::disconnect( bool removeFromTargetList ) /** * Loads this object from an XML file. * - * @param e The QDomElement to load from. + * @param e The TQDomElement to load from. * * This will load the necessary values from an XML file. */ -bool KivioConnectorPoint::loadXML( const QDomElement &e ) +bool KivioConnectorPoint::loadXML( const TQDomElement &e ) { m_pos.setX(XmlReadFloat( e, "x", 1.0f )); m_pos.setY(XmlReadFloat( e, "y", 1.0f )); @@ -183,15 +183,15 @@ bool KivioConnectorPoint::loadXML( const QDomElement &e ) /** * Saves this object to an XML file. * - * @param doc The QDomDocument to save to. + * @param doc The TQDomDocument to save to. * - * This creates a new QDomElement and saves its data to it. + * This creates a new TQDomElement and saves its data to it. * * @returns The new element created and saved to. */ -QDomElement KivioConnectorPoint::saveXML( QDomDocument &doc ) +TQDomElement KivioConnectorPoint::saveXML( TQDomDocument &doc ) { - QDomElement e = doc.createElement("KivioConnectorPoint"); + TQDomElement e = doc.createElement("KivioConnectorPoint"); XmlWriteFloat( e, "x", m_pos.x() ); XmlWriteFloat( e, "y", m_pos.y() ); |