#include <QtGui/qtextformat.h>
#ifndef QTEXTFORMAT_H
class QTextFormat{
   /* Some contents are skipped to improve readability */
   public: enum ObjectTypes{
      NoObject = 0,
      ImageObject = 1,
      TableObject = 2,
      UserObject = 4096,
   };
   /* ... */
};
#endif // QTEXTFORMAT_H