#include <QtCore/qvector.h> #ifndef QVECTOR_H template < typename T > class QVectorIterator{ /* Some contents are skipped to improve readability */ private: typename QVector < T >::const_iterator i; /* ... */ }; #endif // QVECTOR_H