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