summaryrefslogtreecommitdiffstats
path: root/src/gui/image/qimagewriter.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/image/qimagewriter.cpp')
-rw-r--r--src/gui/image/qimagewriter.cpp65
1 files changed, 0 insertions, 65 deletions
diff --git a/src/gui/image/qimagewriter.cpp b/src/gui/image/qimagewriter.cpp
index 33f5e491c7..519a222db1 100644
--- a/src/gui/image/qimagewriter.cpp
+++ b/src/gui/image/qimagewriter.cpp
@@ -497,37 +497,6 @@ int QImageWriter::compression() const
return d->compression;
}
-#if QT_DEPRECATED_SINCE(5, 15)
-/*!
- \obsolete Use QColorSpace conversion on the QImage instead.
-
- This is an image format specific function that sets the gamma
- level of the image to \a gamma. For image formats that do not
- support setting the gamma level, this value is ignored.
-
- The value range of \a gamma depends on the image format. For
- example, the "png" format supports a gamma range from 0.0 to 1.0.
-
- \sa quality()
-*/
-void QImageWriter::setGamma(float gamma)
-{
- d->gamma = gamma;
-}
-
-/*!
- \obsolete Use QImage::colorSpace() and QColorSpace::gamma() instead.
-
- Returns the gamma level of the image.
-
- \sa setGamma()
-*/
-float QImageWriter::gamma() const
-{
- return d->gamma;
-}
-#endif
-
/*!
\since 5.4
@@ -653,40 +622,6 @@ QImageIOHandler::Transformations QImageWriter::transformation() const
return d->transformation;
}
-#if QT_DEPRECATED_SINCE(5, 13)
-/*!
- \obsolete
-
- Use setText() instead.
-
- This is an image format specific function that sets the
- description of the image to \a description. For image formats that
- do not support setting the description, this value is ignored.
-
- The contents of \a description depends on the image format.
-
- \sa description()
-*/
-void QImageWriter::setDescription(const QString &description)
-{
- d->description = description;
-}
-
-/*!
- \obsolete
-
- Use QImageReader::text() instead.
-
- Returns the description of the image.
-
- \sa setDescription()
-*/
-QString QImageWriter::description() const
-{
- return d->description;
-}
-#endif
-
/*!
\since 4.1