45 #ifndef QT_NO_IMAGEFORMATPLUGIN 47 #ifdef QT_NO_IMAGEFORMAT_MNG 48 #undef QT_NO_IMAGEFORMAT_MNG 98 #endif // !QT_NO_IMAGEFORMATPLUGIN
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.
The QByteArray class provides an array of bytes.
QLatin1String(DBUS_INTERFACE_DBUS))) Q_GLOBAL_STATIC_WITH_ARGS(QString
QStringList keys() const
Returns the list of image keys this plugin supports.
Q_EXPORT_PLUGIN2(qjpcodecs, JPTextCodecs)
Q_EXPORT_STATIC_PLUGIN(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.
void setDevice(QIODevice *device)
Sets the device of the QImageIOHandler to device.
Capabilities capabilities(QIODevice *device, const QByteArray &format) const
Returns the capabilities on the plugin, based on the data in device and the format format...
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.
virtual bool canRead() const
Reimplemented Function
The QIODevice class is the base interface class of all I/O devices in Qt.
QImageIOHandler * create(QIODevice *device, const QByteArray &format=QByteArray()) const
Creates and returns a QImageIOHandler subclass, with device and format set.