diff options
author | Allan Sandfeld Jensen <allan.jensen@digia.com> | 2012-11-26 11:57:47 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-01-23 17:19:22 +0100 |
commit | 06e4b1cff4c469d2fc3afbfe7a6b1954fedc90ff (patch) | |
tree | f69bb90213909bf5134b3c971ee7a80ff74b485c /src/plugins/imageformats/jpeg | |
parent | 2da24ac2b9a539e4d2cca4ee14035a99d0b4b04e (diff) |
QImage plugins should report supported mime types
Introduces the methods QImageReader::supportedMimeTypes and
QImageWriter::supportedMimeTypes which corresponds to the similar
supportedImageFormats methods, except they return lists of MIME types.
Task-number: QTBUG-28177
Change-Id: Ibb0e264a12eaf972a8bfd6bd891dcd9f89efd085
Reviewed-by: Lars Knoll <lars.knoll@digia.com>
Diffstat (limited to 'src/plugins/imageformats/jpeg')
-rw-r--r-- | src/plugins/imageformats/jpeg/jpeg.json | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/plugins/imageformats/jpeg/jpeg.json b/src/plugins/imageformats/jpeg/jpeg.json index 132c642c05..5e26a97206 100644 --- a/src/plugins/imageformats/jpeg/jpeg.json +++ b/src/plugins/imageformats/jpeg/jpeg.json @@ -1,3 +1,4 @@ { - "Keys": [ "jpg", "jpeg" ] + "Keys": [ "jpg", "jpeg" ], + "MimeTypes": [ "image/jpeg", "image/jpeg" ] } |