summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorTopi Reinio <topi.reinio@qt.io>2020-03-17 17:27:08 +0100
committerTopi Reinio <topi.reinio@qt.io>2020-03-26 15:28:08 +0100
commit07558ae12d9b86bae9c5ee2b04414e6e34ec61b3 (patch)
tree6d89c22cfd0eb29d19a0509db23e0522c7e4cbc8 /src
parent7d0f24b166c0f3e3fc20d89d819e1321f72db57d (diff)
Doc: QItemSelectionModel: Note when function default arguments were added
Change-Id: I4b7a9269b68c86548035b57211c4c1b5ad451767 Reviewed-by: Paul Wicking <paul.wicking@qt.io>
Diffstat (limited to 'src')
-rw-r--r--src/corelib/itemmodels/qitemselectionmodel.cpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/corelib/itemmodels/qitemselectionmodel.cpp b/src/corelib/itemmodels/qitemselectionmodel.cpp
index e4ac5da299..27442fb2fa 100644
--- a/src/corelib/itemmodels/qitemselectionmodel.cpp
+++ b/src/corelib/itemmodels/qitemselectionmodel.cpp
@@ -1473,6 +1473,9 @@ bool QItemSelectionModel::isSelected(const QModelIndex &index) const
Note that this function is usually faster than calling isSelected()
on all items in the same row and that unselectable items are
ignored.
+
+ \note Since Qt 5.15, the default argument for \a parent is an empty
+ model index.
*/
bool QItemSelectionModel::isRowSelected(int row, const QModelIndex &parent) const
{
@@ -1545,6 +1548,9 @@ bool QItemSelectionModel::isRowSelected(int row, const QModelIndex &parent) cons
Note that this function is usually faster than calling isSelected()
on all items in the same column and that unselectable items are
ignored.
+
+ \note Since Qt 5.15, the default argument for \a parent is an empty
+ model index.
*/
bool QItemSelectionModel::isColumnSelected(int column, const QModelIndex &parent) const
{
@@ -1616,6 +1622,9 @@ bool QItemSelectionModel::isColumnSelected(int column, const QModelIndex &parent
/*!
Returns \c true if there are any items selected in the \a row with the given
\a parent.
+
+ \note Since Qt 5.15, the default argument for \a parent is an empty
+ model index.
*/
bool QItemSelectionModel::rowIntersectsSelection(int row, const QModelIndex &parent) const
{
@@ -1649,6 +1658,9 @@ bool QItemSelectionModel::rowIntersectsSelection(int row, const QModelIndex &par
/*!
Returns \c true if there are any items selected in the \a column with the given
\a parent.
+
+ \note Since Qt 5.15, the default argument for \a parent is an empty
+ model index.
*/
bool QItemSelectionModel::columnIntersectsSelection(int column, const QModelIndex &parent) const
{