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