karbon

VPolygon Class Reference

Inheritance diagram for VPolygon:

VPath VObject List of all members.

Detailed Description

Definition at line 25 of file vpolygon.h.


Public Member Functions

 VPolygon (VObject *parent, VState state=edit)
 VPolygon (VObject *parent, const QString &points, const KoPoint &topLeft, double width, double height)
virtual QString name () const
virtual void save (QDomElement &element) const
virtual void saveOasis (KoStore *store, KoXmlWriter *docWriter, KoGenStyles &mainStyles, int &index) const
virtual void load (const QDomElement &element)
virtual bool loadOasis (const QDomElement &element, KoOasisLoadingContext &context)
virtual VPathclone () const

Protected Member Functions

void init ()

Member Function Documentation

VPath * VPolygon::clone  )  const [virtual]
 

Create an exact copy of this object.

Returns:
the exact object copy

Reimplemented from VPath.

Definition at line 178 of file vpolygon.cc.

void VPolygon::load const QDomElement &  element  )  [virtual]
 

Load this object's state from xml and initialize this object accordingly.

Parameters:
element the DOM element from which the attributes are read

Reimplemented from VPath.

Definition at line 135 of file vpolygon.cc.

bool VPolygon::loadOasis const QDomElement &  element,
KoOasisLoadingContext &  context
[virtual]
 

Load this object's state from OpenDocument and initialize this object accordingly.

Parameters:
element the DOM element to read attributes from
context FIXME

Reimplemented from VPath.

Definition at line 160 of file vpolygon.cc.

QString VPolygon::name  )  const [virtual]
 

Returns the name of the object.

Returns:
the object's name

Reimplemented from VObject.

Definition at line 80 of file vpolygon.cc.

void VPolygon::save QDomElement &  element  )  const [virtual]
 

Save this object's state to xml.

Parameters:
element the DOM element to which the attributes are saved

Reimplemented from VPath.

Definition at line 87 of file vpolygon.cc.

void VPolygon::saveOasis KoStore *  store,
KoXmlWriter *  docWriter,
KoGenStyles &  mainStyles,
int &  index
const [virtual]
 

Save this object's state to OpenDocument.

Parameters:
store FIXME
docWriter FIXME
mainStyles FIXME

Reimplemented from VPath.

Definition at line 123 of file vpolygon.cc.


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