diff options
author | Jerome Pasion <jerome.pasion@digia.com> | 2013-10-02 16:51:05 +0200 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-10-08 00:46:27 +0200 |
commit | 4533cc994484a2308297e64e99af005fb4dca065 (patch) | |
tree | bc66283d11cdad100a1aec03f4e1d86bedc9a79e /src/sql/kernel/qsqlrecord.cpp | |
parent | 50dd0232b61d8ea3fb9aab18972c6e19678656e6 (diff) |
Doc: Adding mark-up to boolean default values.
Default values should have mark-up to denote that they are code.
This commit changes:
-"property is true" to "property is \c true".
-"Returns true" to "Returns \c true".
-"property is false" to "property is \c false".
-"returns true" to "returns \c true".
-"returns false" to "returns \c false".
src/3rdparty and non-documentation instances were ignored.
Task-number: QTBUG-33360
Change-Id: Ie87eaa57af947caa1230602b61c5c46292a4cf4e
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
Reviewed-by: Jerome Pasion <jerome.pasion@digia.com>
Diffstat (limited to 'src/sql/kernel/qsqlrecord.cpp')
-rw-r--r-- | src/sql/kernel/qsqlrecord.cpp | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/src/sql/kernel/qsqlrecord.cpp b/src/sql/kernel/qsqlrecord.cpp index 4cac5028c3..b01c20bd1a 100644 --- a/src/sql/kernel/qsqlrecord.cpp +++ b/src/sql/kernel/qsqlrecord.cpp @@ -167,15 +167,15 @@ QSqlRecord::~QSqlRecord() /*! \fn bool QSqlRecord::operator!=(const QSqlRecord &other) const - Returns true if this object is not identical to \a other; - otherwise returns false. + Returns \c true if this object is not identical to \a other; + otherwise returns \c false. \sa operator==() */ /*! - Returns true if this object is identical to \a other (i.e., has - the same fields in the same order); otherwise returns false. + Returns \c true if this object is identical to \a other (i.e., has + the same fields in the same order); otherwise returns \c false. \sa operator!=() */ @@ -329,8 +329,8 @@ void QSqlRecord::clear() } /*! - Returns true if there are no fields in the record; otherwise - returns false. + Returns \c true if there are no fields in the record; otherwise + returns \c false. \sa append(), insert(), clear() */ @@ -342,8 +342,8 @@ bool QSqlRecord::isEmpty() const /*! - Returns true if there is a field in the record called \a name; - otherwise returns false. + Returns \c true if there is a field in the record called \a name; + otherwise returns \c false. */ bool QSqlRecord::contains(const QString& name) const @@ -399,8 +399,8 @@ void QSqlRecord::setGenerated(int index, bool generated) /*! \overload - Returns true if the field \a index is null or if there is no field at - position \a index; otherwise returns false. + Returns \c true if the field \a index is null or if there is no field at + position \a index; otherwise returns \c false. */ bool QSqlRecord::isNull(int index) const { @@ -408,8 +408,8 @@ bool QSqlRecord::isNull(int index) const } /*! - Returns true if the field called \a name is null or if there is no - field called \a name; otherwise returns false. + Returns \c true if the field called \a name is null or if there is no + field called \a name; otherwise returns \c false. \sa setNull() */ @@ -445,8 +445,8 @@ void QSqlRecord::setNull(const QString& name) /*! - Returns true if the record has a field called \a name and this - field is to be generated (the default); otherwise returns false. + Returns \c true if the record has a field called \a name and this + field is to be generated (the default); otherwise returns \c false. \sa setGenerated() */ @@ -457,8 +457,8 @@ bool QSqlRecord::isGenerated(const QString& name) const /*! \overload - Returns true if the record has a field at position \a index and this - field is to be generated (the default); otherwise returns false. + Returns \c true if the record has a field at position \a index and this + field is to be generated (the default); otherwise returns \c false. \sa setGenerated() */ |