aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorNico Vertriest <nico.vertriest@qt.io>2021-07-22 10:11:27 +0200
committerNico Vertriest <nico.vertriest@qt.io>2021-07-29 17:30:33 +0200
commita9df1c901b7a0a9949fc1b7c52958bf4aa399b6d (patch)
treef7eee43ddf3855d6a5682204eb949482d30cc0db /src
parent146f8cbf865e0061859dd9f1c7a477db91298052 (diff)
Doc: Ensure deprecated APIs in Qt QML are documented as such
Added \deprecated + [version_since] where needed Fixes: QTBUG-95323 Pick-to: 6.2 Change-Id: Ie942e527b6cf60902443c98580167a7cb7ca724d Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Diffstat (limited to 'src')
-rw-r--r--src/qml/qml/qqmlfileselector.cpp4
-rw-r--r--src/quick/handlers/qquickdraghandler.cpp2
2 files changed, 4 insertions, 2 deletions
diff --git a/src/qml/qml/qqmlfileselector.cpp b/src/qml/qml/qqmlfileselector.cpp
index 4b773adc3e..269fbc7ab4 100644
--- a/src/qml/qml/qqmlfileselector.cpp
+++ b/src/qml/qml/qqmlfileselector.cpp
@@ -180,7 +180,9 @@ void QQmlFileSelector::setExtraSelectors(const QStringList &strings)
#if QT_DEPRECATED_SINCE(6, 0)
/*!
- \deprecated
+ \deprecated [6.0] The file selector should not be accessed after it
+ is set. It may be in use. See below for further details.
+
Gets the QQmlFileSelector currently active on the target \a engine.
This method is deprecated. You should not retrieve the files selector from an
diff --git a/src/quick/handlers/qquickdraghandler.cpp b/src/quick/handlers/qquickdraghandler.cpp
index 233516c3a3..365864bbe9 100644
--- a/src/quick/handlers/qquickdraghandler.cpp
+++ b/src/quick/handlers/qquickdraghandler.cpp
@@ -371,7 +371,7 @@ void QQuickDragHandler::setActiveTranslation(const QVector2D &trans)
/*!
\readonly
\qmlproperty QVector2D QtQuick::DragHandler::translation
- \deprecated Use activeTranslation
+ \deprecated [6.2] Use activeTranslation
*/
/*!