En esta página

QStateMachine::WrappedEvent Class

class QStateMachine::WrappedEvent

La clase WrappedEvent hereda de QEvent y contiene un clon de un evento asociado a un QObject. Más...

Funciones públicas

virtual ~WrappedEvent()
QEvent *event() const
QObject *object() const

Descripción detallada

Un evento envuelto es generado por un QStateMachine en respuesta a un evento Qt. La clase QEventTransition proporciona una transición asociada a un evento de este tipo. QStateMachine::WrappedEvent forma parte de Qt State Machine Visión general.

La función object() devuelve el objeto que ha generado el evento. La función event() devuelve un clon del evento original.

Véase también QEventTransition.

Documentación de las funciones miembro

[virtual noexcept] WrappedEvent::~WrappedEvent()

Destruye este WrappedEvent.

QEvent *WrappedEvent::event() const

Devuelve un clon del evento original.

QObject *WrappedEvent::object() const

Devuelve el objeto al que está asociado el evento.

© 2026 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.