title: C++ Qt: Check the current State of QStateMachine
body: <p>I'm trying to implement a state-machine in Qt (C++).
  How can I check the current state of the QStateMachine?
  I couldn't find a method in the documentation.</p>
  
  <p>thx</p>