#include <QtGui/qimagereader.h> #ifndef QIMAGEREADER_H class QImageReader{ /* Some contents are skipped to improve readability */ public: void setDevice(class QIODevice* device); /* ... */ }; #endif // QIMAGEREADER_H