What is the best and short way to inplace addTransition on signal with params (c++/c++11):
QCheckBox checkBox;
QStateMachine machine;
QState *s1 = new QState();
QFinalState *s2 = new QFinalState();
s1->addTransition(&checkbox, SIGNAL(stateChanged(int state)), s2);