AbstractDocView Class Reference

#include <abstractdocview.h>

Inheritance diagram for AbstractDocView:

AbstractView MvcBase AbstractAttributeDocView AbstractElementDocView AbstractDiagramView DiagramEditor ElementInspector MDIDiagramWindow List of all members.

Public Member Functions

 AbstractDocView (QObject *objectPtr)
DocControllerdocController () const
Docdoc () 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 *)

Detailed Description

The AbstractDocView class adds an event handler to AbstractView.


Constructor & Destructor Documentation

AbstractDocView::AbstractDocView ( QObject *  objectPtr  ) 


Member Function Documentation

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.


The documentation for this class was generated from the following files:
Generated on Mon Jul 30 09:46:51 2007 for Digest by  doxygen 1.5.2