#include <QtGui/qimageiohandler.h> #ifndef QIMAGEIOHANDLER_H class QImageIOPlugin: public QObject, public QImageIOHandlerFactoryInterface{ /* Some contents are skipped to improve readability */ public: enum Capability{ /* ... */ CanWrite = 2, /* ... */ }; /* ... */ }; #endif // QIMAGEIOHANDLER_H