aboutsummaryrefslogtreecommitdiffstats
path: root/src/quick/doc/snippets
diff options
context:
space:
mode:
authorUlf Hermann <ulf.hermann@qt.io>2023-10-11 16:58:43 +0200
committerUlf Hermann <ulf.hermann@qt.io>2023-10-16 18:28:48 +0200
commit2e6ad03389c7914e28343ece477766ff80d6ca28 (patch)
treeb66b5ddfc5b28a80306efc5ed1a460465da82332 /src/quick/doc/snippets
parent377501f35bf5014da405a3fa5c36d420331d05f9 (diff)
QtQml: Document QML_ADDED_IN_VERSION and QML_REMOVED_IN_VERSION
In turn, deprecate QML_ADDED_IN_MINOR_VERSION and QML_REMOVED_IN_MINOR_VERSION. These are dangerous because you don't quite know what major version they refer to. Pick-to: 6.6 6.5 Fixes: QTBUG-116895 Change-Id: I9d6d169430944e1dfa4e78bda74c8b71f739e331 Reviewed-by: Sami Shalayel <sami.shalayel@qt.io> Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Diffstat (limited to 'src/quick/doc/snippets')
-rw-r--r--src/quick/doc/snippets/qml/tableview/cpp-tablemodel.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/quick/doc/snippets/qml/tableview/cpp-tablemodel.h b/src/quick/doc/snippets/qml/tableview/cpp-tablemodel.h
index a4def6be54..1de11ed48f 100644
--- a/src/quick/doc/snippets/qml/tableview/cpp-tablemodel.h
+++ b/src/quick/doc/snippets/qml/tableview/cpp-tablemodel.h
@@ -12,7 +12,7 @@ class TableModel : public QAbstractTableModel
{
Q_OBJECT
QML_ELEMENT
- QML_ADDED_IN_MINOR_VERSION(1)
+ QML_ADDED_IN_VERSION(1, 1)
public:
int rowCount(const QModelIndex & = QModelIndex()) const override