45 #ifndef QT_NO_IMAGEFORMATPLUGIN 47 #ifdef QT_NO_IMAGEFORMAT_ICO 48 #undef QT_NO_IMAGEFORMAT_ICO void setFormat(const QByteArray &format)
Sets the format of the QImageIOHandler to format.
#define QT_END_NAMESPACE
This macro expands to.
bool isReadable() const
Returns true if data can be read from the device; otherwise returns false.
bool isWritable() const
Returns true if data can be written to the device; otherwise returns false.
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.
QLatin1String(DBUS_INTERFACE_DBUS))) Q_GLOBAL_STATIC_WITH_ARGS(QString
The QtIcoHandler class provides support for the ICO image format.
QImageIOHandler * create(QIODevice *device, const QByteArray &format=QByteArray()) const
Creates and returns a QImageIOHandler subclass, with device and format set.
Q_EXPORT_PLUGIN2(qjpcodecs, JPTextCodecs)
#define QT_BEGIN_NAMESPACE
This macro expands to.
bool isOpen() const
Returns true if the device is open; otherwise returns false.
The QStringList class provides a list of strings.
QStringList keys() const
Returns the list of image keys this plugin supports.
The QImageIOPlugin class defines an interface for writing an image format plugin. ...
The QImageIOHandler class defines the common image I/O interface for all image formats in Qt...
bool isEmpty() const
Returns true if the byte array has size 0; otherwise returns false.
Capabilities capabilities(QIODevice *device, const QByteArray &format) const
Returns the capabilities on the plugin, based on the data in device and the format format...
QImageIOHandler * handler
The QIODevice class is the base interface class of all I/O devices in Qt.