#include <QtGui/qtextformat.h> #ifndef QTEXTFORMAT_H class QTextListFormat: public QTextFormat{ /* Some contents are skipped to improve readability */ public: inline enum QTextListFormat::Style style() const /* ... */ }; #endif // QTEXTFORMAT_H