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