#include <QtGui/qtextobject.h>
#ifndef QTEXTOBJECT_H
class QTextFragment{
   /* Some contents are skipped to improve readability */
   private: struct QTextDocumentPrivate const * p;
   /* ... */
};
#endif // QTEXTOBJECT_H