|  | Home

# QtStateAction Class Reference
[QtCore module]

The QtStateAction class is the base class of QtState actions. More...

     #include <QtStateAction>

Inherits QObject.

Inherited by QtStateInvokeMethodAction and QtStateSetPropertyAction.

- List of all members, including inherited members

### Public Functions

- ~QtStateAction ()

- 29 public functions inherited from QObject

### Protected Functions

- QtStateAction ()
- virtual void execute () = 0

- 7 protected functions inherited from QObject

### Additional Inherited Members

- 1 property inherited from QObject
- 1 public slot inherited from QObject
- 1 signal inherited from QObject
- 1 public type inherited from QObject
- 4 static public members inherited from QObject
- 2 protected variables inherited from QObject

## Detailed Description

The QtStateAction class is the base class of QtState actions.

A state action is added to a state by calling QtState::addEntryAction() or QtState::addExitAction(). QtStateAction is part of The State Machine Framework.

### Subclassing

Subclasses must reimplement the execute() function.

## Member Function Documentation

### QtStateAction::QtStateAction () `[protected]`

Constructs a new QtStateAction object.

### QtStateAction::~QtStateAction ()

Destroys this QtStateAction object.

### void QtStateAction::execute () `[pure virtual protected]`

Executes this action.