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