以下成員源於類 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.