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