#include <QtGui/qtextformat.h>
#ifndef QTEXTFORMAT_H
class QTextFormat{
   /* Some contents are skipped to improve readability */
   public: void setObjectIndex(int object);
   /* ... */
};
#endif // QTEXTFORMAT_H