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