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