Details
-
Suggestion
-
Resolution: Done
-
P3: Somewhat important
-
5.3.1
-
None
-
ebd33883e79b458639e8fe118ccc285641223203
Description
Qt5 having a new connection syntax which allows for the use of function pointers but QState::addTransiton doesn't support it yet.
It would be convenient (and consistent) to have function pointer syntax support for QState::addTransition() as well.
QFinalState *s2 = new QFinalState();
s1->addTransition(&button, &QPushButton::clicked, s2);
Attachments
Issue Links
- is duplicated by
-
QTBUG-45112 State Machine Framework: C++11
- Closed
For Gerrit Dashboard: QTBUG-40293 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
101874,5 | QState: Added template PointerToMemberFunction | dev | qt/qtbase | Status: MERGED | +2 | 0 |