summaryrefslogtreecommitdiffstats
path: root/src/sql/models
diff options
context:
space:
mode:
authorMark Brand <mabrand@mabrand.nl>2012-02-08 00:40:51 +0100
committerQt by Nokia <qt-info@nokia.com>2012-02-09 10:45:38 +0100
commit40afbf3deb4a0d8823a3307286a35bd046c44e01 (patch)
tree9fd824d7fa880e907b7926a5d31b165cdf017397 /src/sql/models
parent76804c842f838f4f53e25be1aab9bcb46ff8ce46 (diff)
QSqlTableModel::insertRecord(): correct documentation
Change-Id: I35680f842a650493cf530c0b74894e2b45aa3c6e Reviewed-by: Yunqiao Yin <charles.yin@nokia.com>
Diffstat (limited to 'src/sql/models')
-rw-r--r--src/sql/models/qsqltablemodel.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/sql/models/qsqltablemodel.cpp b/src/sql/models/qsqltablemodel.cpp
index 437712d83e..dd4629662b 100644
--- a/src/sql/models/qsqltablemodel.cpp
+++ b/src/sql/models/qsqltablemodel.cpp
@@ -1062,11 +1062,11 @@ bool QSqlTableModel::insertRows(int row, int count, const QModelIndex &parent)
}
/*!
- Inserts the \a record after \a row. If \a row is negative, the
- record will be appended to the end. Calls insertRows() and
+ Inserts the \a record at position \a row. If \a row is negative,
+ the record will be appended to the end. Calls insertRows() and
setRecord() internally.
- Returns true if the row could be inserted, otherwise false.
+ Returns true if the record could be inserted, otherwise false.
\sa insertRows(), removeRows()
*/