#include <QtCore/qlist.h> #ifndef QLIST_H template < typename T > class QListIterator{ /* Some contents are skipped to improve readability */ private: class QList < T > c; /* ... */ }; #endif // QLIST_H