Emitting signals from class, if transition in QStateMachine was successful
问题 My problem is the following: I need to create class, which contains QStateMachine instance. This class should have slots through which you could "ask" state machine to make transition to another state. And if transition was successful, my class should emit signal about it. How would I implement this? Class should have ability to emit certain signals according to certain slot invoke. Here is a small example of class: class MyClass : public QObject { Q_OBJECT public: explicit MyClass(QObject