kpresenter
KPrPartObject Class Reference
Inheritance diagram for KPrPartObject:

Detailed Description
Definition at line 31 of file KPrPartObject.h.
Public Slots | |
void | slot_changed (KoChild *_koChild) |
Public Member Functions | |
KPrPartObject (KPrChild *_child) | |
virtual | ~KPrPartObject () |
KPrPartObject & | operator= (const KPrPartObject &) |
virtual void | rotate (float _angle) |
virtual ObjType | getType () const |
virtual QString | getTypeString () const |
virtual void | draw (QPainter *_painter, KoTextZoomHandler *_zoomhandler, int pageNum, SelectionMode selectionMode, bool drawContour=FALSE) |
void | activate (QWidget *_widget) |
void | deactivate () |
KPrChild * | getChild () const |
void | enableDrawing (bool f) |
virtual void | loadOasis (const QDomElement &element, KoOasisContext &context, KPrLoadingInfo *info) |
Protected Member Functions | |
virtual const char * | getOasisElementName () const |
virtual bool | saveOasisObjectAttributes (KPOasisSaveContext &sc) const |
void | updateChildGeometry () |
virtual void | paint (QPainter *_painter, KoTextZoomHandler *_zoomHandler, int, bool drawingShadow, bool drawContour=FALSE) |
Protected Attributes | |
bool | _enableDrawing |
KPrChild * | child |
Member Function Documentation
const char * KPrPartObject::getOasisElementName | ( | ) | const [protected, virtual] |
Get the element name for saving the object.
Implements KPrObject.
Definition at line 79 of file KPrPartObject.cpp.
void KPrPartObject::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.
Reimplemented from KPrShadowObject.
Definition at line 160 of file KPrPartObject.cpp.
The documentation for this class was generated from the following files: