5#ifndef QICNSHANDLER_P_H
6#define QICNSHANDLER_P_H
8#include <QtGui/qimageiohandler.h>
9#include <QtCore/qlist.h>
11#ifndef QT_NO_DATASTREAM
13#define MAKEOSTYPE(c0,c1,c2,c3) (((quint8)c0 << 24) | ((quint8)c1 << 16) | ((quint8)c2 << 8) | (quint8)c3)
109 bool ensureScanned()
const;
121 int m_currentIconIndex;
int imageCount() const override
For image formats that support animation, this function returns the number of images in the animation...
bool write(const QImage &image) override
Writes the image image to the assigned device.
bool read(QImage *image) override
Read an image from the device, and stores it in image.
bool canRead() const override
Returns true if an image can be read from the device (i.e., the image format is supported,...
bool supportsOption(ImageOption option) const override
Returns true if the QImageIOHandler supports the option option; otherwise returns false.
bool jumpToImage(int imageNumber) override
For image formats that support animation, this function jumps to the image whose sequence number is i...
bool jumpToNextImage() override
For image formats that support animation, this function jumps to the next image.
\inmodule QtCore \reentrant
The QImageIOHandler class defines the common image I/O interface for all image formats in Qt.
ImageOption
This enum describes the different options supported by QImageIOHandler.
QIODevice * device() const
Returns the device currently assigned to the QImageIOHandler.
Combined button and popup list for selecting options.
static QString header(const QString &name)
#define MAKEOSTYPE(c0, c1, c2, c3)
GLint GLenum GLsizei GLsizei GLsizei depth
GLint GLsizei GLsizei height
#define Q_DECLARE_TYPEINFO(TYPE, FLAGS)