#include <QtGui/qimage.h> #ifndef QIMAGE_H class QImage: public QPaintDevice{ /* Some contents are skipped to improve readability */ public: enum Format{ /* ... */ Format_RGB16 = 7, /* ... */ }; /* ... */ }; #endif // QIMAGE_H