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