summaryrefslogtreecommitdiff
path: root/src/corelib/time/qdatetime.cpp
diff options
context:
space:
mode:
authorPaul Wicking <paul.wicking@qt.io>2021-01-15 08:40:25 +0100
committerPaul Wicking <paul.wicking@qt.io>2021-02-03 12:28:06 +0100
commit06c97d46e7b0857ab84b3f9bba49da80aee83cb9 (patch)
treec62d033e5a111d53ba7ca6abfcf89a1491ea43e3 /src/corelib/time/qdatetime.cpp
parent4cec3ecd2d52597311241d72c3f315bad89871f8 (diff)
downloadqtbase-06c97d46e7b0857ab84b3f9bba49da80aee83cb9.tar.gz
Doc: Add deprecation notice
Fixes: QTBUG-83638 Change-Id: I2ad5922f112ea7fe437ffee2a4ec3fb7ab5846c4 Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
Diffstat (limited to 'src/corelib/time/qdatetime.cpp')
-rw-r--r--src/corelib/time/qdatetime.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/corelib/time/qdatetime.cpp b/src/corelib/time/qdatetime.cpp
index 22c49360b8..52c6118f1f 100644
--- a/src/corelib/time/qdatetime.cpp
+++ b/src/corelib/time/qdatetime.cpp
@@ -2612,6 +2612,8 @@ bool QTime::isValid(int h, int m, int s, int ms)
#if QT_DEPRECATED_SINCE(5, 14) // ### Qt 6: remove
/*!
+ \deprecated
+
Sets this time to the current time. This is practical for timing:
\snippet code/src_corelib_tools_qdatetime.cpp 10
@@ -2655,6 +2657,8 @@ int QTime::restart()
}
/*!
+ \deprecated
+
Returns the number of milliseconds that have elapsed since the
last time start() or restart() was called.