Obsolete Members for QStateMachine

以下成员源于类 QStateMachine 被弃用。 提供它们是为使旧源代码能继续工作。强烈建议不要在新代码中使用它们。

公共函数

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

成员函数文档编制

[explicit] 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.