#include <QtCore/qlist.h> #ifndef QLIST_H template < typename T > class QList{ /* Some contents are skipped to improve readability */ public: class iterator{ /* ... */ public: inline class QList::iterator& operator ++(); /* ... */ }; /* ... */ }; #endif // QLIST_H