Skip to content

RBlockListener

Class in Core Module
Header: #include <src/core/RBlockListener.h>

Abstract base class for classes that are interested in being notified whenever a block has been added or changed.

This can for example be a widget that lists all blocks.

Scriptable: This class is available in script environments.

virtual ~RBlockListener()
virtual void clearBlocks()=0 = 0
This method is called to signal that no document is currently active.
virtual void setCurrentBlock(RDocumentInterface *documentInterface)=0 = 0
This method is called when a different block becomes the new current block.
virtual void updateBlocks(RDocumentInterface *documentInterface)=0 = 0
This method is called whenever at least one block in the given document has changed.
virtual void updateXRef()=0 = 0
This method is called when the XRef status of the current block might have changed.

virtual RBlockListener::~RBlockListener()

virtual inline

virtual void RBlockListener::clearBlocks()=0 = 0

pure virtual

This method is called to signal that no document is currently active.

virtual void RBlockListener::setCurrentBlock(RDocumentInterface *documentInterface)=0 = 0

pure virtual

This method is called when a different block becomes the new current block.

virtual void RBlockListener::updateBlocks(RDocumentInterface *documentInterface)=0 = 0

pure virtual

This method is called whenever at least one block in the given document has changed.

virtual void RBlockListener::updateXRef()=0 = 0

pure virtual

This method is called when the XRef status of the current block might have changed.