42 #ifndef QXPMHANDLER_P_H 43 #define QXPMHANDLER_P_H 56 #include "QtGui/qimageiohandler.h" 58 #ifndef QT_NO_IMAGEFORMAT_XPM 98 #endif // QT_NO_IMAGEFORMAT_XPM 100 #endif // QXPMHANDLER_P_H 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.
The QString class provides a Unicode character string.
#define QT_BEGIN_NAMESPACE
This macro expands to.
ImageOption
This enum describes the different options supported by QImageIOHandler.
The QImage class provides a hardware-independent image representation that allows direct access to th...
The State element defines configurations of objects and properties.
bool write(const QImage &image)
Writes the image image to the assigned device.
The QImageIOHandler class defines the common image I/O interface for all image formats in Qt...
QByteArray name() const
Use format() instead.
bool canRead() const
Returns true if an image can be read from the device (i.
QIODevice * device() const
Returns the device currently assigned to the QImageIOHandler.
bool supportsOption(ImageOption option) const
Returns true if the QImageIOHandler supports the option option; otherwise returns false...
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.
void setOption(ImageOption option, const QVariant &value)
Sets the option option with the value value.
bool read(QImage *image)
Read an image from the device, and stores it in image.
bool readImage(QImage *image)