#include <QtGui/qimage.h>
#ifndef QIMAGE_H
class QImage: public QPaintDevice{
   /* Some contents are skipped to improve readability */
   public: static class QImage fromData(uchar const * data, int size, char const * format = 0);
   /* ... */
};
#endif // QIMAGE_H