QRPIJpegPlugin.h 469 B

123456789101112131415
  1. #include <qimageiohandler.h>
  2. #include <qstringlist.h>
  3. QT_BEGIN_NAMESPACE
  4. class QRPIJpegPlugin : public QImageIOPlugin
  5. {
  6. Q_OBJECT
  7. Q_PLUGIN_METADATA(IID "org.qt-project.Qt.QImageIOHandlerFactoryInterface" FILE "jpeg.json")
  8. public:
  9. Capabilities capabilities(QIODevice *device, const QByteArray &format) const Q_DECL_OVERRIDE;
  10. QImageIOHandler *create(QIODevice *device, const QByteArray &format = QByteArray()) const Q_DECL_OVERRIDE;
  11. };
  12. QT_END_NAMESPACE