Skip to content

RViewListener

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

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.

virtual ~RViewListener()
virtual void clearViews()=0 = 0
This method is called to signal that no document is currently active.
virtual void updateViews(RDocumentInterface *documentInterface)=0 = 0
This method is called whenever at least one view in the given document has changed.

virtual RViewListener::~RViewListener()

virtual inline

virtual void RViewListener::clearViews()=0 = 0

pure virtual

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

virtual void RViewListener::updateViews(RDocumentInterface *documentInterface)=0 = 0

pure virtual

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