#include <QtGui/qtextformat.h>
#ifndef QTEXTFORMAT_H
class QTextFrameFormat: public QTextFormat{
   /* Some contents are skipped to improve readability */
   public: enum Position{
      InFlow = 0,
      FloatLeft = 1,
      FloatRight = 2,
   };
   /* ... */
};
#endif // QTEXTFORMAT_H