#include <QtGui/qpixmap.h> #ifndef QPIXMAP_H class QPixmap: public QPaintDevice{ /* Some contents are skipped to improve readability */ #if defined(Q_WS_QWS) #elif defined(Q_WS_MAC) #elif defined(Q_WS_X11) public: Qt::HANDLE x11PictureHandle() const #endif /* ... */ }; #endif // QPIXMAP_H