#include <QtGui/qimagereader.h> #ifndef QIMAGEREADER_H class QImageReader{ /* Some contents are skipped to improve readability */ public: enum ImageReaderError{ /* ... */ UnsupportedFormatError = 3, /* ... */ }; /* ... */ }; #endif // QIMAGEREADER_H