Fix minor errors in QDeadlineTimer docs

Change-Id: I0f33094da29300ca8a609cfffd700c2a82d86ad1
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Reviewed-by: Paul Wicking <paul.wicking@qt.io>
bb10
Edward Welbourne 2020-03-09 17:21:24 +01:00
parent 12f903b155
commit 296bbbfa50
1 changed files with 5 additions and 5 deletions

View File

@ -438,8 +438,8 @@ inline bool TimeReference::toNanoseconds(qint64 *result) const
For such objects, remainingTime() will return -1, deadline() will return the
maximum value, and isForever() will return true.
The timer type \a timerType may be ignored, since the timer is already
expired.
The timer type \a timerType may be ignored, since the timer will never
expire.
\sa ForeverConstant, hasExpired(), isForever(), remainingTime(), timerType()
*/
@ -449,9 +449,9 @@ inline bool TimeReference::toNanoseconds(qint64 *result) const
from the moment of the creation of this object, if msecs is positive. If \a
msecs is zero, this QDeadlineTimer will be marked as expired, causing
remainingTime() to return zero and deadline() to return an indeterminate
time point in the past. If \a msecs is -1, the timer will be set it to
never expire, causing remainingTime() to return -1 and deadline() to return
the maximum value.
time point in the past. If \a msecs is -1, the timer will be set to never
expire, causing remainingTime() to return -1 and deadline() to return the
maximum value.
The QDeadlineTimer object will be constructed with the specified timer \a type.