#include <QtGui/qbitmap.h> #ifndef QBITMAP_H class QBitmap: public QPixmap{ /* Some contents are skipped to improve readability */ public: static class QBitmap fromData(class QSize const & size, uchar const * bits, enum QImage::Format monoFormat = QImage::Format_MonoLSB); /* ... */ }; #endif // QBITMAP_H