このページでは

QStateMachine::WrappedEvent Class

class QStateMachine::WrappedEvent

WrappedEvent クラスはQEvent を継承しており、QObject に関連付けられたイベントのクローンを保持しています。詳細...

パブリック関数

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

詳細な説明

ラップされたイベントは、Qtイベントへの応答としてQStateMachine によって生成されます。QEventTransition クラスは、そのようなイベントに関連付けられた遷移を提供します。QStateMachine::WrappedEvent は、「Qt State Machine の概要」の一部です。

object() 関数は、イベントを生成したオブジェクトを返します。event() 関数は、元のイベントのクローンを返します。

「QEventTransition」も参照してください 。

メンバ関数のドキュメント

[virtual noexcept] WrappedEvent::~WrappedEvent()

WrappedEvent を削除します。

QEvent *WrappedEvent::event() const

元のイベントのクローンが返されます。

QObject *WrappedEvent::object() const

そのイベントに関連付けられているオブジェクトを返します。

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