kpresenter

KPrLineObject Class Reference

Inheritance diagram for KPrLineObject:

KPrShadowObject KPrStartEndLine KPrObject List of all members.

Detailed Description

Definition at line 32 of file KPrLineObject.h.


Public Member Functions

 KPrLineObject ()
 KPrLineObject (const KoPen &_pen, LineEnd _lineBegin, LineEnd _lineEnd, LineType _lineType)
virtual ~KPrLineObject ()
virtual DCOPObject * dcopObject ()
KPrLineObjectoperator= (const KPrLineObject &)
virtual void setLineBegin (LineEnd _lineBegin)
virtual void setLineEnd (LineEnd _lineEnd)
virtual void setLineType (LineType _lineType)
virtual ObjType getType () const
virtual QString getTypeString () const
virtual LineEnd getLineBegin () const
virtual LineEnd getLineEnd () const
virtual LineType getLineType () const
virtual QDomDocumentFragment save (QDomDocument &doc, double offset)
virtual double load (const QDomElement &element)
virtual void loadOasis (const QDomElement &element, KoOasisContext &context, KPrLoadingInfo *info)
virtual void flip (bool horizontal)
virtual KoSize getRealSize () const
virtual KoPoint getRealOrig () const

Protected Member Functions

virtual const char * getOasisElementName () const
virtual bool saveOasisObjectAttributes (KPOasisSaveContext &sc) const
virtual void saveOasisPosObject (KoXmlWriter &xmlWriter, int indexObj) const
virtual void fillStyle (KoGenStyle &styleObjectAuto, KoGenStyles &mainStyles) const
virtual void paint (QPainter *_painter, KoTextZoomHandler *_zoomHandler, int, bool drawingShadow, bool drawContour=FALSE)

Protected Attributes

LineType lineType

Member Function Documentation

const char * KPrLineObject::getOasisElementName  )  const [protected, virtual]
 

Get the element name for saving the object.

Implements KPrObject.

Definition at line 142 of file KPrLineObject.cpp.

void KPrLineObject::paint QPainter *  _painter,
KoTextZoomHandler *  _zoomHandler,
int  ,
bool  drawingShadow,
bool  drawContour = FALSE
[protected, virtual]
 

This method is to be implemented by all KPShadowObjects, to draw themselves.

draw() took care of the shadow and of preparing painter for rotation. paint() must take care of the gradient itself!

Parameters:
drawingShadow true if called to draw the shadow of the object. Usually objects will want to draw a simpler version of themselves in that case.
This method isn't pure virtual because some objects implement draw() directly.

Reimplemented from KPrShadowObject.

Definition at line 217 of file KPrLineObject.cpp.


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