Skip to content

Commit

Permalink
Doc: QItemSelectionModel: Note when function default arguments were a…
Browse files Browse the repository at this point in the history
…dded

Change-Id: I4b7a9269b68c86548035b57211c4c1b5ad451767
Reviewed-by: Paul Wicking <[email protected]>
  • Loading branch information
toreinio committed Mar 26, 2020
1 parent 7d0f24b commit 07558ae
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions src/corelib/itemmodels/qitemselectionmodel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
{
Expand Down Expand Up @@ -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
{
Expand Down Expand Up @@ -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
{
Expand Down Expand Up @@ -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
{
Expand Down

0 comments on commit 07558ae

Please sign in to comment.