Obsolete Members for QStateMachine

以下成員源於類 QStateMachine 被棄用。 提供它們是為使舊源代碼能繼續工作。強烈建議不要在新代碼中使用它們。

公共函數

(棄用) QStateMachine (QState::ChildMode childMode , QObject * parent = nullptr)

成員函數文檔編製

[explicit, deprecated] QStateMachine:: QStateMachine ( QState::ChildMode childMode , QObject * parent = nullptr)

This function is deprecated. We strongly advise against using it in new code.

Constructs a new state machine with the given childMode and parent .

警告: Do not set the childMode to anything else than ExclusiveStates , otherwise the state machine is invalid, and might work incorrectly.