#include <QtCore/qlinkedlist.h> #ifndef QLINKEDLIST_H template < typename T > class QLinkedListIterator{ /* Some contents are skipped to improve readability */ private: typename QLinkedList < T >::const_iterator i; /* ... */ }; #endif // QLINKEDLIST_H