#include <QtGui/qbitmap.h> #ifndef QBITMAP_H class QBitmap: public QPixmap{ /* Some contents are skipped to improve readability */ public: static class QBitmap fromImage(class QImage const & image, Qt::ImageConversionFlags flags = Qt::AutoColor); /* ... */ }; #endif // QBITMAP_H