45 #if !defined(QT_NO_IMAGEFORMATPLUGIN) && !defined(QT_NO_SVGRENDERER) 70 if (format ==
"svg" || format ==
"svgz")
94 #endif // !QT_NO_IMAGEFORMATPLUGIN Capabilities capabilities(QIODevice *device, const QByteArray &format) const
Returns the capabilities on the plugin, based on the data in device and the format format...
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.
The QStringList class provides a list of strings.
void setDevice(QIODevice *device)
Sets the device of the QImageIOHandler to device.
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.
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.
virtual bool canRead() const
Returns true if an image can be read from the device (i.