summaryrefslogtreecommitdiffstats
path: root/src/gui/image/qimagereader.h
diff options
context:
space:
mode:
authorAllan Sandfeld Jensen <allan.jensen@digia.com>2012-11-26 11:57:47 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-01-23 17:19:22 +0100
commit06e4b1cff4c469d2fc3afbfe7a6b1954fedc90ff (patch)
treef69bb90213909bf5134b3c971ee7a80ff74b485c /src/gui/image/qimagereader.h
parent2da24ac2b9a539e4d2cca4ee14035a99d0b4b04e (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/gui/image/qimagereader.h')
-rw-r--r--src/gui/image/qimagereader.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gui/image/qimagereader.h b/src/gui/image/qimagereader.h
index 932b931254..498a9c4307 100644
--- a/src/gui/image/qimagereader.h
+++ b/src/gui/image/qimagereader.h
@@ -133,6 +133,7 @@ public:
static QByteArray imageFormat(const QString &fileName);
static QByteArray imageFormat(QIODevice *device);
static QList<QByteArray> supportedImageFormats();
+ static QList<QByteArray> supportedMimeTypes();
private:
Q_DISABLE_COPY(QImageReader)