#include <QtGui/qtextformat.h> #ifndef QTEXTFORMAT_H class QTextImageFormat: public QTextCharFormat{ /* Some contents are skipped to improve readability */ public: inline void setWidth(qreal awidth); /* ... */ }; #endif // QTEXTFORMAT_H