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