#include <QtGui/qpixmap.h> #ifndef QPIXMAP_H class QPixmap: public QPaintDevice{ /* Some contents are skipped to improve readability */ public: void fill(class QColor const & fillColor = Qt::white); /* ... */ }; #endif // QPIXMAP_H