Mention supportedMimeTypes() in QImageReader documentation.

Change-Id: Iaa07a463e07982352fe2c7dd77d691a390a65f35
Reviewed-by: Jerome Pasion <jerome.pasion@digia.com>
bb10
Friedemann Kleint 2014-08-26 09:21:52 +02:00
parent 910c639db6
commit 4017605d56
1 changed files with 3 additions and 2 deletions

View File

@ -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
*/
/*!