MeVisLab Toolbox Reference
ml::ItemsRemovedEvent Class Reference

This event informs about removed items. More...

#include <mlAbstractItemModel.h>

Inheritance diagram for ml::ItemsRemovedEvent:
ml::TwoPhaseItemModelEvent ml::ItemModelEvent ml::BaseEvent

Public Member Functions

 ItemsRemovedEvent (const ModelIndex &parentIndex, unsigned int position, unsigned int itemsInserted, bool after)
 
const ModelIndexparentIndex () const
 
unsigned int position () const
 
unsigned int itemsRemoved () const
 
- Public Member Functions inherited from ml::TwoPhaseItemModelEvent
 TwoPhaseItemModelEvent (bool afterArg=false)
 
bool after () const
 
- Public Member Functions inherited from ml::ItemModelEvent
 ItemModelEvent ()
 
AbstractItemModelmodel () const
 
- Public Member Functions inherited from ml::BaseEvent
 BaseEvent ()
 
virtual ~BaseEvent ()
 
EventSourcesource () const
 get the Base object emitting this event More...
 

Detailed Description

This event informs about removed items.

Definition at line 288 of file mlAbstractItemModel.h.

Constructor & Destructor Documentation

◆ ItemsRemovedEvent()

ml::ItemsRemovedEvent::ItemsRemovedEvent ( const ModelIndex parentIndex,
unsigned int  position,
unsigned int  itemsInserted,
bool  after 
)

Member Function Documentation

◆ itemsRemoved()

unsigned int ml::ItemsRemovedEvent::itemsRemoved ( ) const
inline

Definition at line 295 of file mlAbstractItemModel.h.

◆ parentIndex()

const ModelIndex& ml::ItemsRemovedEvent::parentIndex ( ) const
inline

Definition at line 293 of file mlAbstractItemModel.h.

◆ position()

unsigned int ml::ItemsRemovedEvent::position ( ) const
inline

Definition at line 294 of file mlAbstractItemModel.h.


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