summaryrefslogtreecommitdiffstats
path: root/kivio/kiviopart/kiviosdk/kivio_shape.h
diff options
context:
space:
mode:
Diffstat (limited to 'kivio/kiviopart/kiviosdk/kivio_shape.h')
-rw-r--r--kivio/kiviopart/kiviosdk/kivio_shape.h42
1 files changed, 21 insertions, 21 deletions
diff --git a/kivio/kiviopart/kiviosdk/kivio_shape.h b/kivio/kiviopart/kiviosdk/kivio_shape.h
index 6ade18e8..c83607d7 100644
--- a/kivio/kiviopart/kiviosdk/kivio_shape.h
+++ b/kivio/kiviopart/kiviosdk/kivio_shape.h
@@ -20,13 +20,13 @@
#define KIVIO_SHAPE_H
#include "kivio_shape_data.h"
-#include <qdom.h>
+#include <tqdom.h>
class KivioShape
{
protected:
- KivioShapeData m_shapeData; // The data inside this shape
+ KivioShapeData m_tqshapeData; // The data inside this tqshape
public:
KivioShape();
@@ -36,25 +36,25 @@ public:
void copyInto( KivioShape * ) const;
- bool loadXML( const QDomElement & );
- QDomElement saveXML( QDomDocument & );
-
- KivioShapeData::KivioShapeType shapeType() { return m_shapeData.shapeType(); }
-
- KivioShapeData *shapeData() { return &m_shapeData; }
-
- static KivioShape *loadShapeArc( const QDomElement & );
- static KivioShape *loadShapeClosedPath( const QDomElement & );
- static KivioShape *loadShapeBezier( const QDomElement & );
- static KivioShape *loadShapeEllipse( const QDomElement & );
- static KivioShape *loadShapeLineArray( const QDomElement & );
- static KivioShape *loadShapeOpenPath( const QDomElement & );
- static KivioShape *loadShapePie( const QDomElement & );
- static KivioShape *loadShapePolygon( const QDomElement & );
- static KivioShape *loadShapePolyline( const QDomElement & );
- static KivioShape *loadShapeRectangle( const QDomElement & );
- static KivioShape *loadShapeRoundRectangle( const QDomElement & );
- static KivioShape *loadShapeTextBox( const QDomElement & );
+ bool loadXML( const TQDomElement & );
+ TQDomElement saveXML( TQDomDocument & );
+
+ KivioShapeData::KivioShapeType tqshapeType() { return m_tqshapeData.tqshapeType(); }
+
+ KivioShapeData *tqshapeData() { return &m_tqshapeData; }
+
+ static KivioShape *loadShapeArc( const TQDomElement & );
+ static KivioShape *loadShapeClosedPath( const TQDomElement & );
+ static KivioShape *loadShapeBezier( const TQDomElement & );
+ static KivioShape *loadShapeEllipse( const TQDomElement & );
+ static KivioShape *loadShapeLineArray( const TQDomElement & );
+ static KivioShape *loadShapeOpenPath( const TQDomElement & );
+ static KivioShape *loadShapePie( const TQDomElement & );
+ static KivioShape *loadShapePolygon( const TQDomElement & );
+ static KivioShape *loadShapePolyline( const TQDomElement & );
+ static KivioShape *loadShapeRectangle( const TQDomElement & );
+ static KivioShape *loadShapeRoundRectangle( const TQDomElement & );
+ static KivioShape *loadShapeTextBox( const TQDomElement & );
};
#endif