#include <QtGui/qtextlayout.h>
#ifndef QTEXTLAYOUT_H
class QTextInlineObject{
   /* Some contents are skipped to improve readability */
   public: int formatIndex() const
   /* ... */
};
#endif // QTEXTLAYOUT_H