StateMachineTools.hpp
1 #pragma once
2 
3 #include <QState>
4 inline bool isStateActive(QState* s)
5 {
6  return s->active();
7 }
8 
9 inline constexpr auto finishedState()
10 {
11  return &QState::finished;
12 }