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