From 296bbbfa5098d8af5c4d55facd1497a275e15c70 Mon Sep 17 00:00:00 2001 From: Edward Welbourne Date: Mon, 9 Mar 2020 17:21:24 +0100 Subject: Fix minor errors in QDeadlineTimer docs Change-Id: I0f33094da29300ca8a609cfffd700c2a82d86ad1 Reviewed-by: Volker Hilsheimer Reviewed-by: Paul Wicking --- src/corelib/kernel/qdeadlinetimer.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/corelib/kernel') diff --git a/src/corelib/kernel/qdeadlinetimer.cpp b/src/corelib/kernel/qdeadlinetimer.cpp index 06b56bb09b..520153b2e5 100644 --- a/src/corelib/kernel/qdeadlinetimer.cpp +++ b/src/corelib/kernel/qdeadlinetimer.cpp @@ -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. -- cgit v1.2.3