#include <QtGui/qimage.h> #ifndef QIMAGE_H class QImage: public QPaintDevice{ /* Some contents are skipped to improve readability */ #ifndef QT_NO_IMAGEFORMAT_XPM public: explicit QImage(char const * const * xpm); #endif /* ... */ }; #endif // QIMAGE_H