#include <QtGui/qimage.h> #ifndef QIMAGE_H class QImage: public QPaintDevice{ /* Some contents are skipped to improve readability */ #ifndef QT_NO_IMAGE_TEXT public: class QString text(class QString const & key = QString::QString()) const #endif /* ... */ }; #endif // QIMAGE_H