#include <QtGui/qtextobject.h> #ifndef QTEXTOBJECT_H class QTextBlock{ /* Some contents are skipped to improve readability */ public: class iterator{ /* ... */ private: inline iterator(struct QTextDocumentPrivate const * priv, int begin, int end, int f); /* ... */ }; /* ... */ }; #endif // QTEXTOBJECT_H