#include <QtCore/qlinkedlist.h> #ifndef QLINKEDLIST_H template < typename T > class QLinkedList{ /* Some contents are skipped to improve readability */ public: class iterator{ /* ... */ public: inline class QLinkedList::iterator operator +(int j) const /* ... */ }; /* ... */ }; #endif // QLINKEDLIST_H