#include <QtGui/qimage.h>
#ifndef QIMAGE_H
class QImage: public QPaintDevice{
   /* Some contents are skipped to improve readability */
   public: class QImage scaledToHeight(int h, enum Qt::TransformationMode mode = Qt::FastTransformation) const
   /* ... */
};
#endif // QIMAGE_H