diff options
author | Mate Barany <[email protected]> | 2025-04-08 11:22:27 +0200 |
---|---|---|
committer | Mate Barany <[email protected]> | 2025-04-10 13:35:00 +0200 |
commit | 98886a024f6955923d49202efb74b1c807670fea (patch) | |
tree | ab824ab3f040f8895a7568cf6279c5114555f21a /src/labs/models/qqmltablemodel.cpp | |
parent | 3cb8e9b6056d66b409527617d87ae0c12135f6c5 (diff) |
Fix documentation of TableModel::insertRow
It references list model which is a bit confusing as it is a method of
the table model. Since the other methods reference it as "the model",
let's use that here as well.
Pick-to: 6.9
Change-Id: I427d2cc9d3b0161b4cbfb184a09807b5a71f17e2
Reviewed-by: Richard Moe Gustavsen <[email protected]>
Diffstat (limited to 'src/labs/models/qqmltablemodel.cpp')
-rw-r--r-- | src/labs/models/qqmltablemodel.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/labs/models/qqmltablemodel.cpp b/src/labs/models/qqmltablemodel.cpp index 3b3fb7f921..4f902ec0c0 100644 --- a/src/labs/models/qqmltablemodel.cpp +++ b/src/labs/models/qqmltablemodel.cpp @@ -383,7 +383,7 @@ QVariant QQmlTableModel::getRow(int rowIndex) /*! \qmlmethod TableModel::insertRow(int rowIndex, object row) - Adds a new row to the list model at position \a rowIndex, with the + Adds a new row to the model at position \a rowIndex, with the values (cells) in \a row. \code @@ -396,8 +396,8 @@ QVariant QQmlTableModel::getRow(int rowIndex) }) \endcode - The \a rowIndex must be to an existing item in the list, or one past - the end of the list (equivalent to \l appendRow()). + The \a rowIndex must point to an existing item in the table, or one past + the end of the table (equivalent to \l appendRow()). \sa appendRow(), setRow(), removeRow(), rowCount */ |