karbon
VRectangle Class Reference
Inheritance diagram for VRectangle:

Detailed Description
Definition at line 26 of file vrectangle.h.
Public Member Functions | |
VRectangle (VObject *parent, VState state=edit) | |
VRectangle (VObject *parent, const KoPoint &topLeft, double width, double height, double rx=0.0, double ry=0.0) | |
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 VPath * | clone () const |
Protected Member Functions | |
void | init () |
Member Function Documentation
VPath * VRectangle::clone | ( | ) | const [virtual] |
Create an exact copy of this object.
- Returns:
- the exact object copy
Reimplemented from VPath.
Definition at line 226 of file vrectangle.cc.
void VRectangle::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 200 of file vrectangle.cc.
bool VRectangle::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 176 of file vrectangle.cc.
QString VRectangle::name | ( | ) | const [virtual] |
Returns the name of the object.
- Returns:
- the object's name
Reimplemented from VObject.
Definition at line 97 of file vrectangle.cc.
void VRectangle::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 104 of file vrectangle.cc.
void VRectangle::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 141 of file vrectangle.cc.
The documentation for this class was generated from the following files: