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