#include <abstractdocview.h>
Inheritance diagram for AbstractDocView:

Public Member Functions | |
| AbstractDocView (QObject *objectPtr) | |
| DocController * | docController () const |
| Doc * | doc () const |
Protected Member Functions | |
| virtual void | dispatchEvent (VEvent *) |
| virtual void | changeControllerEvent (VChangeControllerEvent *) |
| virtual void | modelChangedEvent (VModelChangedEvent *) |
| virtual void | renamedEvent (VRenamedEvent *) |
| virtual void | filenameChangedEvent (VFilenameChangedEvent *) |
| virtual void | modifiedStateChangedEvent (VModifiedStateChangedEvent *) |
| AbstractDocView::AbstractDocView | ( | QObject * | objectPtr | ) |
| DocController * AbstractDocView::docController | ( | ) | const |
Convenience method.
Returns a cached guarded pointer that has been dynamically cast to DocController* from AbstractController*.
See also AbstractView::controller().
| Doc * AbstractDocView::doc | ( | ) | const |
Convenience method.
Returns a cached guarded pointer that has been dynamically cast to Doc* from AbstractModel*.
See also AbstractView::model().
| void AbstractDocView::dispatchEvent | ( | VEvent * | event | ) | [protected, virtual] |
The view's event dispatcher.
Asserts that the event is non-null.
Warning! It is assumed that the events have their correct type set (as it uses static casts).
Reimplemented from AbstractView.
Reimplemented in AbstractAttributeDocView, AbstractElementDocView, and AbstractDiagramView.
| void AbstractDocView::changeControllerEvent | ( | VChangeControllerEvent * | event | ) | [protected, virtual] |
Re-implemented, as to also have the pointer returned by docController() updated.
Asserts that the event is non-null.
Reimplemented from AbstractView.
Reimplemented in AbstractAttributeDocView, AbstractElementDocView, and AbstractDiagramView.
| void AbstractDocView::modelChangedEvent | ( | VModelChangedEvent * | event | ) | [protected, virtual] |
Re-implemented, as to also have the pointer returned by doc() updated.
Asserts that the event is non-null.
Reimplemented from AbstractView.
Reimplemented in AbstractAttributeDocView, AbstractElementDocView, and AbstractDiagramView.
| virtual void AbstractDocView::renamedEvent | ( | VRenamedEvent * | ) | [inline, protected, virtual] |
Reimplemented in MDIDiagramWindow.
| virtual void AbstractDocView::filenameChangedEvent | ( | VFilenameChangedEvent * | ) | [inline, protected, virtual] |
| virtual void AbstractDocView::modifiedStateChangedEvent | ( | VModifiedStateChangedEvent * | ) | [inline, protected, virtual] |
Reimplemented in MDIDiagramWindow.
1.5.2