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