MeVisLab Toolbox Reference
ml::ItemModelEvent Class Reference

#include <mlAbstractItemModel.h>

Inheritance diagram for ml::ItemModelEvent:
ml::BaseEvent ml::ItemChildrenRequestEvent ml::ItemsDataChangedEvent ml::TwoPhaseItemModelEvent ml::ItemChangedEvent ml::ItemsInsertedEvent ml::ItemsRemovedEvent

Public Member Functions

 ItemModelEvent ()
AbstractItemModelmodel () const
Public Member Functions inherited from ml::BaseEvent
 BaseEvent ()
virtual ~BaseEvent ()
EventSourcesource () const
 Returns the Base object emitting this event.

Detailed Description

This intermediate class only exists to conveniently get the source() as the model() from an event.

Definition at line 238 of file mlAbstractItemModel.h.

Constructor & Destructor Documentation

◆ ItemModelEvent()

ml::ItemModelEvent::ItemModelEvent ( )
inline

Member Function Documentation

◆ model()

AbstractItemModel * ml::ItemModelEvent::model ( ) const
inline

Definition at line 242 of file mlAbstractItemModel.h.

References ml::BaseEvent::source().


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