<class name="QActionEvent" doc="/**
&lt;p&gt;The &lt;a href=&quot;QActionEvent.html#QActionEvent(int, com.trolltech.qt.gui.QAction, com.trolltech.qt.gui.QAction)&quot;&gt;&lt;tt&gt;QActionEvent&lt;/tt&gt;&lt;/a&gt; class provides an event that is generated when a &lt;a href=&quot;QAction.html&quot;&gt;&lt;tt&gt;QAction&lt;/tt&gt;&lt;/a&gt; is added, removed, or changed.&lt;/p&gt;
&lt;p&gt;Actions can be added to widgets using QWidget::addAction(). This generates an &lt;a href=&quot;%2E%2E/core/%2E%2E/core/QEvent.html#Type-enum&quot;&gt;&lt;tt&gt;ActionAdded&lt;/tt&gt;&lt;/a&gt; event, which you can handle to provide custom behavior. For example, &lt;a href=&quot;QToolBar.html&quot;&gt;&lt;tt&gt;QToolBar&lt;/tt&gt;&lt;/a&gt; reimplements QWidget::actionEvent() to create &lt;a href=&quot;QToolButton.html&quot;&gt;&lt;tt&gt;QToolButton&lt;/tt&gt;&lt;/a&gt;s for the actions.&lt;/p&gt;

@see &lt;a href=&quot;QAction.html&quot;&gt;&lt;tt&gt;QAction&lt;/tt&gt;&lt;/a&gt;
@see &lt;tt&gt;QWidget::addAction&lt;/tt&gt;
@see &lt;tt&gt;QWidget::removeAction&lt;/tt&gt;
@see &lt;tt&gt;QWidget::actions&lt;/tt&gt; */">
    <method name="public QActionEvent(int type, com.trolltech.qt.gui.QAction action, com.trolltech.qt.gui.QAction before)" doc="/**
&lt;p&gt;Constructs an action event. The &lt;tt&gt;type&lt;/tt&gt; can be &lt;a href=&quot;%2E%2E/core/%2E%2E/core/QEvent.html#Type-enum&quot;&gt;&lt;tt&gt;ActionChanged&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;%2E%2E/core/%2E%2E/core/QEvent.html#Type-enum&quot;&gt;&lt;tt&gt;ActionAdded&lt;/tt&gt;&lt;/a&gt;, or &lt;a href=&quot;%2E%2E/core/%2E%2E/core/QEvent.html#Type-enum&quot;&gt;&lt;tt&gt;ActionRemoved&lt;/tt&gt;&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;&lt;tt&gt;action&lt;/tt&gt; is the action that is changed, added, or removed. If &lt;tt&gt;type&lt;/tt&gt; is &lt;a href=&quot;%2E%2E/core/%2E%2E/core/QEvent.html#Type-enum&quot;&gt;&lt;tt&gt;ActionAdded&lt;/tt&gt;&lt;/a&gt;, the action is to be inserted before the action &lt;tt&gt;before&lt;/tt&gt;. If &lt;tt&gt;before&lt;/tt&gt; is 0, the action is appended.&lt;/p&gt;
 */"/>
    <method name="public QActionEvent(int type, com.trolltech.qt.gui.QAction action)" doc="/**
&lt;p&gt;Equivalent to &lt;a href=&quot;QActionEvent.html#QActionEvent(int, com.trolltech.qt.gui.QAction, com.trolltech.qt.gui.QAction)&quot;&gt;&lt;tt&gt;QActionEvent&lt;/tt&gt;&lt;/a&gt;(&lt;tt&gt;type&lt;/tt&gt;, &lt;tt&gt;action&lt;/tt&gt;, 0). */"/>
    <method name="public final com.trolltech.qt.gui.QAction action()" doc="/**
&lt;p&gt;Returns the action that is changed, added, or removed.&lt;/p&gt;

@see &lt;a href=&quot;QActionEvent.html#before()&quot;&gt;&lt;tt&gt;before&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final com.trolltech.qt.gui.QAction before()" doc="/**
&lt;p&gt;If &lt;a href=&quot;%2E%2E/core/%2E%2E/core/QEvent.html#type()&quot;&gt;&lt;tt&gt;type&lt;/tt&gt;&lt;/a&gt; is &lt;a href=&quot;%2E%2E/core/%2E%2E/core/QEvent.html#Type-enum&quot;&gt;&lt;tt&gt;ActionAdded&lt;/tt&gt;&lt;/a&gt;, returns the action that should appear before &lt;a href=&quot;QActionEvent.html#action()&quot;&gt;&lt;tt&gt;action&lt;/tt&gt;&lt;/a&gt;. If this function returns 0, the action should be appended to already existing actions on the same widget.&lt;/p&gt;

@see &lt;a href=&quot;QActionEvent.html#action()&quot;&gt;&lt;tt&gt;action&lt;/tt&gt;&lt;/a&gt;
@see &lt;tt&gt;QWidget::actions&lt;/tt&gt; */"/>
</class>
