QPixmap/QImage: remove outdated \since comments
Remove all \since comments predating Qt5.0 since they are of no value anymore. Change-Id: I76f56a88f7da97ff4b6cadd5fee6bd3cc5d93052 Reviewed-by: Axel Spoerl <axel.spoerl@qt.io>bb10
parent
61c55795c1
commit
d591fab309
|
|
@ -1093,7 +1093,6 @@ QImage &QImage::operator=(const QImage &image)
|
|||
|
||||
/*!
|
||||
\fn void QImage::swap(QImage &other)
|
||||
\since 4.8
|
||||
|
||||
Swaps image \a other with this image. This operation is very
|
||||
fast and never fails.
|
||||
|
|
@ -1412,7 +1411,6 @@ int QImage::depth() const
|
|||
}
|
||||
|
||||
/*!
|
||||
\since 4.6
|
||||
\fn int QImage::colorCount() const
|
||||
|
||||
Returns the size of the color table for the image.
|
||||
|
|
@ -1676,7 +1674,6 @@ const uchar *QImage::scanLine(int i) const
|
|||
shared pixel data, because the returned data is const.
|
||||
|
||||
\sa scanLine(), constBits()
|
||||
\since 4.7
|
||||
*/
|
||||
const uchar *QImage::constScanLine(int i) const
|
||||
{
|
||||
|
|
@ -1732,7 +1729,6 @@ const uchar *QImage::bits() const
|
|||
shared pixel data, because the returned data is const.
|
||||
|
||||
\sa bits(), constScanLine()
|
||||
\since 4.7
|
||||
*/
|
||||
const uchar *QImage::constBits() const
|
||||
{
|
||||
|
|
@ -1839,7 +1835,6 @@ void QImage::fill(uint pixel)
|
|||
/*!
|
||||
\fn void QImage::fill(Qt::GlobalColor color)
|
||||
\overload
|
||||
\since 4.8
|
||||
|
||||
Fills the image with the given \a color, described as a standard global
|
||||
color.
|
||||
|
|
@ -1865,8 +1860,6 @@ void QImage::fill(Qt::GlobalColor color)
|
|||
If the depth of the image is 8, the image will be filled with the
|
||||
index corresponding the \a color in the color table if present; it
|
||||
will otherwise be filled with 0.
|
||||
|
||||
\since 4.8
|
||||
*/
|
||||
|
||||
void QImage::fill(const QColor &color)
|
||||
|
|
@ -2123,7 +2116,6 @@ void QImage::invertPixels(InvertMode mode)
|
|||
#endif
|
||||
|
||||
/*!
|
||||
\since 4.6
|
||||
Resizes the color table to contain \a colorCount entries.
|
||||
|
||||
If the color table is expanded, all the extra colors will be set to
|
||||
|
|
@ -4607,7 +4599,6 @@ bool QImage::hasAlphaChannel() const
|
|||
}
|
||||
|
||||
/*!
|
||||
\since 4.7
|
||||
Returns the number of bit planes in the image.
|
||||
|
||||
The number of bit planes is the number of bits of color and
|
||||
|
|
|
|||
|
|
@ -289,7 +289,6 @@ QPixmap QPixmap::copy(const QRect &rect) const
|
|||
|
||||
/*!
|
||||
\fn QPixmap::scroll(int dx, int dy, int x, int y, int width, int height, QRegion *exposed)
|
||||
\since 4.6
|
||||
|
||||
This convenience function is equivalent to calling QPixmap::scroll(\a dx,
|
||||
\a dy, QRect(\a x, \a y, \a width, \a height), \a exposed).
|
||||
|
|
@ -298,8 +297,6 @@ QPixmap QPixmap::copy(const QRect &rect) const
|
|||
*/
|
||||
|
||||
/*!
|
||||
\since 4.6
|
||||
|
||||
Scrolls the area \a rect of this pixmap by (\a dx, \a dy). The exposed
|
||||
region is left unchanged. You can optionally pass a pointer to an empty
|
||||
QRegion to get the region that is \a exposed by the scroll operation.
|
||||
|
|
@ -371,7 +368,6 @@ QPixmap &QPixmap::operator=(const QPixmap &pixmap)
|
|||
|
||||
/*!
|
||||
\fn void QPixmap::swap(QPixmap &other)
|
||||
\since 4.8
|
||||
|
||||
Swaps pixmap \a other with this pixmap. This operation is very
|
||||
fast and never fails.
|
||||
|
|
@ -970,12 +966,7 @@ bool QPixmap::isDetached() const
|
|||
Passing 0 for \a flags sets all the default options. Returns \c true
|
||||
if the result is that this pixmap is not null.
|
||||
|
||||
Note: this function was part of Qt 3 support in Qt 4.6 and earlier.
|
||||
It has been promoted to official API status in 4.7 to support updating
|
||||
the pixmap's image without creating a new QPixmap as fromImage() would.
|
||||
|
||||
\sa fromImage()
|
||||
\since 4.7
|
||||
*/
|
||||
bool QPixmap::convertFromImage(const QImage &image, Qt::ImageConversionFlags flags)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue