Qt 4.6: QWrappedEvent Class Reference

|  | Home · All Classes · Overviews |

# QWrappedEvent Class Reference
[QtCore module]

The QWrappedEvent class holds a clone of an event associated with a QObject. More...

     #include <QWrappedEvent>

Inherits QEvent.

This class was introduced in Qt 4.6.

- List of all members, including inherited members

## Public Functions

| ~QWrappedEvent ()
QEvent * | event () const
QObject * | object () const

- 6 public functions inherited from QEvent

### Additional Inherited Members

- 1 property inherited from QEvent
- 1 static public member inherited from QEvent

## Detailed Description

The QWrappedEvent class holds a clone of an event associated with a QObject.

A wrapped event is generated by a QStateMachine in response to a Qt event. The QEventTransition class provides a transition associated with a such an event. QWrappedEvent is part of The State Machine Framework.

The object() function returns the object that generated the event. The event() function returns a clone of the original event.

See also QEventTransition.

## Member Function Documentation

### QWrappedEvent::~QWrappedEvent ()

Destroys this QWrappedEvent.

### QEvent * QWrappedEvent::event () const

Returns a clone of the original event.

### QObject * QWrappedEvent::object () const

Returns the object that the event is associated with.