QCAD
Open Source 2D CAD
RBlockListener Class Referenceabstract

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

#include <RBlockListener.h>

Public Member Functions

virtual void clearBlocks ()=0
 This method is called to signal that no document is currently active. More...
 
virtual void updateBlocks (RDocumentInterface *documentInterface)=0
 This method is called whenever at least one block in the given document has changed. More...
 
virtual ~RBlockListener ()
 

Detailed 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.

Constructor & Destructor Documentation

virtual RBlockListener::~RBlockListener ( )
inlinevirtual

Member Function Documentation

virtual void RBlockListener::clearBlocks ( )
pure virtual

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

virtual void RBlockListener::updateBlocks ( RDocumentInterface documentInterface)
pure virtual

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


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