Krita Source Code Documentation
Loading...
Searching...
No Matches
KoLoadingShapeUpdater Class Referenceabstract

#include <KoLoadingShapeUpdater.h>

Public Member Functions

 KoLoadingShapeUpdater ()
 
virtual void update (KoShape *shape)=0
 
virtual ~KoLoadingShapeUpdater ()
 

Detailed Description

Reimplement this class when you depend on a shape during loading that is not yet loaded.

As soon as the shape you depend on is loaded the method update is called. Then you can setup the data you need.

See also
KoConnectionShape
KoShapeLoadingContext::updateShape

Definition at line 24 of file KoLoadingShapeUpdater.h.

Constructor & Destructor Documentation

◆ KoLoadingShapeUpdater()

KoLoadingShapeUpdater::KoLoadingShapeUpdater ( )

Definition at line 9 of file KoLoadingShapeUpdater.cpp.

10{
11}

◆ ~KoLoadingShapeUpdater()

KoLoadingShapeUpdater::~KoLoadingShapeUpdater ( )
virtual

Definition at line 13 of file KoLoadingShapeUpdater.cpp.

14{
15}

Member Function Documentation

◆ update()

virtual void KoLoadingShapeUpdater::update ( KoShape * shape)
pure virtual

This function is called as soon as shape is loaded.

Parameters
shapeThe shape that just got loaded.

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