diff options
Diffstat (limited to 'src/sql/models/qsqlrelationaltablemodel.cpp')
-rw-r--r-- | src/sql/models/qsqlrelationaltablemodel.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/sql/models/qsqlrelationaltablemodel.cpp b/src/sql/models/qsqlrelationaltablemodel.cpp index fb45468d2e..6aeef89483 100644 --- a/src/sql/models/qsqlrelationaltablemodel.cpp +++ b/src/sql/models/qsqlrelationaltablemodel.cpp @@ -124,8 +124,8 @@ typedef QSqlRelationalTableModelSql Sql; /*! \fn bool QSqlRelation::isValid() const - Returns true if the QSqlRelation object is valid; otherwise - returns false. + Returns \c true if the QSqlRelation object is valid; otherwise + returns \c false. */ class QRelatedTableModel; @@ -458,12 +458,12 @@ QVariant QSqlRelationalTableModel::data(const QModelIndex &index, int role) cons value might be applied to the database at once, or it may be cached in the model. - Returns true if the value could be set, or false on error (for + Returns \c true if the value could be set, or false on error (for example, if \a index is out of bounds). For relational columns, \a value must be the index, not the display value. The index must also exist in the referenced - table, otherwise the function returns false. + table, otherwise the function returns \c false. \sa editStrategy(), data(), submit(), revertRow() */ |