diff options
author | Volker Hilsheimer <volker.hilsheimer@nokia.com> | 2009-09-28 22:24:01 (GMT) |
---|---|---|
committer | Volker Hilsheimer <volker.hilsheimer@nokia.com> | 2009-09-28 22:24:37 (GMT) |
commit | 88466bcb2162cd063912dbb0e73982095c15dcba (patch) | |
tree | 201fdd6581031d2fda2296094fb18a45f5daca0f /src/gui/image | |
parent | 679a6b373a5496c069b1ed668f7eb166237bd0e2 (diff) | |
download | Qt-88466bcb2162cd063912dbb0e73982095c15dcba.zip Qt-88466bcb2162cd063912dbb0e73982095c15dcba.tar.gz Qt-88466bcb2162cd063912dbb0e73982095c15dcba.tar.bz2 |
doc: add some more \since 4.6 tags
Diffstat (limited to 'src/gui/image')
-rw-r--r-- | src/gui/image/qimagereader.cpp | 18 |
1 files changed, 12 insertions, 6 deletions
diff --git a/src/gui/image/qimagereader.cpp b/src/gui/image/qimagereader.cpp index aff186b..074f3eb 100644 --- a/src/gui/image/qimagereader.cpp +++ b/src/gui/image/qimagereader.cpp @@ -696,14 +696,17 @@ bool QImageReader::autoDetectImageFormat() const /*! - Specifies that the image reader should decide which plugin to use - solely based on the contents in the datastream. + If \a ignored is set to true, then the image reader will ignore + specified formats or file extensions and decide which plugin to + use only based on the contents in the datastream. Setting this flag means that all image plugins gets loaded. Each plugin will read the first bytes in the image data and decide if - the plugin is compatible or not. The flag is set to \a ignored. + the plugin is compatible or not. - This also disables auto detecting image format. + This also disables auto detecting the image format. + + \sa decideFormatFromContent() */ void QImageReader::setDecideFormatFromContent(bool ignored) @@ -713,8 +716,11 @@ void QImageReader::setDecideFormatFromContent(bool ignored) /*! - Returns wether the image reader should decide which plugin to use - sloley based on the contents of the datastream + Returns whether the image reader should decide which plugin to use + only based on the contents of the datastream rather than on the file + extension. + + \sa setDecideFormatFromContent() */ bool QImageReader::decideFormatFromContent() const |