#include <QtGui/qtextformat.h>
#ifndef QTEXTFORMAT_H
class QTextListFormat: public QTextFormat{
   /* Some contents are skipped to improve readability */
   public: enum Style{
      /* ... */
      ListDecimal = -4,
      /* ... */
   };
   /* ... */
};
#endif // QTEXTFORMAT_H