diff options
author | Ivan Komissarov <ABBAPOH@gmail.com> | 2014-04-26 14:27:04 +0400 |
---|---|---|
committer | Ivan Komissarov <ABBAPOH@gmail.com> | 2014-08-05 17:23:12 +0200 |
commit | c0ba249a48fd85ee8e047ff47448a4ed32d6cd91 (patch) | |
tree | 327e2c08c5c406de78bd5e77010e65425c99b2e7 /src/gui/image/qimageiohandler.cpp | |
parent | 5097e310305beaa27d6b87699a04c43e598b6688 (diff) |
Add SubType setters/getters and SupportedSubTypes option.
SubType can be used to determine an internal format of an image such as
pixel format and/or compression algorithms.
Change-Id: Icf296d54bb509e4e2bdb70544df678fc53f57c79
Reviewed-by: Gunnar Sletta <gunnar.sletta@jollamobile.com>
Diffstat (limited to 'src/gui/image/qimageiohandler.cpp')
-rw-r--r-- | src/gui/image/qimageiohandler.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gui/image/qimageiohandler.cpp b/src/gui/image/qimageiohandler.cpp index d67b22c31e..fc0a54f2d2 100644 --- a/src/gui/image/qimageiohandler.cpp +++ b/src/gui/image/qimageiohandler.cpp @@ -157,6 +157,10 @@ \value ImageFormat The image's data format returned by the handler. This can be any of the formats listed in QImage::Format. + + \value SupportedSubTypes Image formats that support different saving + variants should return a list of supported variant names + (QList<QByteArray>) in this option. */ /*! |