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