#include <QtGui/qimage.h>
#ifndef QIMAGE_H
class QImage: public QPaintDevice{
   /* Some contents are skipped to improve readability */
   public: void setDotsPerMeterY(int);
   /* ... */
};
#endif // QIMAGE_H