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