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