#include <QtGui/qtextobject.h> #ifndef QTEXTOBJECT_H class QTextBlock{ /* Some contents are skipped to improve readability */ public: class iterator{ /* ... */ public: class QTextBlock::iterator& operator ++(); /* ... */ }; /* ... */ }; #endif // QTEXTOBJECT_H