RViewListener
Class in Core Module
Header: #include <src/core/RViewListener.h>
Description
Section titled “Description”Abstract base class for classes that are interested in being notified whenever a view has been added or changed.
This can for example be a widget that lists all views.
Scriptable: This class is available in script environments.
Public Functions
Section titled “Public Functions”| virtual | ~RViewListener() |
| virtual void | clearViews()=0 = 0This method is called to signal that no document is currently active. |
| virtual void | updateViews(RDocumentInterface *documentInterface)=0 = 0This method is called whenever at least one view in the given document has changed. |
Member Documentation
Section titled “Member Documentation”~RViewListener
Section titled “~RViewListener”virtual RViewListener::~RViewListener()virtual inline
clearViews
Section titled “clearViews”virtual void RViewListener::clearViews()=0 = 0pure virtual
This method is called to signal that no document is currently active.
updateViews
Section titled “updateViews”virtual void RViewListener::updateViews(RDocumentInterface *documentInterface)=0 = 0pure virtual
This method is called whenever at least one view in the given document has changed.