以下成員源於類 QStateMachine 已過時。 提供它們是為使舊源代碼能繼續工作。強烈建議不要在新代碼中使用它們。
(obsolete)
|
QStateMachine (QState::ChildMode childMode , QObject * parent = nullptr) |
此函數已過時。提供它是為使舊源代碼能繼續工作。強烈建議不要在新代碼中使用它。
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.
該函數在 Qt 5.0 引入。