#include <QtGui/qtextformat.h> #ifndef QTEXTFORMAT_H class QTextCharFormat: public QTextFormat{ /* Some contents are skipped to improve readability */ public: enum UnderlineStyle{ /* ... */ DashDotDotLine = 5, /* ... */ }; /* ... */ }; #endif // QTEXTFORMAT_H