QStateMachine::WrappedEvent Class
class QStateMachine::WrappedEventA classe `WrappedEvent` herda d QEvent ` e contém um clone de um evento associado a um ` QObject`. Mais...
Funções públicas
| virtual | ~WrappedEvent() |
| QEvent * | event() const |
| QObject * | object() const |
Descrição detalhada
Um evento encapsulado é gerado por um ` QStateMachine ` em resposta a um evento Qt. A classe ` QEventTransition ` fornece uma transição associada a tal evento. ` QStateMachine::WrappedEvent ` faz parte da Visão Geral do `Qt State Machine `.
A função ` object()` retorna o objeto que gerou o evento. A função ` event()` retorna um clone do evento original.
Veja também QEventTransition.
Documentação das funções de membro
[virtual noexcept] WrappedEvent::~WrappedEvent()
Destrói isto: WrappedEvent.
QEvent *WrappedEvent::event() const
Retorna um clone do evento original.
QObject *WrappedEvent::object() const
Retorna o objeto ao qual o evento está associado.
© 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.