From 4017605d56f5e7769c6aa7954a285563c06646ad Mon Sep 17 00:00:00 2001 From: Friedemann Kleint Date: Tue, 26 Aug 2014 09:21:52 +0200 Subject: Mention supportedMimeTypes() in QImageReader documentation. Change-Id: Iaa07a463e07982352fe2c7dd77d691a390a65f35 Reviewed-by: Jerome Pasion --- src/gui/image/qimagereader.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/gui/image') diff --git a/src/gui/image/qimagereader.cpp b/src/gui/image/qimagereader.cpp index a281349aa9..3c75202766 100644 --- a/src/gui/image/qimagereader.cpp +++ b/src/gui/image/qimagereader.cpp @@ -77,14 +77,15 @@ Call supportedImageFormats() for a list of formats that QImageReader can read. QImageReader supports all built-in image formats, in addition to any image format plugins that support - reading. + reading. Call supportedMimeTypes() to obtain a list of supported MIME + types, which for example can be passed to QFileDialog::setMimeTypeFilters(). QImageReader autodetects the image format by default, by looking at the provided (optional) format string, the file name suffix, and the data stream contents. You can enable or disable this feature, by calling setAutoDetectImageFormat(). - \sa QImageWriter, QImageIOHandler, QImageIOPlugin + \sa QImageWriter, QImageIOHandler, QImageIOPlugin, QMimeDatabase */ /*! -- cgit v1.2.3