#include <QtCore/qvector.h> #ifndef QVECTOR_H template < typename T > class QVector{ /* Some contents are skipped to improve readability */ public: static class QVector < T > fromList(class QList < T > const & list); /* ... */ }; #endif // QVECTOR_H