#include <QtGui/qimage.h>
#ifndef QIMAGE_H
class QImage: public QPaintDevice{
   /* Some contents are skipped to improve readability */
   public: bool load(struct QIODevice* device, char const * format);
   /* ... */
};
#endif // QIMAGE_H