summaryrefslogtreecommitdiffstats
path: root/src/gui/image/qimagereader.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/image/qimagereader.h')
-rw-r--r--src/gui/image/qimagereader.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gui/image/qimagereader.h b/src/gui/image/qimagereader.h
index 4f3c93af7d..fd23bc8e6c 100644
--- a/src/gui/image/qimagereader.h
+++ b/src/gui/image/qimagereader.h
@@ -43,6 +43,7 @@
#define QIMAGEREADER_H
#include <QtCore/qbytearray.h>
+#include <QtCore/qcoreapplication.h>
#include <QtGui/qimage.h>
#include <QtGui/qimageiohandler.h>
@@ -58,6 +59,7 @@ class QStringList;
class QImageReaderPrivate;
class Q_GUI_EXPORT QImageReader
{
+ Q_DECLARE_TR_FUNCTIONS(QImageReader)
public:
enum ImageReaderError {
UnknownError,
@@ -111,6 +113,9 @@ public:
bool supportsAnimation() const;
+ QByteArray subType() const;
+ QList<QByteArray> supportedSubTypes() const;
+
bool canRead() const;
QImage read();
bool read(QImage *image);