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