|  | Home

# QtStateFinishedEvent Class Reference
[QtCore module]

The QtStateFinishedEvent class contains parameters that describe a state that has finished. More...

     #include <QtStateFinishedEvent>

Inherits QEvent.

- List of all members, including inherited members

### Public Functions

- QtStateFinishedEvent ( QtAbstractStateGroup * state )
- ~QtStateFinishedEvent ()
- QtAbstractStateGroup * state () const

- 6 public functions inherited from QEvent

### Additional Inherited Members

- 1 property inherited from QEvent
- 1 static public member inherited from QEvent
- 2 protected variables inherited from QEvent

## Detailed Description

The QtStateFinishedEvent class contains parameters that describe a state that has finished.

A state is finished when one of its final child states (a QtFinalState) is entered; this will cause a QtStateFinishedEvent to be generated by the state machine. QtStateFinishedEvent is part of The State Machine Framework.

Typically you do not create QtStateFinishedEvent objects yourself, but rather use QtStateFinishedTransition to create a transition that's triggered by a state's finished event.

See also QtStateFinishedTransition.

## Member Function Documentation

### QtStateFinishedEvent::QtStateFinishedEvent ( QtAbstractStateGroup * state )

Constructs a new QtStateFinishedEvent object associated with the given state.

### QtStateFinishedEvent::~QtStateFinishedEvent ()

Destroys this QtStateFinishedEvent.

### QtAbstractStateGroup * QtStateFinishedEvent::state () const

Returns the state associated with this QtStateFinishedEvent.