QTimer: fix API docs related to QChronoTimer

QChronoTimer is in Qt 6.8.

Found in API review.

Change-Id: I7f20958948cb635ccd1f4cef383aed810a188f12
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
(cherry picked from commit 25f2b7c32226fdabcb22fbf928bb0c058cd53022)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
Ahmad Samir 2024-06-09 19:24:01 +03:00 committed by Qt Cherry-pick Bot
parent 741c1d0f11
commit c9b985eae3

View File

@ -74,7 +74,7 @@ QT_BEGIN_NAMESPACE
more and more platforms, we expect that zero-millisecond more and more platforms, we expect that zero-millisecond
QTimer objects will gradually be replaced by \l{QThread}s. QTimer objects will gradually be replaced by \l{QThread}s.
\note Since Qt 6.7 this class is superseded by \l{QChronoTimer}. \note Since Qt 6.8 this class is superseded by \l{QChronoTimer}.
The maximum interval QTimer supports is limited by the number of The maximum interval QTimer supports is limited by the number of
milliseconds that would fit in an \c int (which is around 24 days); milliseconds that would fit in an \c int (which is around 24 days);
whereas QChronoTimer stores its interval as \c std::chrono::nanoseconds whereas QChronoTimer stores its interval as \c std::chrono::nanoseconds