#include <QtGui/qtextformat.h>
#ifndef QTEXTFORMAT_H
class QTextLength{
   /* Some contents are skipped to improve readability */
   public: enum Type{
      /* ... */
      FixedLength = 1,
      /* ... */
   };
   /* ... */
};
#endif // QTEXTFORMAT_H