libs/flake

KoChildrenData Class Reference

A default implementation of the KoShapeContainerModel. More...

#include <KoChildrenData.h>

Inheritance diagram for KoChildrenData:

List of all members.

Public Member Functions

 KoChildrenData ()
virtual ~KoChildrenData ()
virtual void add (KoShape *child)
virtual bool childClipped (const KoShape *child) const
virtual QList< KoShape * > childShapes () const
virtual void containerChanged (KoShapeContainer *container)
virtual int count () const
virtual bool isChildLocked (const KoShape *child) const
void proposeMove (KoShape *shape, QPointF &move)
virtual void remove (KoShape *child)
virtual void setClipping (const KoShape *child, bool clipping)

Detailed Description

A default implementation of the KoShapeContainerModel.

Definition at line 31 of file KoChildrenData.h.


Constructor & Destructor Documentation

KoChildrenData::KoChildrenData (  ) 

Definition at line 68 of file KoChildrenData.cpp.

KoChildrenData::~KoChildrenData (  )  [virtual]

Definition at line 73 of file KoChildrenData.cpp.


Member Function Documentation

void KoChildrenData::add ( KoShape child  )  [virtual]

reimplemented

Implements KoShapeContainerModel.

Definition at line 78 of file KoChildrenData.cpp.

bool KoChildrenData::childClipped ( const KoShape child  )  const [virtual]

reimplemented

Implements KoShapeContainerModel.

Definition at line 112 of file KoChildrenData.cpp.

QList< KoShape * > KoChildrenData::childShapes (  )  const [virtual]

reimplemented

Implements KoShapeContainerModel.

Definition at line 131 of file KoChildrenData.cpp.

void KoChildrenData::containerChanged ( KoShapeContainer container  )  [virtual]

empty implementation.

Implements KoShapeContainerModel.

Definition at line 145 of file KoChildrenData.cpp.

int KoChildrenData::count (  )  const [virtual]

reimplemented

Implements KoShapeContainerModel.

Definition at line 126 of file KoChildrenData.cpp.

bool KoChildrenData::isChildLocked ( const KoShape child  )  const [virtual]

reimplemented

Implements KoShapeContainerModel.

Definition at line 140 of file KoChildrenData.cpp.

void KoChildrenData::proposeMove ( KoShape shape,
QPointF move 
) [virtual]

Only allows free movement of non-locked shapes.

Reimplemented from KoShapeContainerModel.

Definition at line 84 of file KoChildrenData.cpp.

void KoChildrenData::remove ( KoShape child  )  [virtual]

Remove a child to be completely separated from the model.

Parameters:
child the child to be removed.

Implements KoShapeContainerModel.

Definition at line 118 of file KoChildrenData.cpp.

void KoChildrenData::setClipping ( const KoShape child,
bool  clipping 
) [virtual]

reimplemented

Implements KoShapeContainerModel.

Definition at line 99 of file KoChildrenData.cpp.


The documentation for this class was generated from the following files: