#include <QtGui/qimage.h>
#ifndef QIMAGE_H
class QImage: public QPaintDevice{
   /* Some contents are skipped to improve readability */
   public: enum Format{
      Format_Invalid = 0,
      Format_Mono = 1,
      Format_MonoLSB = 2,
      Format_Indexed8 = 3,
      Format_RGB32 = 4,
      Format_ARGB32 = 5,
      Format_ARGB32_Premultiplied = 6,
      Format_RGB16 = 7,
#ifndef qdoc
      NImageFormats = 8,
#endif
   };
   /* ... */
};
#endif // QIMAGE_H