41 #ifndef QTICOHANDLER_H 42 #define QTICOHANDLER_H 44 #include <QtGui/QImageIOHandler> The QVariant class acts like a union for the most common Qt data types.
#define QT_END_NAMESPACE
This macro expands to.
The QByteArray class provides an array of bytes.
bool canRead() const
Verifies if some values (magic bytes) are set as expected in the header of the file.
bool write(const QImage &image)
Reimplemented Function
bool read(QImage *image)
Reimplemented Function
The QtIcoHandler class provides support for the ICO image format.
#define QT_BEGIN_NAMESPACE
This macro expands to.
ImageOption
This enum describes the different options supported by QImageIOHandler.
int imageCount() const
Reimplemented Function
bool supportsOption(ImageOption option) const
Returns true if the QImageIOHandler supports the option option; otherwise returns false...
The QImage class provides a hardware-independent image representation that allows direct access to th...
virtual ~QtIcoHandler()
Destructor for QtIcoHandler.
QtIcoHandler(QIODevice *device)
Constructs an instance of QtIcoHandler initialized to use device.
The QImageIOHandler class defines the common image I/O interface for all image formats in Qt...
bool jumpToImage(int imageNumber)
Reimplemented Function
QIODevice * device() const
Returns the device currently assigned to the QImageIOHandler.
QVariant option(ImageOption option) const
Returns the value assigned to option as a QVariant.
The QIODevice class is the base interface class of all I/O devices in Qt.
bool jumpToNextImage()
Reimplemented Function
QByteArray name() const
Return the common identifier of the format.