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