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