#include <QtGui/qtextformat.h> #ifndef QTEXTFORMAT_H class QTextFormat{ /* Some contents are skipped to improve readability */ public: enum FormatType{ InvalidFormat = -1, BlockFormat = 1, CharFormat = 2, ListFormat = 3, TableFormat = 4, FrameFormat = 5, UserFormat = 100, }; /* ... */ }; #endif // QTEXTFORMAT_H