|  | Home · Overviews · Examples |

# QActionEvent Class Reference
[com.trolltech.qt.gui module]

The `QActionEvent` class provides an event that is generated when a `QAction` is added, removed, or changed. More...

Inherits `QEvent`.

## Detailed Description

The `QActionEvent` class provides an event that is generated when a `QAction` is added, removed, or changed.

Actions can be added to widgets using QWidget::addAction(). This generates an `ActionAdded` event, which you can handle to provide custom behavior. For example, `QToolBar` reimplements QWidget::actionEvent() to create `QToolButton`s for the actions.

See also `QAction`, `QWidget::addAction`, `QWidget::removeAction`, and `QWidget::actions`.