WrappedEvent Class

class QStateMachine::WrappedEvent

WrappedEvent 클래스는 QEvent 을 상속하고 QObject 과 연결된 이벤트의 복제본을 보유합니다.. ..

공용 함수

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

상세 설명

래핑된 이벤트는 Qt 이벤트에 대한 응답으로 QStateMachine 에 의해 생성됩니다. QEventTransition 클래스는 이러한 이벤트와 관련된 전환을 제공합니다. QStateMachine::WrappedEventQt State Machine 개요의 일부입니다.

object() 함수는 이벤트를 생성한 객체를 반환합니다. event () 함수는 원래 이벤트의 복제본을 반환합니다.

QEventTransition참조하세요 .

멤버 함수 문서

[virtual noexcept] WrappedEvent::~WrappedEvent()

이것을 파괴합니다 WrappedEvent.

QEvent *WrappedEvent::event() const

원본 이벤트의 복제본을 반환합니다.

QObject *WrappedEvent::object() const

이벤트가 연관된 개체를 반환합니다.

© 2025 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.