Details
-
Suggestion
-
Resolution: Done
-
P3: Somewhat important
-
5.2.1
-
d2388f15e7fa420415d119b0e422ea03da050a60
Description
The new method pointer based connect() overloads are very useful. I would like to have something similar for QMetaObject::invokeMethod(): An overload that takes a method pointer to be invoke via event loop (instead of a method name) so I get a compile time error if the invoked method does not exist.
Attachments
Issue Links
- relates to
-
QTBUG-131739 Add QDesktopServices::setUrlHandler() overload that takes a method pointer
- Reported
- replaces
-
QTBUG-55304 QMetaObject::invokeMethod alternative with compile-time checking
- Closed