RBlockListener
Class in Core Module
Header: #include <src/core/RBlockListener.h>
Description
Section titled “Description”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.
Public Functions
Section titled “Public Functions”| virtual | ~RBlockListener() |
| virtual void | clearBlocks()=0 = 0This method is called to signal that no document is currently active. |
| virtual void | setCurrentBlock(RDocumentInterface *documentInterface)=0 = 0This method is called when a different block becomes the new current block. |
| virtual void | updateBlocks(RDocumentInterface *documentInterface)=0 = 0This method is called whenever at least one block in the given document has changed. |
| virtual void | updateXRef()=0 = 0This method is called when the XRef status of the current block might have changed. |
Member Documentation
Section titled “Member Documentation”~RBlockListener
Section titled “~RBlockListener”virtual RBlockListener::~RBlockListener()virtual inline
clearBlocks
Section titled “clearBlocks”virtual void RBlockListener::clearBlocks()=0 = 0pure virtual
This method is called to signal that no document is currently active.
setCurrentBlock
Section titled “setCurrentBlock”virtual void RBlockListener::setCurrentBlock(RDocumentInterface *documentInterface)=0 = 0pure virtual
This method is called when a different block becomes the new current block.
updateBlocks
Section titled “updateBlocks”virtual void RBlockListener::updateBlocks(RDocumentInterface *documentInterface)=0 = 0pure virtual
This method is called whenever at least one block in the given document has changed.
updateXRef
Section titled “updateXRef”virtual void RBlockListener::updateXRef()=0 = 0pure virtual
This method is called when the XRef status of the current block might have changed.