a guest Jul 18th, 2018 52 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- // My s1 state never seems to transition when I signal the correct signal. However I do see the signal being posted
- NiesDriver::NiesDriver(QObject * parent) : QObject(parent)
- QStateMachine machine;
- QState *s1 = new QState();
- QState *s2 = new QState();
- QSignalTransition *t1 =
- connect(s2,SIGNAL(entered()),this,SLOT(onMyStateEntered())); // this is never called I assume entered() is never signaled??
- //connect(this,SIGNAL(testSignal()),this,SLOT(onMyStateEntered())); // this one works proving it is emitting testSignal
- cardCounter(10); // this emits testSignal
RAW Paste Data