#include <QtGui/qimage.h> #ifndef QIMAGE_H class QImage: public QPaintDevice{ /* Some contents are skipped to improve readability */ public: inline bool loadFromData(class QByteArray const & data, char const * aformat = 0); /* ... */ }; #endif // QIMAGE_H