kivio

KivioShape Class Reference

List of all members.

Detailed Description

Definition at line 26 of file kivio_shape.h.


Public Member Functions

 KivioShape ()
 KivioShape (const KivioShape &)
virtual ~KivioShape ()
void copyInto (KivioShape *) const
bool loadXML (const QDomElement &)
QDomElement saveXML (QDomDocument &)
KivioShapeData::KivioShapeType shapeType ()
KivioShapeDatashapeData ()

Static Public Member Functions

static KivioShapeloadShapeArc (const QDomElement &)
static KivioShapeloadShapeClosedPath (const QDomElement &)
static KivioShapeloadShapeBezier (const QDomElement &)
static KivioShapeloadShapeEllipse (const QDomElement &)
static KivioShapeloadShapeLineArray (const QDomElement &)
static KivioShapeloadShapeOpenPath (const QDomElement &)
static KivioShapeloadShapePie (const QDomElement &)
static KivioShapeloadShapePolygon (const QDomElement &)
static KivioShapeloadShapePolyline (const QDomElement &)
static KivioShapeloadShapeRectangle (const QDomElement &)
static KivioShapeloadShapeRoundRectangle (const QDomElement &)
static KivioShapeloadShapeTextBox (const QDomElement &)

Protected Attributes

KivioShapeData m_shapeData

Constructor & Destructor Documentation

KivioShape::KivioShape (  ) 

Default constructor.

Does nothing

Definition at line 33 of file kivio_shape.cpp.

KivioShape::KivioShape ( const KivioShape source  ) 

Copy constructor.

Parameters:
source The object to copy data from
Copies all data from source

Definition at line 45 of file kivio_shape.cpp.

KivioShape::~KivioShape (  )  [virtual]

Destructor.

Definition at line 54 of file kivio_shape.cpp.


Member Function Documentation

void KivioShape::copyInto ( KivioShape pTarget  )  const

Copy all data into pTarget.

Parameters:
pTarget The target &ref KivioShape to copy into
This will copy all data contained in this, into pTarget.

Definition at line 66 of file kivio_shape.cpp.

KivioShape * KivioShape::loadShapeArc ( const QDomElement &   )  [static]

Loads a shape of type arc.

Parameters:
e The element to load from
Returns:
A newly allocated KivioShape, or NULL on error.
FIXME: implement this

Definition at line 140 of file kivio_shape.cpp.

KivioShape * KivioShape::loadShapeBezier ( const QDomElement &  e  )  [static]

Loads a shape of type bezier.

Parameters:
e The element to load from.
Returns:
A newly allocated KivioShape, or NULL on error.

Definition at line 204 of file kivio_shape.cpp.

KivioShape * KivioShape::loadShapeClosedPath ( const QDomElement &  e  )  [static]

Loads a shape of type closed-path.

Parameters:
e The element to load from.
Returns:
A newly allocated KivioShape, or NULL on error.

Definition at line 152 of file kivio_shape.cpp.

KivioShape * KivioShape::loadShapeEllipse ( const QDomElement &  e  )  [static]

Loads a shape of type ellipse.

Parameters:
e The element to load from.
Returns:
A newly allocated KivioShape, or NULL on error.

Definition at line 266 of file kivio_shape.cpp.

KivioShape * KivioShape::loadShapeLineArray ( const QDomElement &  e  )  [static]

Loads a shape of type line-array.

Parameters:
e The element to load from.
Returns:
A newly allocated KivioShape, or NULL on error.

Definition at line 311 of file kivio_shape.cpp.

KivioShape * KivioShape::loadShapeOpenPath ( const QDomElement &  e  )  [static]

Loads a shape of type open-path.

Parameters:
e The element to load from.
Returns:
A newly allocated KivioShape, or NULL on error.

Definition at line 363 of file kivio_shape.cpp.

KivioShape * KivioShape::loadShapePie ( const QDomElement &   )  [static]

Loads a shape of type pie.

Parameters:
e The element to load from.
Returns:
A newly allocated KivioShape, or NULL on error.
FIXME: Implement this

Definition at line 413 of file kivio_shape.cpp.

KivioShape * KivioShape::loadShapePolygon ( const QDomElement &  e  )  [static]

Loads a shape of type polygon.

Parameters:
e The element to load from.
Returns:
A newly allocated KivioShape, or NULL on error.

Definition at line 425 of file kivio_shape.cpp.

KivioShape * KivioShape::loadShapePolyline ( const QDomElement &  e  )  [static]

Loads a shape of type polyline.

Parameters:
e The element to load from.
Returns:
A newly allocated KivioShape, or NULL on error.

Definition at line 477 of file kivio_shape.cpp.

KivioShape * KivioShape::loadShapeRectangle ( const QDomElement &  e  )  [static]

Loads a shape of type rectangle.

Parameters:
e The element to load from.
Returns:
A newly allocated KivioShape, or NULL on error.

Definition at line 525 of file kivio_shape.cpp.

KivioShape * KivioShape::loadShapeRoundRectangle ( const QDomElement &  e  )  [static]

Loads a shape of type round rectangle.

Parameters:
e The element to load from.
Returns:
A newly allocated KivioShape, or NULL on error.

Definition at line 572 of file kivio_shape.cpp.

KivioShape * KivioShape::loadShapeTextBox ( const QDomElement &  e  )  [static]

Loads a shape of type textbox.

Parameters:
e The element to load from.
Returns:
A newly allocated KivioShape, or NULL on error.

Definition at line 624 of file kivio_shape.cpp.

bool KivioShape::loadXML ( const QDomElement &  e  ) 

Load this object from an XML element.

Parameters:
e The element to load from
Returns:
true on success, false on failure.

Definition at line 81 of file kivio_shape.cpp.

QDomElement KivioShape::saveXML ( QDomDocument &  doc  ) 

Save this object to an XML element.

Parameters:
doc The document to save to
Returns:
QDomElement representing this object.

Definition at line 119 of file kivio_shape.cpp.


The documentation for this class was generated from the following files:
KDE Home | KDE Accessibility Home | Description of Access Keys