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/gui/painting/qbrush.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/gui/painting/qbrush.cpp')
-rw-r--r-- | src/gui/painting/qbrush.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/src/gui/painting/qbrush.cpp b/src/gui/painting/qbrush.cpp index 4ec47fa4a9..d8dfae1e2c 100644 --- a/src/gui/painting/qbrush.cpp +++ b/src/gui/painting/qbrush.cpp @@ -306,7 +306,7 @@ struct QBrushDataPointerDeleter the style is a gradient. The same is the case if the style is Qt::TexturePattern style unless the current texture is a QBitmap. - The isOpaque() function returns true if the brush is fully opaque + The isOpaque() function returns \c true if the brush is fully opaque otherwise false. A brush is considered opaque if: \list @@ -830,7 +830,7 @@ Q_GUI_EXPORT bool qt_isExtendedRadialGradient(const QBrush &brush) } /*! - Returns true if the brush is fully opaque otherwise false. A brush + Returns \c true if the brush is fully opaque otherwise false. A brush is considered opaque if: \list @@ -912,8 +912,8 @@ void QBrush::setTransform(const QTransform &matrix) /*! \fn bool QBrush::operator!=(const QBrush &brush) const - Returns true if the brush is different from the given \a brush; - otherwise returns false. + Returns \c true if the brush is different from the given \a brush; + otherwise returns \c false. Two brushes are different if they have different styles, colors or transforms or different pixmaps or gradients depending on the style. @@ -924,8 +924,8 @@ void QBrush::setTransform(const QTransform &matrix) /*! \fn bool QBrush::operator==(const QBrush &brush) const - Returns true if the brush is equal to the given \a brush; - otherwise returns false. + Returns \c true if the brush is equal to the given \a brush; + otherwise returns \c false. Two brushes are equal if they have equal styles, colors and transforms and equal pixmaps or gradients depending on the style. @@ -1491,15 +1491,15 @@ void QGradient::setInterpolationMode(InterpolationMode mode) \fn bool QGradient::operator!=(const QGradient &gradient) const \since 4.2 - Returns true if the gradient is the same as the other \a gradient - specified; otherwise returns false. + Returns \c true if the gradient is the same as the other \a gradient + specified; otherwise returns \c false. \sa operator==() */ /*! - Returns true if the gradient is the same as the other \a gradient - specified; otherwise returns false. + Returns \c true if the gradient is the same as the other \a gradient + specified; otherwise returns \c false. \sa operator!=() */ |