#include <QtGui/qpixmap.h> #ifndef QPIXMAP_H class QPixmap: public QPaintDevice{ /* Some contents are skipped to improve readability */ public: bool loadFromData(uchar const * buf, uint len, char const * format = 0, Qt::ImageConversionFlags flags = Qt::AutoColor); /* ... */ }; #endif // QPIXMAP_H