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