doc: Fix some ref qualifier documentation errors

Some member functions of QImage were upgraded to use ref qualifiers,
but the documentation wasn't updated correctly to account for this.
This change update the documentation for those member functions to
show the ref qualifiers in the documentation.

Change-Id: I0ff4011e9d0251062d5616d69e9dda6bdbc1c136
Reviewed-by: Topi Reiniö <topi.reinio@qt.io>
bb10
Martin Smith 2017-04-03 13:00:40 +02:00
parent 87cce3e061
commit 7cfd6f0e1e
1 changed files with 8 additions and 3 deletions

View File

@ -1975,7 +1975,8 @@ QImage::Format QImage::format() const
}
/*!
\fn QImage QImage::convertToFormat(Format format, Qt::ImageConversionFlags flags) const
\fn QImage QImage::convertToFormat(Format format, Qt::ImageConversionFlags flags) const &
\fn QImage QImage::convertToFormat(Format format, Qt::ImageConversionFlags flags) &&
Returns a copy of the image in the given \a format.
@ -2987,7 +2988,9 @@ QImage QImage::createMaskFromColor(QRgb color, Qt::MaskMode mode) const
}
/*!
\fn QImage QImage::mirrored(bool horizontal = false, bool vertical = true) const
\fn QImage QImage::mirrored(bool horizontal = false, bool vertical = true) const &
\fn QImage QImage::mirrored(bool horizontal = false, bool vertical = true) &&
Returns a mirror of the image, mirrored in the horizontal and/or
the vertical direction depending on whether \a horizontal and \a
vertical are set to true or false.
@ -3192,7 +3195,9 @@ void QImage::mirrored_inplace(bool horizontal, bool vertical)
}
/*!
\fn QImage QImage::rgbSwapped() const
\fn QImage QImage::rgbSwapped() const &
\fn QImage QImage::rgbSwapped() &&
Returns a QImage in which the values of the red and blue
components of all pixels have been swapped, effectively converting
an RGB image to an BGR image.