Doc: remove all \since 4.x comments in gui/image

Remove all \since 4.x comments in gui/image - this is no longer of
interest.

Change-Id: Ic2d7252293f1951fb202ea907999301581671081
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Reviewed-by: Inkamari Harjula <inkamari.harjula@qt.io>
This commit is contained in:
Christian Ehrlicher 2024-05-26 11:54:25 +02:00
parent 89f184b403
commit 94919aea6a
8 changed files with 0 additions and 69 deletions

View File

@ -129,7 +129,6 @@ QBitmap::QBitmap(const QString& fileName, const char *format)
/*!
\fn void QBitmap::swap(QBitmap &other)
\since 4.8
Swaps bitmap \a other with this bitmap. This operation is very
fast and never fails.

View File

@ -789,7 +789,6 @@ QIcon &QIcon::operator=(const QIcon &other)
/*!
\fn void QIcon::swap(QIcon &other)
\since 4.8
Swaps icon \a other with this icon. This operation is very
fast and never fails.
@ -807,7 +806,6 @@ QIcon::operator QVariant() const
Returns a number that identifies the contents of this QIcon
object. Distinct QIcon objects can have the same key if
they refer to the same contents.
\since 4.3
The cacheKey() will change when the icon is altered via
addPixmap() or addFile().
@ -1138,8 +1136,6 @@ void QIcon::addFile(const QString &fileName, const QSize &size, Mode mode, State
}
/*!
\since 4.5
Returns a list of available icon sizes for the specified \a mode and
\a state.
*/
@ -1151,8 +1147,6 @@ QList<QSize> QIcon::availableSizes(Mode mode, State state) const
}
/*!
\since 4.7
Returns the name used to create the icon, if available.
Depending on the way the icon was created, it may have an associated
@ -1168,8 +1162,6 @@ QString QIcon::name() const
}
/*!
\since 4.6
Sets the search paths for icon themes to \a paths.
The content of \a paths should follow the theme format
@ -1183,8 +1175,6 @@ void QIcon::setThemeSearchPaths(const QStringList &paths)
}
/*!
\since 4.6
Returns the search paths for icon themes.
The default search paths will be defined by the platform.
@ -1239,8 +1229,6 @@ void QIcon::setFallbackSearchPaths(const QStringList &paths)
}
/*!
\since 4.6
Sets the current icon theme to \a name.
The theme will be will be looked up in themeSearchPaths().
@ -1259,8 +1247,6 @@ void QIcon::setThemeName(const QString &name)
}
/*!
\since 4.6
Returns the name of the current icon theme.
If not set, the current icon theme will be defined by the
@ -1321,8 +1307,6 @@ void QIcon::setFallbackThemeName(const QString &name)
}
/*!
\since 4.6
Returns the QIcon corresponding to \a name in the
\l{themeName()}{current icon theme}.
@ -1392,8 +1376,6 @@ QIcon QIcon::fromTheme(const QString &name, const QIcon &fallback)
}
/*!
\since 4.6
Returns \c true if there is an icon available for \a name in the
current icon theme or any of the fallbacks, as described by
fromTheme(), otherwise returns \c false.
@ -1840,7 +1822,6 @@ bool QIcon::isMask() const
/*!
\fn QDataStream &operator<<(QDataStream &stream, const QIcon &icon)
\relates QIcon
\since 4.2
Writes the given \a icon to the given \a stream as a PNG
image. If the icon contains more than one image, all images will
@ -1881,7 +1862,6 @@ QDataStream &operator<<(QDataStream &s, const QIcon &icon)
/*!
\fn QDataStream &operator>>(QDataStream &stream, QIcon &icon)
\relates QIcon
\since 4.2
Reads an image, or a set of images, from the given \a stream into
the given \a icon.

View File

@ -114,7 +114,6 @@ void QIconEngine::addFile(const QString &/*fileName*/, const QSize &/*size*/, QI
/*!
\enum QIconEngine::IconEngineHook
\since 4.5
These enum values are used for virtual_hook() to allow additional
queries to icon engine without breaking binary compatibility.
@ -224,8 +223,6 @@ bool QIconEngine::write(QDataStream &) const
}
/*!
\since 4.5
Additional method to allow extending QIconEngine without
adding new virtual methods (and without breaking binary compatibility).
The actual action and format of \a data depends on \a id argument
@ -249,8 +246,6 @@ void QIconEngine::virtual_hook(int id, void *data)
}
/*!
\since 4.5
Returns sizes of all images that are contained in the engine for the
specific \a mode and \a state.
*/
@ -260,8 +255,6 @@ QList<QSize> QIconEngine::availableSizes(QIcon::Mode /*mode*/, QIcon::State /*st
}
/*!
\since 4.7
Returns the name used to create the engine, if available.
*/
QString QIconEngine::iconName()

View File

@ -800,8 +800,6 @@ QString QImageReader::fileName() const
}
/*!
\since 4.2
Sets the quality setting of the image format to \a quality.
Some image formats, in particular lossy ones, entail a tradeoff between a)
@ -825,8 +823,6 @@ void QImageReader::setQuality(int quality)
}
/*!
\since 4.2
Returns the quality setting of the image format.
\sa setQuality()
@ -856,8 +852,6 @@ QSize QImageReader::size() const
}
/*!
\since 4.5
Returns the format of the image, without actually reading the image
contents. The format describes the image format \l QImageReader::read()
returns, not the format of the actual image.
@ -876,8 +870,6 @@ QImage::Format QImageReader::imageFormat() const
}
/*!
\since 4.1
Returns the text keys for this image. You can use
these keys with text() to list the image text for
a certain key.
@ -894,8 +886,6 @@ QStringList QImageReader::textKeys() const
}
/*!
\since 4.1
Returns the image text associated with \a key.
Support for this option is implemented through
@ -985,8 +975,6 @@ QRect QImageReader::scaledClipRect() const
}
/*!
\since 4.1
Sets the background color to \a color.
Image formats that support this operation are expected to
initialize the background to \a color before reading an image.
@ -1000,8 +988,6 @@ void QImageReader::setBackgroundColor(const QColor &color)
}
/*!
\since 4.1
Returns the background color that's used when reading an image.
If the image format does not support setting the background color
an invalid color is returned.
@ -1016,8 +1002,6 @@ QColor QImageReader::backgroundColor() const
}
/*!
\since 4.1
Returns \c true if the image format supports animation;
otherwise, false is returned.
@ -1432,8 +1416,6 @@ QString QImageReader::errorString() const
}
/*!
\since 4.2
Returns \c true if the reader supports \a option; otherwise returns
false.

View File

@ -588,8 +588,6 @@ QImageIOHandler::Transformations QImageWriter::transformation() const
}
/*!
\since 4.1
Sets the image text associated with the key \a key to
\a text. This is useful for storing copyright information
or other information about the image. Example:
@ -710,8 +708,6 @@ QString QImageWriter::errorString() const
}
/*!
\since 4.2
Returns \c true if the writer supports \a option; otherwise returns
false.

View File

@ -103,7 +103,6 @@
*/
/*! \fn void QMovie::frameChanged(int frameNumber)
\since 4.1
This signal is emitted when the frame number has changed to
\a frameNumber. You can call currentImage() or currentPixmap() to get a
@ -973,8 +972,6 @@ void QMovie::stop()
}
/*!
\since 4.1
Returns the scaled size of frames.
\sa QImageReader::scaledSize()
@ -986,8 +983,6 @@ QSize QMovie::scaledSize()
}
/*!
\since 4.1
Sets the scaled frame size to \a size.
\sa QImageReader::setScaledSize()
@ -999,8 +994,6 @@ void QMovie::setScaledSize(const QSize &size)
}
/*!
\since 4.1
Returns the list of image formats supported by QMovie.
\sa QImageReader::supportedImageFormats()

View File

@ -925,7 +925,6 @@ QPicture& QPicture::operator=(const QPicture &p)
/*!
\fn void QPicture::swap(QPicture &other)
\since 4.8
Swaps picture \a other with this picture. This operation is very
fast and never fails.

View File

@ -81,7 +81,6 @@ static inline bool qt_pixmapcache_thread_test()
\brief The QPixmapCache::Key class can be used for efficient access
to the QPixmapCache.
\inmodule QtGui
\since 4.6
Use QPixmapCache::insert() to receive an instance of Key generated
by the pixmap cache. You can store the key in your own objects for
@ -421,8 +420,6 @@ QPixmapCacheEntry::~QPixmapCacheEntry()
If the pixmap is found, the function sets \a pixmap to that pixmap and
returns \c true; otherwise it leaves \a pixmap alone and returns \c false.
\since 4.6
Example:
\snippet code/src_gui_image_qpixmapcache.cpp 1
*/
@ -443,8 +440,6 @@ bool QPixmapCache::find(const QString &key, QPixmap *pixmap)
returns \c true; otherwise it leaves \a pixmap alone and returns \c false. If
the pixmap is not found, it means that the \a key is no longer valid,
so it will be released for the next insertion.
\since 4.6
*/
bool QPixmapCache::find(const Key &key, QPixmap *pixmap)
{
@ -498,8 +493,6 @@ bool QPixmapCache::insert(const QString &key, const QPixmap &pixmap)
deleted when more space is needed.
\sa setCacheLimit(), replace()
\since 4.6
*/
QPixmapCache::Key QPixmapCache::insert(const QPixmap &pixmap)
{
@ -523,8 +516,6 @@ QPixmapCache::Key QPixmapCache::insert(const QPixmap &pixmap)
the cache by this function.
\sa setCacheLimit(), insert()
\since 4.6
*/
#endif // QT_DEPRECATED_SINCE(6, 6)
@ -571,8 +562,6 @@ void QPixmapCache::remove(const QString &key)
/*!
Removes the pixmap associated with \a key from the cache and releases
the key for a future insertion.
\since 4.6
*/
void QPixmapCache::remove(const Key &key)
{