Details
-
Task
-
Resolution: Unresolved
-
P4: Low
-
None
-
None
-
None
-
032ffb70a (dev)
Description
And make the old integer-versions call the QDeadlineTimer versions.
The logic is simpler and using QDeadlineTimer in more places creates more consistency throughout Qt.
This includes QSslSocket::waitForEncrypted, QTcpSocket::waitForConnected, etc.
These APIs are not "best practice", but as long as we have them we should keep them updated.
Possibly do in multiple steps:
1. Rewrite internals to create and use a QDeadlineTimer
2. Add QDeadlineTimer overload
3. Make the int-version inline by way of the INLINE_SINCE machinery.
Attachments
Gerrit Reviews
For Gerrit Dashboard: QTBUG-113518 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
493260,1 | QAbstractSocket: port to QDeadlineTimer in implementation | dev | qt/qtbase | Status: ABANDONED | 0 | 0 |
494389,8 | QAbstractSocketEngine: port to QDeadlineTimer | dev | qt/qtbase | Status: MERGED | +2 | 0 |