Details
-
Suggestion
-
Resolution: Done
-
Not Evaluated
-
5.0.0, 5.3.0 Beta1
Description
Qt5 having a new connection syntax which allows for the use of lambdas and QtConcurrent already beeing capable of using lambdas QTimer or more specifically QTimer::singleShot() is lacking both.
It would be convenient (and consistent) to have function pointer syntax and lambda support for QTimer::singleShot() as well.
Attachments
Issue Links
- relates to
-
QTBUG-131739 Add QDesktopServices::setUrlHandler() overload that takes a method pointer
- Reported
- replaces
-
QTBUG-33724 QTimer::singleShot should have overloads to work with function pointer like QObject::connect
- Closed
-
QTBUG-34196 C++11 and QTimer::singleShot()
- Closed
-
QTBUG-44219 Add single-shot connection type
- Closed
For Gerrit Dashboard: QTBUG-26406 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
66110,20 | QTimer: add convenience singleShot methods for functors | dev | qt/qtbase | Status: MERGED | +2 | 0 |
99394,6 | tst_QTimer::singleShotToFunctors: Allocate static event loop on heap. | 5.4 | qt/qtbase | Status: MERGED | +2 | 0 |