#include <QtGui/qtextformat.h>
#ifndef QTEXTFORMAT_H
class QTextFormat{
   /* Some contents are skipped to improve readability */
   public: inline bool isImageFormat() const
   /* ... */
};
#endif // QTEXTFORMAT_H