#include <QtGui/qimage.h> #ifndef QIMAGE_H class QImage: public QPaintDevice{ /* Some contents are skipped to improve readability */ public: static struct QMatrix trueMatrix(struct QMatrix const &, int w, int h); /* ... */ }; #endif // QIMAGE_H