以下成员源于类 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.