Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #ifndef ARGBPLUGIN_H
- #define ARGBPLUGIN_H
- #include <QImageIOPlugin>
- class ArgbPlugin : public QImageIOPlugin
- {
- Q_OBJECT
- #if QT_VERSION >= 0x050000
- Q_PLUGIN_METADATA(IID "org.qt-project.Qt.QImageIOHandlerFactoryInterface" FILE "ARGB.json")
- #endif // QT_VERSION >= 0x050000
- public:
- ArgbPlugin(QObject *parent = 0);
- QStringList keys() const;
- Capabilities capabilities(QIODevice *device,
- const QByteArray &format) const;
- QImageIOHandler *create(QIODevice *device,
- const QByteArray &format = QByteArray()) const;
- };
- #endif // ARGBPLUGIN_H
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement