24#include <koffice_export.h>
57 virtual void draw( VPainter *painter,
const KoRect* rect = 0L )
const;
59 virtual void save( TQDomElement& element )
const;
60 virtual void saveOasis( KoStore *store, KoXmlWriter *docWriter, KoGenStyles &mainStyles,
int &index )
const;
61 virtual void load(
const TQDomElement& element );
74 void bringToFront(
const VObject&
object );
83 void upwards(
const VObject&
object );
92 void downwards(
const VObject&
object );
101 void sendToBack(
const VObject&
object );
Base class for all sort of VObject conglomerats.
virtual void setState(const VState state)
Sets the state to a specified new state.
virtual VGroup * clone() const
Create an exact copy of this object.
virtual void accept(VVisitor &visitor)
Accept a VVisitor.
virtual void saveOasis(KoStore *store, KoXmlWriter *docWriter, KoGenStyles &mainStyles, int &index) const
Save this object's state to OpenDocument.
virtual void draw(VPainter *painter, const KoRect *rect=0L) const
Draw the object to a painting device.
virtual void load(const TQDomElement &element)
Load this object's state from xml and initialize this object accordingly.
virtual void save(TQDomElement &element) const
Save this object's state to xml.
VLayer manages a set of vobjects.
void setSelected(bool state)
Selects or unselects the layer.
bool selected()
Returns the selection state of the layer.
The base class for all karbon objects.
@ selected
visible, active and can be manipulated by tools
@ normal
visible, not active
virtual DCOPObject * dcopObject()
Returns pointer to internal DCOP object.
VState state() const
Get the state the object is in.
The abstract visitor class.