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.