#include <QtGui/qimage.h>
#ifndef QIMAGE_H
class QImage: public QPaintDevice{
   /* Some contents are skipped to improve readability */
   public: QImage(uchar const * data, int width, int height, enum QImage::Format format);
   /* ... */
};
#endif // QIMAGE_H